none
壓縮日誌文件後,會出現一些碎片? RRS feed

  • 问题

  • 環境SqlServer 2000 之前使用 dbcc showcontig,去檢查2個表的碎片很嚴重. 然後對該2表進行了rebuild index動作,之後發現數據庫日誌文件變大(這是正常的) 再執行了dbcc shrinkfile('logfile_logicalname',1024)壓縮日誌文件 但是再次執行dbcc showcontig的時候發現掃描密度變小了,但是不是很嚴重. 這是因為? 另外,數據庫模式是full,我有每5分鐘對數據庫進行日誌備份,按照微軟官方解釋,當備份之後,已備份的日誌空間會被重用,那麼是否可以下結論後續日誌文件不會變化太大?
    If you haven't all the things you want,be grateful for the things you don't have that you didn't want.
    2010年11月17日 1:31

答案