Viewing 5 posts - 1 through 5 (of 5 total)
No Good...
Ran:
DECLARE @indid int
SELECT @indid = indid
FROM sysindexes
WHERE id = object_id('tablename')
AND name = 'indexname'
DBCC UPDATEUSAGE ('database', 'tablename', @indid)
GO
Results:
DBCC UPDATEUSAGE: sysindexes row updated...
June 3, 2002 at 7:15 am
RESULTS:
DBCC SHOWCONTIG For table: access_log_item
DBCC SHOWCONTIG scanning 'access_log_item' table...
Table: 'access_log_item' (1746105261); index ID: 0, database ID: 7
TABLE level scan performed.
- Pages Scanned................................: 302
- Extents Scanned..............................: 65
- Extent Switches..............................: 64
- Avg....
June 3, 2002 at 7:09 am
I was sure I did, I ran:
DBCC DBREINDEX (<TABLENAME>, '', <FILL_FACTOR>)
It was my understanding that by putting the '' (Placeholder)into the spot where you specify the index, it would include...
May 31, 2002 at 3:31 pm
DBCC DBREINDEX right? I tried that and then ran:
DECLARE @idINT
SELECT @id = object_id('tablename')
DBCC SHOWCONTIG(@id)
GO
But the DBCC DBREINDEX command does not defragment. The fragmentation still exists. Any ideas?
EnoSonic
May 31, 2002 at 3:00 pm
What is the command for SQL 7.0 to defrag the indexes?
EnoSonic
May 31, 2002 at 2:34 pm
Viewing 5 posts - 1 through 5 (of 5 total)