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

 All Forums
 Other Forums
 SQL Server 6.5 \ SQL Server 7.0
 use 'dbcc updateusage' on SQL 6.5

Author  Topic 

pberp
Starting Member

15 Posts

Posted - 2009-12-23 : 20:20:39
There is a big table named 'tbl_1'.I execute 'dbcc updateusage' on 'tbl_1' .I had waited for at leaste 40 minutes,but the staus always be 'executing',and then I clicked the cancle button.There are about 170000 rows in this table.How can I deal with this table?

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-12-23 : 22:41:06
Do you actually need to run DBCC UPDATEUSAGE? It just fixes inaccuracies in sysindexes and does not help with performance.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page

pberp
Starting Member

15 Posts

Posted - 2009-12-24 : 00:53:42
quote:
Originally posted by tkizer

Do you actually need to run DBCC UPDATEUSAGE? It just fixes inaccuracies in sysindexes and does not help with performance.



I think the database maybe has some errors because UPDATEUSAGE failed.
How can I get out the errors?
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-12-24 : 12:28:29
DBCC CHECKDB

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page
   

- Advertisement -