Home » SQL Server » SQL Server 2008 || Parallel DBCC (Database Console Commands)

SQL Server 2008 || Parallel DBCC (Database Console Commands)

SQL Server 2008 Enterprise gives you the added boost to verify your data quickly and efficiently with multiprocessor support. Database console commands such as DBCC CHECKDB, DBCC CHECKFILEGROUP, and DBCC CHECKTABLE check the allocation and integrity of the database objects. In short, these commands are used to ensure that the database is free from corruption—pages are linked properly, the data is valid, and page offsets are correct. It is important to execute these checks against your healthy system to be sure that any internal database problems are corrected early, any hardware or database issues that cause corruption are detected and corrected, and that your database is responding in the appropriate manner to application requests. When you execute DBCC CHECKDB, DBCC CHECKFILEGROUP, and DBCC CHECKTABLE against a large database or table stored in the Enterprise edition of SQL Server 2008, the Database Engine may check multiple objects in parallel if system resources are available and the Database Engine deems the load would benefit from parallel processing. The query processor reevaluates and automatically adjusts parallelism with each table or batch of tables checked. Parallel DBCC should typically be left enabled, but can be disabled by using trace flag 2528.

Benefits

Checking database objects in parallel reduces maintenance and operational costs and improve database availability. Large databases may require a long maintenance window to complete validation, which can affect operations during normal business hours. By using multiple processors to complete maintenance operations, SQL Server 2008 Enterprise completes database validation more quickly, which will free up system resources and tempdb, and in some cases reduce locking during your vital production hours.


1 Comment

  1. I don’t even understand how I ended up right here, however I thought this submit was once great. I do not recognise who you are but definitely you’re going to a famous blogger if you happen to are not already. Cheers!

Leave a Reply

Join us on Facebook

microsoftcommunitycontributor
%d bloggers like this: