There’s been some discussion over on the SQL Server Central forums about database mirroring performance, and one question in particular on how to do index rebuilds on mirrored VLDBs. Remember that in database mirroring, the database has to be in the full recovery mode, so all index rebuilds are fully logged. It all comes down to the amount of transaction log generated and whether this causes a problem. In SS2008, the log stream compression I blogged about here should go a long way to alleviating this problem. There are three ways I can think of to reduce the amount of transaction log generated by and index maintenance plan in SS2005: For more info on database mirroring performance considerations, checkout the whitepaper Database Mirroring: Best Practices and Performance Considerations. There’s also a slide deck presentation based on this whitepaper that’s been presented at various TechEds (I did it in China and Hong Kong last year and Kimberly did it in South Africa last year) – you can download it from the Hong Kong website here. The bottom line is when mirroring is in the mix, you need to be more intentional with your database maintenance.
Black Friday Super Sale!
It’s the time of year again where companies do crazy sales on the day after Thanksgiving in the US, and we’re doing the same! Starting
2 thoughts on “More on Database Mirroring performance and index maintenance”
Thanks Paul for this article .
1 questions I have in DB mirroring
1) will Unsent log portion be in both synchronous and asynchronous mirroring modes ?
It can be in both. In synchronous mirroring, if the mirroring session becomes disconnected or suspended, the send queue will grow in the principal.