undo segment behavior

在Oracle Database 10g中引入了FastRamp-Up机制,该机制旨在解决实例启动或切换撤销表空间时,系统在线撤销段数量增长所需的时间延迟问题。通过使用AWR中的历史数据来决定启动时应在线的撤销段数量,FastRamp-Up能够快速调整到合适的撤销资源级别。

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

FAQ – Automatic Undo Management (AUM) / System Managed Undo (SMU) (Doc ID 461480.1) 

 

What is the Fast Ramp-up Routine ?

The concept of Fast Ramp-Up indicates the following:

 

"In previous versions, when the instance was restarted or when you switched undo tablespaces, the ramp-up time for the system to grow the number of online undo segments could be several minutes.  Generally, this time delay was unacceptable.

 

After an instance startup or a switch of undo tablespaces in Oracle Database 10g, the database decides how many segments to place online, based on existing data stored in the the AWR.

The algorithm to compute the # of undo segments to online for "Fast Ramp Up" is:

 

Has the instance been up for more than 7 days?

    Yes- use max(maxconcurrency) from v$undostat

     No- Is this he first time this function is called? 

        Yes - Is there select_workload_repository function (SWRF) snaphot data? 

                     No- online minimal # of undo segs

                     Yes- attempt to get the max(maxconcurrency) from wrh$_undostat for the last 7 days. 

                          If we cannot find that information, attempt to get the max(rbs cnt) from wrh$_rollstat

                                  for the last 7 days.  

                  Store the value in internal variable.

          No- use an internal variable.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值