Oracle poorly performing SQL
I am working on a legacy system which uses Oracle database. Please don't ask me why data is stored the way it is :), there is a table ofsd_temp which has a varchar2 column entity_nums which has string type numbers separated by pipe delimiters. e.g. |432124| |12678|762333|74774| There are about 300K records in ofsd_temp table, there is another table ofdl which has 150K records, but the column type is number instead of string. The below SQL which is taking a very long time to execute, returns about 130K rows. I can't change the way data are stored, but if you have any suggestions to make it fast
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.