Skip to Main Content

Oracle Database Discussions

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!

When does creating a global index become inevitable ?

C. BoutetJun 15 2020 — edited Jun 16 2020

OS : OL/RHEL/Unices

DB versions : 11.2 and above

Global indexes can go INVALID when you do maintenance activities like DROP or TRUNCATE table partitions. And then you need to rebuild it and it can take a long time if the table is huge. Because of this, people usually prefer creating local indexes.

If global index is a maintenance nightmare, and should be avoided, I am curious on what are circumstances that force DBAs to create global indexes ? i.e. When does creating a global index become inevitable ?

Is it because global indexes offer better performance than local indexes? Any other reasons ?

Comments
Post Details
Added on Jun 15 2020
4 comments
496 views