嘗試使用data pump時出錯解決
嘗試使用data pump時出錯解決
嘗試使用data pump 的時候遇到如下錯誤。
[oracle@zeng ~]$ expdp system/zengping
Export: Release 11.2.0.1.0 - Production on Fri Mar 16 15:31:01 2012
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
UDE-31623: operation generated ORACLE error 31623
ORA-31623: a job is not attached to this session via the specified handle
ORA-06512: at "SYS.DBMS_DATAPUMP", line 3263
ORA-06512: at "SYS.DBMS_DATAPUMP", line 4488
ORA-06512: at line 1
檢視日誌資訊查詢原因。
oracle@zeng ~]$ adrci
ADRCI: Release 11.2.0.1.0 - Production on Fri Mar 16 15:32:33 2012
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
ADR base = "/opt/oracle11g"
adrci> show home
ADR Homes:
diag/tnslsnr/zeng/listener
diag/rdbms/oracl/oracl
adrci> set homepath diag/rdbms/oracl/oracl
adrci> show alert -tail 10
2012-03-16 15:31:09.836000 +08:00
Errors in file /opt/oracle11g/diag/rdbms/oracl/oracl/trace/oracl_ora_3160.trc (incident=49436):
ORA-04031: unable to allocate 32 bytes of shared memory ("streams pool","unknown object","streams pool","fixed allocation callback")
Incident details in: /opt/oracle11g/diag/rdbms/oracl/oracl/incident/incdir_49436/oracl_ora_3160_i49436.trc
2012-03-16 15:31:17.660000 +08:00
Trace dumping is performing id=[cdmp_20120316153117]
2012-03-16 15:31:20.151000 +08:00
Sweep [inc][49436]: completed
Sweep [inc2][49436]: completed
注意其中的:
ORA-04031: unable to allocate 32 bytes of shared memory ("streams pool","unknown object","streams pool","fixed allocation callback")
說不能在streams pool 中分配到32 bytes的共享記憶體,因為我streams pool設定成了0.
修改streams pool 的大小,並重啟資料庫。
SQL> alter system set streams_pool_size=20M scope=spfile;
System altered.
SQL> shutdown immediate
SQL> startup
再次嘗試使用data pump 出現下面的錯誤。
ORA-04031: unable to allocate 16 bytes of shared memory ("shared pool","select obj#,type#,ctime,mtim...","SQLA","tmp")
增大share pool 的大小。
SQL> alter system set shared_pool_size=110M;
System altered.
再次嘗試使用data dump。
[oracle@zeng ~]$ expdp system dumpfile=test.dmp
Export: Release 11.2.0.1.0 - Production on Fri Mar 16 16:33:06 2012
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Password:
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Starting "SYSTEM"."SYS_EXPORT_SCHEMA_05": system/******** dumpfile=test.dmp
Estimate in progress using BLOCKS method...
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
.
.
.
Dump file set for SYSTEM.SYS_EXPORT_SCHEMA_05 is:
/opt/oracle11g/admin/oracl/dpdump/test.dmp
Job "SYSTEM"."SYS_EXPORT_SCHEMA_05" successfully completed at 16:35:55
成功了.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26110315/viewspace-718914/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- data pump (資料抽取)測試
- Data Pump Import速度問題之解決過程Import
- npm install 安裝出錯時嘗試過的方法NPM
- 【Data Pump】Data Pump的並行引數原理並行
- oracle data pumpOracle
- 使用data pump前的設定
- 高速的匯出/匯入:Oracle Data PumpOracle
- data pump總結
- expdp impdp Data Pump(資料泵)使用解析
- Oracle Data Pump 研究(一)Oracle
- 初探data pump export (二)Export
- 初探data pump export(一)Export
- Data Pump with Network importImport
- Data Pump 的遠端匯出資料小結
- vs 嘗試執行專案時出錯:無法啟動除錯。拒絕訪問。除錯
- Data pump學習筆記筆記
- 【DG】怎麼使用Data Pump備份物理備庫
- 三個使用資料泵(Data Pump)的小技巧
- IDEA 不能正常工作的嘗試解決方向Idea
- 文件筆記--Oracle Data Pump 2筆記Oracle
- 文件筆記--Oracle Data Pump 1筆記Oracle
- 有關Data Pump的學習
- Oracle 10g Data Pump IOracle 10g
- Oracle 10g Data Pump IIOracle 10g
- Exp和資料泵(Data Pump)的query引數使用
- 使用隱含Trace引數診斷Oracle Data Pump故障Oracle
- ant構建時出現錯誤解決方案
- Oracle Golden Gate 有關Data Pump 重置 trail 序列號 測試 說明OracleGoAI
- Oracle 10g Data Pump ComponentsOracle 10g
- 10g新特性——Data Pump(轉)
- GoldenGate<二> configure data pumpGo
- 使用隱含Trace引數診斷Oracle Data Pump(expdp)故障Oracle
- python匯入dlib時出錯解決方法Python
- 使用HttpClient時出錯NoClassDefFoundErrorHTTPclientError
- Oracle Database 10g新特性-高速的匯出/匯入Data PumpOracleDatabase
- Flutter Web初嘗試以及一些問題解決FlutterWeb
- 問題解決:嘗試解決maven依賴找不到的n種姿勢Maven
- 【DG】怎麼使用Data Pump備份物理備用資料庫資料庫