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

Index Rebuild Question? Expand / Collapse
Author
Message
Posted Tuesday, September 18, 2012 3:36 AM
SSC-Addicted

SSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-Addicted

Group: General Forum Members
Last Login: Today @ 2:42 AM
Points: 415, Visits: 1,588
Hi All,

I am doing some R&D on Indexes.

I have a table as follows:

CREATE TABLE SINGLEINTVARCHAR
(
ID INT IDENTITY(1,1) PRIMARY KEY
,VARCHARNAME CHAR(5)
)

and i have inserted records 1790.

Now when i check the fragmentation of clustered index it is showing 50 so i have applied the REBUILD option but still it is showing 50 percent only.

Can any one tell me why i am not able to reduce this fragmentation level?



Post #1360648
Posted Tuesday, September 18, 2012 4:24 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: General Forum Members
Last Login: Today @ 11:10 AM
Points: 39,906, Visits: 36,246
Because the table's too small. The table comprises 2 pages perhaps. The general advice on where you worry about fragmentation is around 1000 pages.


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 #1360666
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse