sql - Select query taking much time to execute - query optimisation -


i have table called cps_case_history 1 column named 'notes' of data type varchar2 (1800 char)

i need fetch 10 15 records cps_case_history table notes 'account tfr ufss' .

i have used below 2 queries it's taking time execute, can 1 suggest way optimise below query can fetch 10 or 15 records quickly

first query :

select * cps_case_history   (dbms_lob.instr(notes, 'account tfr ufss') > 1)  

second query:

 select * cps_case_history   notes '%account tfr ufss%' 

thanks in advance.

as name suggest history table cps_case_history. may case table contain huge amount of data. getting query result fast table should have partitioning or index .


Comments

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -