Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 Index Fragmentation
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

1 Posts

Posted - 11/11/2013 :  18:41:47  Show Profile  Reply with Quote
Hello guys
I'm SQL Developer and SQL admin in my company. I'm having problem desfragmenting some index in my database and i did everything always do.
but the indexes stil have the same fragmentation over 80 percent in many cases. following some examples of what I do.
1- ALTER INDEX all ON dbo.salesorder REBUILD
When this does not solver the problem i Execute the following sentence
for evry index CREATE NONCLUSTERED INDEX IX-Index_name ON dbo.SalesOrder
-- Index field
But the fragmentation is the same
how can I reduce the fragmentation to 0 or the lower value under 30 percent. What i am doing wrong.

Almighty SQL Goddess

38200 Posts

Posted - 11/12/2013 :  12:29:56  Show Profile  Visit tkizer's Homepage  Reply with Quote
How many rows are in those tables and how many pages in the index? Some indexes can't be defragmented due to their small size.

But why does it matter if they are over 80%? Are you having a performance issue?

Tara Kizer
SQL Server MVP since 2007
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000