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.

Do indexes on foreign key columns help even if not used?

vpolasaApr 30 2025 — edited Apr 30 2025

I have a table of 500million records. The table has few indexes on foreign key columns. I joined new to the team and asked our DBA if we can drop any of these indexes if not being used. DBA mentioned Oracle uses them for blocking contentions or updates/deletes even if they look they're not being used.

Can someone shed their thoughts on this?
Do we need to have indexes of all foreign key columns? Or is this just for the large tables? Or do we really need the indexes (even if not used)?

Using Oracle 19c Production, Windows 10

This post has been answered by stom on Apr 30 2025
Jump to Answer
Comments
Post Details
Added on Apr 30 2025
3 comments
116 views