IMPDP Fails with ORA-39083 and ORA-06502 for PASSWORD_HISTORY (Doc ID 1551778.1)

APPLIES TO:

Oracle Database - Enterprise Edition - Version 11.2.0.3 and later
Information in this document applies to any platform.

SYMPTOMS

Migrating Oracle database release 10.2.0.4.0 to 11.2.0.3.0 using Datapump export and import.

Getting errors ORA-39083 and ORA-06502 when importing into Oracle release 11.2.0.3.0:


Import: Release 11.2.0.3.0 - Production on Wed May 1 22:02:17 2013
...
Processing object type SCHEMA_EXPORT/PASSWORD_HISTORY

ORA-39083: Object type PASSWORD_HISTORY failed to create with error:
ORA-06502: PL/SQL: numeric or value error: character string buffer too small

Failing sql is:

DECLARE SUBTYPE HIST_RECORD IS SYS.DBMS_PSWMG_IMPORT.ARRAYOFHISTORYRECORDS;
HIST_REC HIST_RECORD; i number := 0; BEGIN i := i+1;   
HIST_REC(i).USERNAME := '....'; HIST_REC(i).PASSWORD := '<VALUE>';
HIST_REC(i).PASSWD_DATE := '<DATE>';
i := i+1;  HIST_REC(i).USERNAME := '...';
HIST_REC(i).PASSWORD := '21\



 

CHANGES

 

CAUSE

The errors ORA-39083 ORA-06502 occur while importing the password_history.
Import log shows import is completed successfully with object type PASSWORD_HISTORY failed to create with the errors.

There are reported incidents with similar errors that are suspended.  For example,

Bug 12334060:  IMPDP FAILS WITH ORA-39083 FOR PASSWORD_HISTORY


 

SOLUTION

Rerun the import with parameter exclude=password_history.
This will not cause any problem as the password history just has old password records.

If the workaround is not feasible or does not solve the problem then collect following additional diagnostic information for further analysis:

1. From source database, please provide a formatted output of following query:

SELECT * FROM KU$_PSW_HIST_LIST_VIEW;

2. On the target database, set the below event as sys user

alter system set events '6502 trace name errorstack level 3';

-- Rerun the import

-- Turn off the event using

alter system set events '6502 trace name errorstack off'

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值