Link to home
Start Free TrialLog in
Avatar of Nana Hemaa
Nana HemaaFlag for United States of America

asked on

Frag levels sql 2005

Need the best script to check fragmentation levels on a SQl 2005 database.  I have picked 1 or 2 scripts online and they give me different fragmentation levels.
SOLUTION
Avatar of Rich Weissler
Rich Weissler

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The following script does not report the fragmentation, but rather reindexes/reorganizes based on the fragmentation level:
http://ola.hallengren.com/