SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 Transact-SQL (2008)
 defragmentation or rebuild index
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

santhosh3477
Starting Member

2 Posts

Posted - 05/28/2012 :  07:58:56  Show Profile  Reply with Quote
I am using sql server 2008.

I am trying to reduce fragmentation and i run the query as

ALTER INDEX ALL ON [tablename] REBUILD still fragmentation remains 66.77% , the number of rows in this table are 4077.

The other tables are reducing the fragmentation to 0% while i use the same above query.

Please suggest why it is not defragmenting the indexes.

SwePeso
Patron Saint of Lost Yaks

Sweden
29156 Posts

Posted - 05/28/2012 :  08:57:58  Show Profile  Visit SwePeso's Homepage  Reply with Quote
Which specific index is not rebuilded?



N 56°04'39.26"
E 12°55'05.63"
Go to Top of Page

Sachin.Nand
Flowing Fount of Yak Knowledge

2937 Posts

Posted - 05/28/2012 :  09:33:02  Show Profile  Reply with Quote
quote:
Originally posted by santhosh3477

I am using sql server 2008.

I am trying to reduce fragmentation and i run the query as

ALTER INDEX ALL ON [tablename] REBUILD still fragmentation remains 66.77% , the number of rows in this table are 4077.

The other tables are reducing the fragmentation to 0% while i use the same above query.

Please suggest why it is not defragmenting the indexes.



How many data pages does the table have ? I wouldn't be concerned if the no of pages are not more than 1000 .

After Monday and Tuesday even the calendar says W T F ....
Go to Top of Page
  Previous Topic Topic Next Topic  
 New 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.05 seconds. Powered By: Snitz Forums 2000