Hi, I am trying to see which heavily used database tables and indexes reside on which particular file groups to try and then get to the bottom of disk IO issues. Does anyone have a ready-made script to help? I have tried myself but my poor scripting isn't giving what I want. Ideally i'd like the following user items listed:
Table
Index type (clust, non-clust, heap if none)
Index name
Filegroup
Phyical file
Physical file logical name
Row count
Table size/index size MB
Any help appreciated