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
 Other Forums
 SQL Server 6.5 \ SQL Server 7.0
 use 'dbcc updateusage' on SQL 6.5
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

pberp
Starting Member

15 Posts

Posted - 12/23/2009 :  20:20:39  Show Profile  Reply with Quote
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

USA
36845 Posts

Posted - 12/23/2009 :  22:41:06  Show Profile  Visit tkizer's Homepage  Reply with Quote
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 - 12/24/2009 :  00:53:42  Show Profile  Reply with Quote
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

USA
36845 Posts

Posted - 12/24/2009 :  12:28:29  Show Profile  Visit tkizer's Homepage  Reply with Quote
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
  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.08 seconds. Powered By: Snitz Forums 2000