—cleanup_rollback_entries

来源:互联网 发布:vb软件聊天机器人 编辑:程序博客网 时间:2024/06/06 12:57
—cleanup_rollback_entries

This is an integer parameter that defaults to 100. The parameter is used to specify the maximum number of undo (rollback) records to apply when performing transaction
rollback under PMON.
If the transaction rollback hits the limit then PMON aborts the recovery and signals SMON so that it can perform the recovery instead.
上海-Maclean Liu<liu.maclean@gmail.com> 16:30:12
_cleanup_rollback_entries 默认值100, 单位为undo(rollback)记录的条数, 若小于100条则 pmon负责该事务的rollback。

若事务需回滚的记录超过100条rollback record则PMON只负责清理dead session,而由SMON负责回滚dead transaction。

所以关于 到底是 PMON还是SMON做rolls back the transaction这个工作的公案,算有一个合理的结论了,如上。


1 0