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

Ghost records and shrink file

$
0
0

Hi Team,

Please MS documentation states (https://msdn.microsoft.com/en-us/library/ff878253.aspx)

The DBCC SHRINKFILE operation on files containing disk-based tables might fail on the primary replica if the file contains ghost records that are still needed on a secondary replica.

It means by default shrinkfile is reliant on Ghost cleanup task and forces it to run when we shrink file/database.

Thank you very much team.


Viewing all articles
Browse latest Browse all 4689

Trending Articles



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