Database Indexes best practices?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Wednesday
Hi everyone!
Recently I've been struggling with custom table deactivation proccess.
I need to deactivate a bunch of tables it's associated fields, and one thing that got me stuck in the proccess is: what's going to happen with the associated database indexes those tables have?
There's scarse information regarding this topic. And all of the information I could find states that database index and text indexes should not be deleted, or should be performed by Hi-Support.
My question is: What's going to happen with all those database indexes once all the tables are deactivated. Will this have an impact on the instance performance?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Wednesday
If the tables are deactivated, the indexes would not be utilized. Thus they have no impact on instance performance. They would still occupy some space in the instance, but typically that is a fraction of the space taken by the table itself.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Wednesday
Hi @SrrnAlejandro ,
Please check below articles
https://www.servicenow.com/community/itsm-forum/how-do-i-remove-an-index-from-a-table/td-p/531002
Please mark my answer correct and helpful if this works for you
Thanks and Regards,
Sarthak