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
 General SQL Server Forums
 Data Corruption Issues
 DBCC CHECKTABLE
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

rob_garcia
Starting Member

1 Posts

Posted - 09/03/2007 :  19:58:44  Show Profile  Reply with Quote
I have a SQL Database (150 gb), Some table are corrupted. I ran the command DBCC CHECKTABLE for 1 table the most important table in my system, but this command delays 50 hours and still running.
Is there something I can do to do it faster?
what else can I do?

Zoroaster
Aged Yak Warrior

USA
702 Posts

Posted - 09/03/2007 :  20:02:32  Show Profile  Reply with Quote
quote:
Originally posted by rob_garcia

I have a SQL Database (150 gb), Some table are corrupted. I ran the command DBCC CHECKTABLE for 1 table the most important table in my system, but this command delays 50 hours and still running.
Is there something I can do to do it faster?
what else can I do?



What version of SQL Server? You can specify physical only which will reduce the overhead.


------------------------
Future guru in the making.
Go to Top of Page

rmiao
Flowing Fount of Yak Knowledge

USA
7266 Posts

Posted - 09/03/2007 :  21:41:12  Show Profile  Reply with Quote
Double check with 'sp_who2 active', maybe it's blocked by other processes.
Go to Top of Page

paulrandal
Yak with Vast SQL Skills

USA
899 Posts

Posted - 09/04/2007 :  02:26:24  Show Profile  Visit paulrandal's Homepage  Reply with Quote
It's probably doing a 'deep-dive' check - its found some corruption and its going back to work out exactly what the corruption is. Is there any disk/cpu activity?

Paul Randal
Managing Director, SQLskills.com
Go to Top of Page

Kristen
Test

United Kingdom
22431 Posts

Posted - 09/04/2007 :  03:59:19  Show Profile  Reply with Quote
Well, I reckon you need to get everyone off the database so you can check it, and repair it if that is appropriate.

Otherwise restore from backup.

Kristen
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