Translate

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



환경: Oracle 11g Enterprise Edition Release 11.2.0.3.0


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


[id@SERVER_NAME ~]$ imp {DB_ID}/\"{DB_PW}" tables={TABLE_NAME} file=./{DATA_FILE_NAME}.dmp ignore=y
Import: Release 11.2.0.3.0 - Production on Fri Jul 22 17:47:11 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, 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 30036 encountered
ORA-30036: unable to extend segment by 8 in undo tablespace '{TABLE_SPACE_NAME}'
IMP-00028: partial import of previous table rolled back: 7963774 rows rolled back
Import terminated successfully with warnings.
[id@SERVER_NAME ~]$


1004lucifer
인터넷을 찾아보니 Undo Tablespace 가 부족해서 발생한다는 의견이 있고..
Undo Tablespace 를 늘리는 방법은 직접 해보지 않아서 어떤게 맞는지 잘 모르겠다.

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

PS.
운영서버는 Undo Tablespace 가 부족하지 않았는지 위와같은 에러가 발생하지 않았고 아래와 같이 다른 에러가 발생을 했다.

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


댓글