Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

How to identify the list of tables and indexes that frequently most fragmented Expand / Collapse
Author
Message
Posted Wednesday, August 1, 2012 11:40 AM
Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: Friday, July 25, 2014 2:47 PM
Points: 587, Visits: 1,998
Hi,

I need to plan for Index reorg/rebuild on a large database.

I do not want to do index reorg/rebuild on entire database because it is taking for ever.

And want do index reorg/rebuild for most fragmented indexes on one day and the rest the other day.

So how to identify the list of tables and indexes that frequently most fragmented?
Post #1338717
Posted Wednesday, August 1, 2012 12:16 PM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Yesterday @ 3:46 PM
Points: 42,462, Visits: 35,525
http://ola.hallengren.com/versions.html
http://sqlfool.com/2011/06/index-defrag-script-v4-1/

No need to roll your own solution.



Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #1338734
Posted Thursday, August 2, 2012 2:05 AM
SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Tuesday, July 15, 2014 7:24 AM
Points: 896, Visits: 1,846
Or you could use one of the SQL Managment tools. I have used Idera SQL DM and found it quite good. Quest & Redgate have similar tools, which although i have not used, are supposed to be pretty good.

They become very valuable when you are managing more than a handfull of servers/instances.

One thing these tools have over Ola Halegren's script is they usually have a report that shows you tables that are fragmented most often (which is what you are asking for in the thread title). Ola's script will get you the tables that are most fragmented at this particular moment, but it wont tell you that table ta_22343 or whatever spends x% of its time above 50% fragmentation.

they can be a tad pricy if budget is tight though.
Post #1338994
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse