Home » SQL Server » SQL Server 2000 || DBCC CHECKDB logs entried in T-log file

SQL Server 2000 || DBCC CHECKDB logs entried in T-log file


Issue : When running DBCC CHECKDB on SQL server 2000, We are facing t-log growth & blocking.

Cause : DBCC CHECKDB does block in 2000 and earlier. The code for DBCC in 2000 was complex since it was working against a moving target (the database being modified), so to have a consistent database to check, DBCC used the transaction log to keep track of what modifications was performed while DBCC was running. Due to this blocking cause.

DBCC CHECKDB was completely re-written in 2005. It now uses a database snapshot, hence no need to block. Thanks to Pual & Team.

About these ads

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 254 other followers

%d bloggers like this: