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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

No difference in the query execution time though there is huge difference in the cost

Rajan SwAug 24 2024

Hi Experts,

I have been asked to tune the query and after creating the index the explain plan shows there is significant reduction of cost, however even after creating the index the same sql is taking around same time if I execute on Sql developer.

Please help me understand how can I convince performance team if there is real improvement.

Here is the query and the tables Arpp_Decisions contain around 27M records and the query returns 20K records.

Explain plan prior to the index:

Explain plan after creating the index:

Version : Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production

Comments
Post Details
Added on Aug 24 2024
3 comments
168 views