默认未修改 steam_pool_size(下限,默认为0),data pump数据泵在11g中开始Advanced Queue高级队列来控制其job作业的启动、停止和重启了。如果streams pool的当前size为0(在v$sgainfo中可以查看),那么显然无法分配到任何内存。
报错信息如下: 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
mos上相关文档: How to resolve the Data Pump error ORA-31623 (a job is not attached to this session via the specified handle) ? (文档 ID 1907256.1) Note 1080775.1 - UDE-31623 Error With DataPump Export(文档 ID 1080775.1)
解决方案: alter system set steam_pool_size=128m scope=spfile;