在广泛更新期间,当事务日志变满时会发生什么?
交易是否被阻止?
答案 0 :(得分:1)
这取决于数据库上的'abort tran on log full'设置。
当然,阈值会根据它们的配置方式触发。
答案 1 :(得分:-1)
首先,日志已满的事件取决于在数据库/设备级别:
- the option "trunc log on checkpoint" or not -> perhaps the transaction log never get full because of this option and if it does this could mean that one update managed to fill the entire log before a checkpoint
- you have configured sp_thresholdaction and what action this stored procedure is doing (this SP could run a truncate command).
如果选项" abort tran on log full"对于特定数据库,该事务将被中止,否则将被阻止。