Link to home
Start Free TrialLog in
Avatar of dthansen
dthansen

asked on

SQL fragmentation

We have a large SQL database (grows 200gb) per month. 95% of the rows are in a single table.

This table has 1 clustered index and 5 non-clustered indices.

I am looking for recommendations on the following...

1. What is the best command to view the current fragmentation level of each index?

2. What level of fragmentation is generally considered acceptable?

3. What is the best approach to reduce fragmentation? Rebuild/ reorganize

Note: we have SQL enterprise and have maintenances windows available on the weekend.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Anthony Perkins
Anthony Perkins
Flag of United States of America image

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
Read up on "Reorganizing and Rebuilding Indexes" in SQL Server BOL.
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
That table stores historic data?
If so you should think in partitioning table.
Good luck
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