Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

PLS-00201 and ORA-01422 while doing a full import.

582007Feb 7 2008 — edited Feb 8 2008
The log of the full import shows:

Columna 22 0 0 filas importadas
IMP-00017: la siguiente sentencia ha fallado con el error 6550 de ORACLE :
"BEGIN SYS.DBMS_DEFER_IMPORT_INTERNAL.QUEUE_IMPORT_CHECK('CULT','SVR4-be-6"
"4bit-8.1.0'); END;"
IMP-00003: se ha encontrado un error 6550 de ORACLE
ORA-06550: línea 1, columna 9:
PLS-00201: el identificador 'SYS.DBMS_DEFER_IMPORT_INTERNAL' se debe declarar
ORA-06550: línea 1, columna 9:
PL/SQL: Statement ignored

.
.
.


. importando objetos de SYS en SYS
. importando objetos de SYSTEM en SYSTEM
. importando la tabla "DUAL" 1 filas importadas
IMP-00017: la siguiente sentencia ha fallado con el error 1422 de ORACLE :
"BEGIN DBMS_STATS.SET_TABLE_STATS(NULL,'"DUAL"',NULL,NULL,NULL,1,1,2,2); EN"
"D;"
IMP-00003: se ha encontrado un error 1422 de ORACLE
ORA-01422: la recuperación exacta devuelve un número mayor de filas que el solicitado
ORA-06512: en "SYS.DBMS_STATS", línea 934
ORA-06512: en "SYS.DBMS_STATS", línea 4049
ORA-06512: en línea 1
IMP-00017: la siguiente sentencia ha fallado con el error 1422 de ORACLE :
"DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := '58'; SREC.MAXVAL :="
" '58'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMAR"
"RAY(456922123551065000000000000000000000,4569221235510650000000000000000000"
"00); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STATS.SET"
"_COLUMN_STATS(NULL,'"DUAL"','"DUMMY"', NULL ,NULL,NULL,1,1,0,srec,2,2); END"
";"
IMP-00003: se ha encontrado un error 1422 de ORACLE
ORA-01422: la recuperación exacta devuelve un número mayor de filas que el solicitado
ORA-06512: en "SYS.DBMS_STATS", línea 934
ORA-06512: en "SYS.DBMS_STATS", línea 3429
ORA-06512: en línea 1


I thougth that the sys user is recreated in the full import, but I'm not sure.
I didn't do the import with the sys user. I used a less privileged user. Do I have to do the import with sys or truncate his tables, drop the statistics...?
I used ignore=Y.

Oracle: 9.2.0.6.0

Regards.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 7 2008
Added on Feb 7 2008
9 comments
2,227 views