Introduction to Automatic Undo Management (29)

Oracle maintains information to nullify changes made to the database. Such
information consists of records of the actions of transactions, collectively known as
undo. Oracle uses the undo to do the following:
■ Rollback an active transaction
■ Recover a terminated transaction
■ Provide read consistency
■ Recovery from logical corruptions

Automatic undo management eliminates the complexities of managing rollback
segment space and lets you exert control over how long undo is retained before
being overwritten. Oracle strongly recommends that you use undo tablespaces to manage
undo rather than rollback segments. The system automatically tunes the period for
which undo is retained in the undo tablespace to satisfy queries that require undo
information. If the current undo tablespace has enough space, then you can set the
UNDO_RETENTION parameter to a low threshold value so that the system retains the
undo for at least the time specified in the parameter.

Use the V$UNDOSTAT view to monitor and configure your database system to achieve
efficient use of undo space. V$UNDOSTAT shows various undo and transaction
statistics, such as the amount of undo space consumed in the instance.

undo的作用:
1. 回滚活动的事务
2. 恢复终止的事务
3. 提供一致性读
4. Recovery from logical corruptions

Automatic Undo Management(AUM)
1. 减少管理回滚段的复杂性
2. 主要关注保留多久的回滚性息不被覆盖

主要视图:v$undostat

[@more@]

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

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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值