Oracle Using the Undo and Redo Logfile Size Advisors

本文介绍了Oracle10g数据库中引入的一些新特性,包括UndoAdvisor用于设置撤销保留期和撤销表空间大小;RedoLogfileSizeAdvisor用于推荐最小在线重做日志文件的尺寸;RollbackMonitoring用于监控回滚操作的进度。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

 

Oracle Tips by Burleson Consulting

This is an excerpt from "Oracle 10g New Features for Administrators" by Ahmed Baraka.

Undo Advisor

The Undo Advisor helps you perform the following tasks:

o Set the undo retention period

o Set the size of the undo tablespace

To access the Undo Advisor in the Database Control:

Follow the links: Database Control home page, Administration, Undo Management button, the Undo Advisor button in the right corner.

Redo Logfile Size Advisor

The Redo Logfile Size Advisor will make recommendations about the smallest online redo log files you can use.

The Redo Logfile Size Advisor is enabled only if you set the FAST_START_MTTR_TARGET parameter.

Check the column OPTIMAL_LOGFILE_SIZE in V$INSTANCE_RECOVERY view to obtain the optimal size of the redo log file for your FAST_START_MTTR_TARGET setting.

To access the Redo Logfile Size Advisor:

1. Database Control home page, Administration, Under the Storage section, Redo Log     Groups.

2. Select any redo log group, and then choose the Sizing Advice option from the Action    drop-down list, Click Go

Rollback Monitoring

In Oracle Database 10g, when a transaction rolls back, the event is recorded in the view V$SESSION_LONGOPS, if the process takes more than six seconds. This view enables you to estimate when the monitored rollback process will finish.

SELECT TIME_REMAINING,
SOFAR/TOTALWORK*100 PCT
FROM V$SESSION_LONGOPS
WHERE SID = 9
AND OPNAME ='Transaction Rollback'

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值