If I need to review indexes of more than 2000 tables, where do I start given the information from the sp_spaceused command?
I’m investigating Indexes on tables, but am not quite sure what to make of the results for the IndexSize when I exec the sp_spaceused stored procedure in SQL.
Firstly, can I use the ratio between IndexSize and DataSize to make a call on wheter or not the indexes are optimal? For example, if my DataSize for a table is 31 261 768KB and the IndexSize is 41 682 120KB, I divide indexSize/DataSize *100 and get a ratio of 133. Is what I’m doing correct? If it is correct, is an IndexSize-ratio of more than 100% bad?
What would a good ratio then be?
Thanks,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ I need to add a bit more information.
The application is Microsoft Dynamics Ax 4.0. Although developers can add new indexes, system indexes can't be deleted.
We are currently in a situation where there are allot of custom-indexes which does not add any value (indexes on blank fields, indexes on amount fields, etc.). I am investigating those as part of a code cleanup process.
But because there are thousands of tables to work through I need a starting point. My first concern is identifying the custom-indexes that does not add value, and for this I thought about using the sp_spaceused procedure.