Quantcast
Channel: SQL Server High Availability and Disaster Recovery forum
Viewing all articles
Browse latest Browse all 4689

Where to run DBCC CHECKDB and INDEX REBUILD in SQL Server 2012 ?

$
0
0

Hello all!

We have recently upgraded to SQL Server 2012 with two replicas(PRIMARY and SECONDARY). As we all know that, the transactions occurring on PRIMARY replica would replicate to SECONDARY/all replicas as per the option we choose like synchronous and Asynchronous. We are good till here.

All of our backup jobs are running on Secondary replica to reduce IO/CPU consumption on PRIMARY.

Now, my concern is where to put DBCC CHECKDB and INDEX REBUILD jobs? Do we need to run these jobs on both replicas or running on primary replica is good enough. I believe, In 2012, both databases have their own databases, their own volumes etc. Only transactions can replicate.

How about the maintenance jobs I pointed out. Fixing an error on one replica could fix on others ?

Please help me in understanding this. Thanks in advance.


Viewing all articles
Browse latest Browse all 4689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>