共计 1179 个字符,预计需要花费 3 分钟才能阅读完成。
Oracle 11g 数据库在用 impdp 还原时候报错:
ORA-39171: Job is experiencing a resumable wait.
ORA-01652: unable to extend temp segment by 128 in tablespace TEMP
ORA-39171: Job is experiencing a resumable wait.
ORA-01652: unable to extend temp segment by 128 in tablespace TEMP
ORA-39171: Job is experiencing a resumable wait.
ORA-01652: unable to extend temp segment by 128 in tablespace TEMP
报错起因是 temp 空间不够,减少 temp 空间即可。
SQL> alter database tempfile ‘/data/oracle/oradata/WMSTEST/WMS_USER_TEMP.ora’ resize 25000m;
Database altered.
查看 temp 表页游空间应用状况:
SELECT D.TABLESPACE_NAME,SPACE “SUM_SPACE(M)”,BLOCKS SUM_BLOCKS,
USED_SPACE “USED_SPACE(M)”,ROUND(NVL(USED_SPACE,0)/SPACE*100,2) “USED_RATE(%)”,
NVL(FREE_SPACE,0) “FREE_SPACE(M)”
FROM
(SELECT TABLESPACwww.pizei.comE_NAME,ROUND(SUM(BYTES)/(1024*1024),2) SPACE,SUM(BLOCKS) BLOCKS
FROM DBA_TEMP_FILES
GROUP BY TABLESPACE_NAME) D,
(SELECT TABLESPACE_NAME,ROUND(SUM(BYTES_USED)/(1024*1024),2) USED_SPACE,
ROUND(SUM(BYTES_FREE)/(1024*1024),2) FREE_SPACE
FROM V$TEMP_SPACE_HEADER
GROUP BY TABLESPACE_NAME) F
WHERE D.TABLESPACE_NAME = F.TABLESPACE_NAME(+);
TABLESPACE_NAME SUM_SPACE(M) SUM_BLOCKS USED_SPACE(M) USED_RATE(%) FREE_SPACE(M)
TEMP 10000 1280000 658 6.58 9342
SEC_DEV_TEMP 0000 1280000 100 1 9900
WMS_USER_TEMP 25000 3200000 1 0 24999
WMS_DEV_TEMP 10000 1280000 1866 18.66 8134