oracle管理之 undo tablespace(server.102 b14231)
--undo作用
1、Roll back transactions when a ROLLBACK statement is issued
2、Recover the database
3、Provide read consistency
Analyze data as of an earlier point in time by using Oracle Flashback Query
4、Recover from logical corruptions using Oracle Flashback features
--init 引數
UNDO_MANAGEMENT auto/manual
UNDO_TABLESPACE undotbs_1
UNDO_RETENTION in seconds
alter tablespace *** RETENTION GUARANTEE
--Migrating to Automatic Undo Management
DECLARE
utbsiz_in_MB NUMBER;
BEGIN
utbsiz_in_MB := DBMS_UNDO_ADV.RBU_MIGRATION;
end;
/
--undo 動態效能檢視
V$UNDOSTAT
V$ROLLSTAT
V$TRANSACTION
DBA_UNDO_EXTENTS
DBA_HIST_UNDOSTAT
總結:undo tablespace建議UNDO_MANAGEMENT =auto;undo分為expired(committed),unexpired(committed),uncommited,當表空間不是自動擴充套件時,會先重用expired,然後再用unexpired,此時UNDO_RETENTION不起作用,UNDO_RETENTION只在空間充足的情況下有效。
undo表空間的大小要根據負載量和要求的UNDO_RETENTION來決定。可以根據 DBMS_UNDO_ADV的建議來確定
[@more@]來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/70612/viewspace-1024685/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle OCP(48):UNDO TABLESPACEOracle
- 2.6.8.2 UNDO_TABLESPACE 初始化引數
- ORA-30012 undo tablespace 'UNDOTBS3' does not exist or of wrong typeS3
- Oracle 12c 新特性之臨時Undo--temp_undo_enabledOracle
- Oracle Redo and UndoOracle Redo
- impdp ORA-30036: unable to extend segment by 8 in undo tablespace 'UNDOTBS1'
- 【TABLESPACE】Oracle表空間最佳實踐Oracle
- oracle undo分配規則Oracle
- oracle的redo和undoOracle
- 【TABLESPACE】Oracle 表空間結構說明Oracle
- Oracle常見UNDO等待事件Oracle事件
- 關於oracle中的undoOracle
- 【REDO】Oracle redo undo 學習Oracle Redo
- Innodb undo之 undo結構簡析
- Oracle 面試寶典-UNDO篇Oracle面試
- 2.5.5 使用自動Undo管理: 建立 Undo 表空間
- Innodb undo之 undo物理結構的初始化
- 【BUG】Oracle12c tablespace io statistics missing from awr reportOracle
- Oracle 12C R2新特性-本地UNDO模式(LOCAL_UNDO_ENABLED)Oracle模式
- 17_深入解析Oracle undo原理(1)_transactionOracle
- ORACLE線上切換undo表空間Oracle
- 【UNDO】Oracle系統回滾段說明Oracle
- 【UNDO】Oracle undo表空間使用率過高,因為一個查詢Oracle
- Oracle切換undo表空間操作步驟Oracle
- 19_深入解析Oracle undo原理(3)_ktuxe詳解OracleUX
- 20_深入解析Oracle undo原理(4)_ktuxc詳解OracleUX
- oracle中undo表空間丟失處理方法Oracle
- 18_深入解析Oracle undo原理(2)_undo表空間使用率100%問題處理Oracle
- 2.6.8 設定UNDO空間管理方法
- Oracle undo保留時間的幾個相關引數Oracle
- 一次ORACLE資料庫undo壞塊處理Oracle資料庫
- MySQL 5.7 InnoDB Tablespace EncryptionMySql
- 28、undo_1_2(undo引數、undo段、事務)
- Oracle 19c 線上縮減 UNDO 表空間 容量Oracle
- [20230227][20230109]Oracle Global Temporary Table ORA-01555 and Undo Retention.tOracle
- ORA-1653: unable to extend table by 1024 in tablespace(oracle表空間滿了的解決方案)Oracle
- [重慶思莊每日技術分享]-在自動UNDO管理情況下,如何手工增加undo段
- Tablespace表空間刪除
- Oracle 無備份情況下undo檔案損壞處理Oracle