Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

fuzzy search

SSR1234Nov 24 2014 — edited Dec 24 2014

Hi, We need to fuzzy search on table which have 20 million records and its will be growing continuosly adding 20K records each day. Our application is J2EE env where we make a jndi call to database and run the queries. Fuzzy search query what we have is the below query which search for similar EO_Short_Name like TestName and returns, as it scans entire table its taking very long time to retrieve records from 20Million TR_Details table.

SELECT tt.TRADER_D                                                                 FROM pp.TR_DETAILS TDMESSAGE                                                                    WHERE                                                                 UPPER(TDMESSAGE.EO_SHORT_NAME) LIKE '%TestName%'                             

The above  table have 20million records, and will be adding 20K records in each day. Can someone advice the approach what we can follow to resolve the above issue for big data..

thanks in advance

This post has been answered by chris227 on Dec 12 2014
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 21 2015
Added on Nov 24 2014
17 comments
3,955 views