SQL Server 2005 Transaction Log too big

后端 未结 2 1381
南旧
南旧 2021-01-19 15:54

I am running SQL Server 2005.

My db backup scheme is:
Recovery model: FULL
Backup Type: Full
Backup component: Database
Backup set will expire: after

2条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-19 16:32

    The best procedure is to regularly backup your log file. In the mean-time, for 'catastrofic' scenarios like the one you described, you may use this snippet to reduce the size of your log: http://www.snip2code.com/Snippet/12913/How-to-correctly-Shrink-Log-File-for-SQL

提交回复
热议问题