Translate

[Oracle] imp 수행 시 발생하는 'max # extents (32765) reached for rollback' 에러



환경: Oracle 11g Enterprise Edition Release 11.2.0.3.0


개발서버에서 imp 명령어를 이용해 데이터를 import 할 때 아래와 같은 오류가 발생했다.
1004lucifer


[id@SERVER_NAME tmp]$ imp {DB_ID}/\"{DB_PW}" tables={TABLE_NAME} file=/tmp/{DATA_FILE_NAME}.dmp ignore=y
Import: Release 11.2.0.3.0 - Production on Fri Jul 22 20:03:54 2016
Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP, Data Mining
and Real Application Testing options
Export file created by EXPORT:V11.02.00 via conventional path
import done in US7ASCII character set and AL16UTF16 NCHAR character set
import server uses AL32UTF8 character set (possible charset conversion)
. importing {DB_ID}'s objects into {DB_ID}
. importing {DB_ID}'s objects into {DB_ID}
. . importing table                "{TABLE_NAME}" 
date
top
IMP-00058: ORACLE error 1628 encountered
ORA-01628: max # extents (32765) reached for rollback {SEGMENT_NAME}
IMP-00027: failed to rollback partial import of previous table
IMP-00003: ORACLE error 1013 encountered
ORA-01013: user requested cancel of current operation
IMP-00000: Import terminated unsuccessfully
[id@SERVER_NAME tmp]$



원인을 찾아보니 해당 테이블에 인덱스가 3개가 잡혀있는데..
한번에 생성할 수 있는 인덱스 갯수를 초과해서 문제가 발생한 것으로 보인다.
(근거자료 링크는 잊어버림..ㅠ)
1004lucifer
암튼 인덱스 관련해서 수정해 주면 된다는데 그것도 관리자 권한이 있어야만 가능한 것 같아 결국 못함..


결국 import 할 데이터가 많아 발생한 에러이며, 데이터가 많지 않은 경우에는 에러가 발생하지 않았다.


PS.
개발서버에서는 Undo Tablespace 가 부족하여 위와같은 에러가 아닌 아래와 같은 에러가 발생했다.

[Oracle] imp 수행 시 발생하는 ORA-30036 에러


댓글