impdp ORA-30036: unable to extend segment by 8 in undo tablespace 'UNDOTBS1'
對 之前存在表結構的表impdp匯入 超過500G的資料時報錯:ORA-30036: unable to extend segment by 8 in undo tablespace 'UNDOTBS1'
DB Version:12.2.0.1
只好先執行Import > stop_job=immediate
檢視:
735366.1 - Run Out Of Space On Undo Tablespace Using Import/Export DataPump
727894.1 - Import Data Pump Exhausts Undo Tablespace - ORA-30036
Cause
Excess undo generation can occur when there is a Primary Key (PK) constraint present on the system.
Import datapump will perform index maintenance and this can increase undo usage especially if there is other DML occurring on the database).
Solution
Disable constraints for Primary Keys (PK) on the database during import datapump load.
This will reduce undo as index maintenance will not be performed.
用以下透過:
1、impdp先匯入資料(如果有index和約束的先drop)
1)CONTENT=METADATA_ONLY
TABLE_EXISTS_ACTION=REPLACE
EXCLUDE=CONSTRAINT
EXCLUDE=INDEX
2)CONTENT=DATA_ONLY
2、再建立索引,約束等
參考: 客戶在做impdp時,報“ORA-30036: unable to extend segment by 8 in undo tablespace 'UNDOTBS1'”_ITPUB部落格
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/25583515/viewspace-2840311/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ORA-01652: unable to extend temp segment by 128 in tablespace TEMP
- Oracle OCP(48):UNDO TABLESPACEOracle
- ORA-1653: unable to extend table by 1024 in tablespace(oracle表空間滿了的解決方案)Oracle
- 2.6.8.2 UNDO_TABLESPACE 初始化引數
- ORA-27121: unable to determine size of shared memory segment
- [20200904]12c invisible column impdp segment_column_id.txt
- ORA-30012 undo tablespace 'UNDOTBS3' does not exist or of wrong typeS3
- oracle表空間不足:ORA-01653: unable to extend tableOracle
- 【故障處理】ORA-1688: unable to extend table AUDSYS.AUD$UNIFIEDNifi
- $.extend()使用
- SCSS @extendCSS
- segment tree beats
- MySQL 5.7 InnoDB Tablespace EncryptionMySql
- Chunk Extend and OverlappingAPP
- Chunk extend OverlappingAPP
- dbv segment_id
- [Greenplum] 擴容segment
- 28、undo_1_2(undo引數、undo段、事務)
- Tablespace表空間刪除
- Oracle OCP(57):IMPDPOracle
- Innodb undo之 undo結構簡析
- 理解jquery的$.extend()jQuery
- Segment Tree(線段樹)
- MySQL undoMySql
- jquery 擴充套件方法($.fn.extend/$.extend) 自定義外掛 拖拽jQuery套件
- offline tablespace 的幾種方式 (轉)
- 【OCP最新題庫解析(052)--題8】Which two are true about undo tablespaces?
- Google I/O Extend 2018Go
- 關於_rollback_segment_count
- implementation 'com.guo.android_extend:android-extend:1.0.6'失敗解決方法Android
- Oracle Redo and UndoOracle Redo
- Innodb undo之 undo物理結構的初始化
- 2.5.5 使用自動Undo管理: 建立 Undo 表空間
- mysql5.7 General tablespace使用說明MySql
- alter tablespace ts_name autoextend_clause
- 【TABLESPACE】Oracle表空間最佳實踐Oracle
- Unable to find a specification for ''
- iOS自定義控制元件 SegmentiOS控制元件