Automatic Undo Retention (32)

本文介绍了Oracle Database 10g中如何自动调整回滚段保留时间参数,即undoretention周期。文章详细解释了该周期如何根据undo表空间的类型(自动扩展或固定大小)及使用情况进行调整,以确保最长的保留期同时避免空间不足的情况。

Oracle Database 10g automatically tunes a parameter called the undo retention
period.The undo retention period indicates the amount of time that must pass before old
undo information—that is, undo information for committed transactions—can be
overwritten. The database collects usage statistics and tunes the undo retention
period based on these statistics and on undo tablespace size. Provided that automatic
undo management is enabled, the database automatically tunes the undo retention
period as follows:
■ For an AUTOEXTEND undo tablespace, the database tunes the undo retention
period to be slightly longer than the longest-running query, if space allows. In
addition, when there is adequate free space, the tuned retention period does not
go below the value of the UNDO_RETENTION initialization parameter.
■ For a fixed size undo tablespace, the database tunes for the maximum possible
undo retention. This means always providing the longest possible retention
period
while avoiding out-of-space conditions and near out-of-space conditions in the
undo tablespace. The UNDO_RETENTION initialization parameter is ignored unless
retention guarantee is enabled.
■ Automatic tuning of undo retention is not supported for LOBs. The tuned
retention value for LOB columns is set to the value of the UNDO_RETENTION
parameter.
For fixed size and AUTOEXTEND undo tablespaces of equal size, depending on the
queries that you run, the tuning method used in fixed size tablespaces tends to
provide a longer retention period. This enables flashback operations to flash
back farther in time, and maximizes the amount of undo data available for
long-running queries.

1. 回滚信息保持时间 :在被覆盖之前保持的时间
2. The UNDO_RETENTION initialization parameter is ignored unless
retention guarantee is enabled. 回去看看书
3. 不支持LOB

[@more@]

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10599713/viewspace-970447/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/10599713/viewspace-970447/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值