SQL Server contraction database (10.29)

xiaoxiao2021-03-06  112

Because Coscomis's database is getting bigger, its transaction log file is getting bigger and bigger, has reached nearly 2G, and finally studied how to shrink the database today, it is very simple.

- Clear Log Dump Transaction Database name with no_log

- Truncate Transaction Log Backup Log Database Name with no_log

- Shrink Database DBCC ShrinkDatabase (Database Name)

I use DBCC ShrinkDatabase (cosComis), the execution 1.8G transaction log is 1M, huh, huh!

转载请注明原文地址:https://www.9cbs.com/read-99113.html

New Post(0)