Oracle
오라클 expdp/impdp 사용시 중복 캐릭터셋 에러

오라클 11g에서 오라클 19c로 shcama 혹은 db를 이전시키려 합니다 (둘다 리눅스 서버).

expdp 커맨드를 통해 11g의 dump를 받으려고 하는데 아래와 같은 에러가 발생합니다.

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 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-39006: internal error
ORA-39065: unexpected master process exception in DISPATCH
ORA-00600: internal error code, arguments: [kokle_lob2lob13:input mismatch], [1], [], [], [], [], [], [], [], [], [], []

ORA-39097: Data Pump job encountered unexpected error -600

 

인터넷에 검색해보니 중복된 캐릭터 셋이 원인이 될 수 있다는 글을 발견해 아래의 코드를 구동시켜 캐릭터 셋을 확인했습니다.

 

select distinct(nls_charset_name(charsetid)) CHARACTERSET,
decode(type#, 1, decode(charsetform, 1, 'VARCHAR2', 2, 'NVARCHAR2','UNKOWN'),
9, decode(charsetform, 1, 'VARCHAR', 2, 'NCHAR VARYING', 'UNKOWN'),
96, decode(charsetform, 1, 'CHAR', 2, 'NCHAR', 'UNKOWN'),
112, decode(charsetform, 1, 'CLOB', 2, 'NCLOB', 'UNKOWN')) TYPES_USED_IN
from sys.col$ where charsetform in (1,2) and type# in (1, 9, 96, 112)
order by types_used_in;

그 결과 11g에서 아래의 값을 얻었습니다.

CHARACTERSET  TYPES_USED_IN

US7ASCII CHAR

UTF8 CHAR

US7ASCII CLOB

AL16UTF16 NCHAR

AL16UTF16 NCLOB

AL16UTF16 NVARCHAR2

US7ASCII VARCHAR2

UTF8 VARCHAR2

 

1. 여기서 11g 캐릭터 셋에 어떤 조치를 취해줘야 할까요?

2. 19c로 복원시에 문제가 없으려면 캐릭터셋에 대하여 고려해줘야 할 부분이 있을까요?

 

조언 부탁드립니다.

 

댓글 0