Sizing an UNDO tablespace
来源:互联网 发布:下载word办公软件 编辑:程序博客网 时间:2024/05/05 20:07
The formula shown here calculates the optimal size for an undo tablespace using the following variables:
UR-the undo retention period expressed in seconds
UPS-the number of undo blocks generated per second
DBS-the size of data blocks
Undospace=[UR*(UPS*DBS)]+(DBS*24)
UR can be found from undo_retention parameter
DBS can be found from db_block_size parameter
UPS can be found from v$undostat view, which capture the statistics data of undo tablespace over 10 minutes period. The begin_time and end_time are always in 10 minutes interval, except the first record, which is the current state.
The following SQL can be used to find UPS
select sum(undoblks)/sum((24*3600*(end_time - begin_time))) UPS from v$undostat
The formula can be done with one SQL:
select
((UR*(UPS*DBS))+(DBS*24))/(1024*1024) SIZE_AS_MEGABYTESfrom
(select
(select
(select value as ur from v$parameter where name = 'undo_retention'), value as dbs from v$parameter where name = 'db_block_size'), sum(undoblks)/sum((24*3600*(end_time - begin_time))) ups from v$undostat)To get good result, that must be done when you database has heaviest workload. And also it should be adjusted frequently.
- Sizing an UNDO tablespace
- UNDO Tablespace
- undo tablespace
- UNDO TABLESPACE
- undo tablespace介绍
- undo tablespace介绍
- Managing the Undo Tablespace
- Tuning Undo Tablespace
- Undo Tablespace 切换注意事项
- 管理undo tablespace
- undo tablespace management
- UNDO TABLESPACE 大小设置
- Oracle UNDO tablespace
- 1.View the Exhibit and examine the attributes of an undo tablespace.
- Undo TableSpace ②.回滚段研究
- Undo TableSpace ①.管理方法
- about Undo Tablespace used High ?
- 【转】Undo Tablespace 切换注意事项
- Google 推出代码搜索
- addoneii code..................................................
- c programming language learn notes 11
- spring关于web开发时xml文件的配置疑惑
- Oracle Read Consistency
- Sizing an UNDO tablespace
- Oracle pseudo column RowID
- 几种Apache CGI模块性能简单分析比较
- 关于MS SQL Server中DATETIME类型数据的处理
- 如何使刷新时画面不闪烁
- Javascript 插入 UBB标签 到表单 文本域 函数 及演示 By shawl.qiu
- 在进行Forms身份验证时如何将此信息映射到GenericPrincipal 和 FormsIdentity 对象?
- Reserved words comparision
- 精确到1ms的定时器