Hi Guys,
I have a column customer_id for the bank .This customer_id is NVARCHAR2(32) datatype.The customer id is nothing but the combination of two ids one is the control no and another is the customer no .So for the small bank the control no which is initiall 20 characters are same allmost for all the customer ids.So under the load Oracle optimizer is not using the index instead going for the full table scan which for handful no of users load the cpu consumption is going very high.
So it it possible to have any effective methods to handle this situation with out splitting the column into two like control no and cusotmer id
We have the following options ,Please let me know if any body have any information regarding these below
Is there any option in Oracle to be set so that the optimizer will consider and use the index even if the first 20 characters are same
can any body see the improvement if the datatype is changed from nvarchar to nchar and the index is rebuilt
Please provide me some ideas.
I am using Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit ProductionÂ
Regards,
Papi