May 12, 2004 at 4:59 am
After DBCC DBReindex ('ChgAttrHistoryHistoryDetails') , dbcc updateusage and sp_updatestats DBCC Showcontig still says extendfragmentation 50% for the clustering index ??
Should I be worried ?
DBCC SHOWCONTIG ( 1772637458 ) WITH TABLERESULTS , ALL_INDEXES
go
IndexName | IndexId | Level | Pages | Rows |
ChgAttrHistoryHis1 | 1 | 0 | 24381 | 3022677 |
ChgAttrHisto823 | 2 | 0 | 17176 | 3022677 |
ScanDensity
99.122807017543863
99.260969976905315
LogicalFragmentation | ExtentFragmentation |
6,16 | 50,56 |
3,59 | 66,94 |
DDL :
CREATE TABLE [ChgAttrHistoryHistoryDetails] (
[ChgAttrHistoryId] [char] (16) NOT NULL ,
[FieldId] [int] NOT NULL ,
[Sequence] [int] NOT NULL ,
[HistoryDetailsId] [char] (16) NULL ,
[HistoryDetailsId_1] [char] (16) NULL ,
CONSTRAINT [ChgAttrHisto823] PRIMARY KEY NONCLUSTERED
(
[ChgAttrHistoryId],
[FieldId],
[Sequence]
  ON [PRIMARY]
) ON [PRIMARY]
GO
CREATE CLUSTERED INDEX [ChgAttrHistoryHis1] ON [ChgAttrHistoryHistoryDetails]([HistoryDetailsId]) ON [PRIMARY]
GO
Johan
Learn to play, play to learn !
Dont drive faster than your guardian angel can fly ...
but keeping both feet on the ground wont get you anywhere :w00t:
- How to post Performance Problems
- How to post data/code to get the best help[/url]
- How to prevent a sore throat after hours of presenting ppt
press F1 for solution, press shift+F1 for urgent solution 😀
Need a bit of Powershell? How about this
Who am I ? Sometimes this is me but most of the time this is me
May 13, 2004 at 6:28 am
you didn't specify the FILLFACTOR option while you do the DBCC DBREINDEX; so, may be, it takes the last fillfactor used and it can be 50 percent...
Maj
May 13, 2004 at 6:37 am
thanks for the reply.
fillfactor is default
(sql2k sp3a)
avgFreebytes = 38
I guess having near 100% pagedensity and near 100% ScanDensity the extendfrag maybe does not matter.
Johan
Learn to play, play to learn !
Dont drive faster than your guardian angel can fly ...
but keeping both feet on the ground wont get you anywhere :w00t:
- How to post Performance Problems
- How to post data/code to get the best help[/url]
- How to prevent a sore throat after hours of presenting ppt
press F1 for solution, press shift+F1 for urgent solution 😀
Need a bit of Powershell? How about this
Who am I ? Sometimes this is me but most of the time this is me
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply