SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


How disable DBCC CHEKCDB command


How disable DBCC CHEKCDB command

Author
Message
rao2506
rao2506
Grasshopper
Grasshopper (15 reputation)Grasshopper (15 reputation)Grasshopper (15 reputation)Grasshopper (15 reputation)Grasshopper (15 reputation)Grasshopper (15 reputation)Grasshopper (15 reputation)Grasshopper (15 reputation)

Group: General Forum Members
Points: 15 Visits: 339
Hi,

I had the same issue, all my error log was with the message:

starting up databases xxx checkdb for database xxx finished without errors

Below forum has helped me:

http://social.msdn.microsoft.com/Forums/sqlserver/en-US/61492307-1849-4a07-ad80-0499a5e5425f/checkdb-running-constatly?forum=sqldatabaseengine

Just set the database options of Auto_Close to false.

Cheers...!!
Nadrek
Nadrek
SSCarpal Tunnel
SSCarpal Tunnel (4.6K reputation)SSCarpal Tunnel (4.6K reputation)SSCarpal Tunnel (4.6K reputation)SSCarpal Tunnel (4.6K reputation)SSCarpal Tunnel (4.6K reputation)SSCarpal Tunnel (4.6K reputation)SSCarpal Tunnel (4.6K reputation)SSCarpal Tunnel (4.6K reputation)

Group: General Forum Members
Points: 4614 Visits: 2741
GilaMonster (8/28/2012)
eric.lyons (8/28/2012)


Old databases -- has no activity


Doesn't mean they can't be corrupted due to an IO subsystem glitch. It you absolutely don't care about them at all, fine. If you use them at all, they should still get consistency checks every now and again.


I'd have to agree, and say that I would either schedule regular CHECKDB runs, or drop the databases entirely. If the data doesn't matter, then drop it. If you can't drop it, then it does matter, and you should run CHECKDB regularly to spot errors.

And yes, I've seen one system where a hard drive had failed silently, and no errors appeared. Then another drive failed catastrophically, and all the errors came to light (RAID5) as actually corrupt data.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search