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

Reindexing on 2012 Availability groups

$
0
0

We have databases setup in availability group, recently we had to do an rebuild few indexes as they were fragmented.  The index size was 12GB+. Rebuilding index started to consume more log space, I increased the disk space about nearly 50GB and still it was not completed. I understand the log will grow during rebuild of indexes, these changes are hardened on the secondary replica database.I saw blocking issues with HADR_COMMIT_SYNC wait type. Are there any guidelines of rebuilding indexes in the availability group?

Using Online option to rebuild the index

Viewing all articles
Browse latest Browse all 4689

Trending Articles



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