sql> show parameter undoNAME &
sql> show parameter undo
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
undo_management string AUTO
undo_retention integer 900
undo_tablespace string UNDOTBS1
SQL> alter system set undo_retention=1800 scope=both
SQL> show parameter undo
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
undo_management string AUTO
undo_retention integer 1800
undo_tablespace string UNDOTBS1
SQL> select sum(d.bytes) "undo" from v$datafile d , v$tablespace t , dba_tablespaces s where s.contents = 'UNDO' and s.status = 'ONLINE' and t.name = s.tablespace_name and d.ts# = t.ts#;
undo
----------
31457280
SQL> select max(undoblks/((end_time-begin_time)*3600*24)) "UNDO_BLOCK_PER_SEC" from v$undostat;
UNDO_BLOCK_PER_SEC
------------------
2.90217391
--结束END--
本文标题: 确定最优的撤销保留时间 undo_rentention
本文链接: https://www.lsjlt.com/news/40550.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
下载Word文档到电脑,方便收藏和打印~
2024-05-16
2024-05-16
2024-05-16
2024-05-15
2024-05-15
2024-05-15
2024-05-15
2024-05-15
2024-05-15
2024-05-15
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0