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.