Customer centre search taking long time while searching from account number

Problem Description : 
We observed that customer centre is taking long  time to search when we put account number .
Usually it takes 4-5 minutes to give the search results.

Solution offered :
We tried to capture sql being fired from OOTB search of customer centre  :

Sql text : select  distinct  account_no, poid_DB, poid_ID0, poid_TYPE, poid_REV, brand_obj_DB, brand_obj_ID0, brand_obj_TYPE, brand_obj_REV
from account_t   where lower( account_t.account_no ) = :1



  •  We tried making some changes in query by removing lower function on account_no field and cost reduced enormously.Now the search if producing output in less 5-6 seconds.
  • The best option here is to create function based index on the column account_id so that it can perform Index scan. 


Comments

Popular posts from this blog

cm core dump analysis

NO_RESPONSE file handling during rating in ECE and OCOMC

Script to create snapshot in Oracle ECE