oracle query running slow [message #420073] |
Wed, 26 August 2009 23:10 |
rareraja
Messages: 22 Registered: March 2005 Location: NJ, USA
|
Junior Member |
|
|
I have a table named customer which has 10k rows in both oracle 9i and 11G.
The below query when I run in 9i, it executes in much lesser time as compared to 11g.
select * from customer this_ where this_.first_name like '%WORLDFORME' and this_.last_name like '%RAJ'
Time taken in oracle 9i : 2.071 sec
Time taken in oracle 11G : 52.915 sec
can anyone tell me why that much difference in execution time ?
what are the possible causes for this difference ?
Any help would be appreciated.
Thanks in advance.
|
|
|
|
|