Vous êtes sur la page 1sur 8

SEB Database

Transition –
Known Issues
Collection of known issues and their resolution

COLLECTION / VERSION 0.99 / SEPTEMBER 13, 2019


Table of Contents
Introduction .................................................................................................. 3

Common (All methods) ................................................................................ 4

ORA-00600: internal error code, arguments: [kzdlk_zt2 err], ..................................................... 4

ORA-01720: grant option does not exist for '…’ ........................................................................ 4

ATS (Schema migration) ............................................................................. 4

ORA-39126: Worker unexpected fatal error in KUPW$WORKER.STATS_LOAD [MARKER] ..... 4

ORA-25194: invalid COMPRESS prefix length value ................................................................ 5

Analyze Run: ORA-25194: ORA-01031: insufficient privileges .................................................. 5

OTS Offline Migration .................................................................................. 6

ORA-54018: A virtual column exists for this expression ............................................................ 6

ORA-20001: Invalid Extension: Not an expression ................................................................... 7

2 TUTORIAL - SEB Database Transition – Known Issues Oracle Internal Only


INTRODUCTION

Purpose of document

3 TUTORIAL - SEB Database Transition – Known Issues Oracle Internal Only


COMMON (ALL METHODS)
This section is to describe know issues which may show up for all migration methods.

ORA-00600: internal error code, arguments: [kzdlk_zt2 err],


Issue Data Pump Import abends during lookup of remote objects for recompilation.

Detail ORA-39014: One or more workers have prematurely exited.


ORA-39029: worker 2 with process name "DW01" prematurely terminated
ORA-31671: Worker process DW01 had an unhandled exception.
ORA-04045: errors during recompilation/revalidation of RPT_CONTROL.F_GET_SQL
ORA-04052: error occurred when looking up remote object SDBS.DBZTUX0@BIW
ORA-00600: internal error code, arguments: [kzdlk_zt2 err], [18446744073709550614], [], [], [], [], [], []

Environment Oracle 12.1.0.2 and higher

Solution Delete all database links and recreate using Data Pump export/import jobs. Templates should be
available in the WORK directory.

Comment This error is described in Doc ID 1905221.1, 456320.1 and 1309705.1

ORA-01720: grant option does not exist for '…’


Issue Grant on view does not succeed as grantor is missing privilege on tables referenced by the view.

Detail The required privilege on the referenced table may be granted later in the migration sequence or not
at all if it had been removed on the source database at some time after the privilege had been
granted.

Environment Any

Solution Add privilege to grantor and rerun the failing SQL script (grant_priv_objects) manually (not from within
ATS). The missing privilege is:

GRANT SELECT ANY TABLE TO <grantor> WITH ADMIN OPTION;

Comment While users are granted SELECT ANY TABLE privilege in the preparation phase (cr_pmig) they are
missing the WITH ADMIN OPTION part which is required to prevent ORA-01720.

ATS (SCHEMA MIGRATIO N)


This section is to describe known issues observed during database transitions using the schema mode of ATS.

ORA-39126: Worker unexpected fatal error in KUPW$WORKER.STATS_LOAD [MARKER]


Issue Data Pump Import abends with error messages ORA-39126, ORA-06564

Detail ORA-39126: Worker unexpected fatal error in KUPW$WORKER.STATS_LOAD [MARKER]


ORA-06564: object AMS_DUMP_000016_300017 does not exist

4 TUTORIAL - SEB Database Transition – Known Issues Oracle Internal Only


ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPW$WORKER", line 11259

Environment Oracle 12.1.0.2

Solution Add option “exclude=statistics” to the import parameter file and restart the import. Check the undo
shell script is using “/ as sysdba”.

After the import is finished collect statistics for the schema using
exec dbms_stats.gather_schema_stats('<schema>',DBMS_STATS.AUTO_SAMPLE_SIZE);

Comment This error is described in Doc ID 2277109.1

ORA-25194: invalid COMPRESS prefix length value


Issue Data Pump Import abends with error messages ORA-39083, ORA-25194

Detail Error message looks like

ORA-39083: Object type CONSTRAINT:"USR"."CONS1" failed to create with error:


ORA-25194: invalid COMPRESS prefix length value
Failing sql is:
ALTER TABLE "USR"."TAB1" ADD CONSTRAINT "CONS1" UNIQUE ("CARD_SYST",
"CARD_UNIT", "ACCT_TP", "ACCT_ID") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
COMPRESS 4 NOLOGGING …

Environment Any

Solution Remove parameter “exclude=index” from the par-file and rerun the failed import job.

Comment The schema import is excluding all indexes which are imported in the next step (index job). As the
ALTER TABLE ADD CONSTRAINT is referring to an index (USING INDEX) which does not yet exist it
will fail. You need to create the index first before you can create the constraint.

Analyze Run: ORA-25194: ORA-01031: insufficient privileges


Issue Analyze source database stuck in step 4

Detail Error message looks like

ORA-12012: error on auto execute of job "ATS_ADMIN"."ANALYSIS_000nnn_0"


ORA-01031: insufficient privileges
ORA-02063: preceding line from UZCR052C_TDRDEV
ORA-06512: at "ATS_ADMIN.REORG_ADDON", line 18598
ORA-06512: at "ATS_ADMIN.REORG", line 17063
ORA-06512: at "ATS_ADMIN.REORG", line 5591
ORA-06512: at line 1

Environment Any

Solution On source database add additional privilege to migration user ATS_MIG:

5 TUTORIAL - SEB Database Transition – Known Issues Oracle Internal Only


grant select on sys.user$ to ats_mig;

and rerun the analysis step.

Comment For unknown reason some databases require additional select privilege on sys.user$ while others do
not. As of now ATS create the migration user with a limited set of privileges only. Need to check with
development.

OTS OFFLINE MIGRATION


This section is to describe known issues observed during database transitions using the OTS offline method.

ORA-54018: A virtual column exists for this expression


Issue Index job abend with message “ORA-54018: A virtual column exists for this expression” during index
creation.

Detail Error message looks like

17:29:17 SQL> CREATE INDEX "SYSADM"."TMP1PSNAMES"


17:29:17 2 ON "SYSADM"."PS_NAMES"
17:29:17 3 (
17:29:17 4 UPPER("LAST_NAME")
17:29:17 5 ,"EMPLID"
17:29:17 6 ) NOCOMPRESS TABLESPACE PSINDEX
17:29:17 7 PCTFREE 10 INITRANS 2 MAXTRANS 255

17:29:17 9 NOLOGGING;
UPPER("LAST_NAME")
*
ERROR at line 4:
ORA-54018: A virtual column exists for this expression

Environment Any

Solution Drop extended statistics, create the index, create extended statistics and check for additional
commands in the job which are not executed due to this error.

Comment This example show how to implement the solution based on the index details above:

Check for virtual columns:


set linesize 180
col column_name form a30
col data_default for, a30
select column_name, data_default, hidden_column from dba_tab_cols where table_name =
'PS_NAMES' and owner='SYSADM';

exec dbms_stats.drop_extended_stats('SYSADM', 'PS_NAMES', '(UPPER("LAST_NAME"))');


create index “SYSADM”.”TMP1PSNAMES” ON …
select dbms_stats.create_extended_stats('SYSADM', 'PS_NAMES', '(UPPER("LAST_NAME"))') from
dual;

6 TUTORIAL - SEB Database Transition – Known Issues Oracle Internal Only


Run missing commands from failed index job:

ALTER INDEX "SYSADM"."TMP1PSNAMES" PARALLEL 1;


ALTER INDEX "SYSADM"."TMP1PSNAMES" LOGGING;.

ORA-20001: Invalid Extension: Not an expression


Issue A ctas, ctaslob or imp_dp_tab job fail with ORA-20001 during creation of extended statistics.

Detail Error message looks like

18:01:09 SQL> REM Check extended table statistics


Declare
stat_name varchar2(128);
Begin
stat_name := dbms_stats.create_extended_stats(OWNNAME => '"SYSADM"', TABNAME =>
'"PS_GP_ABS_EVENT"', EXTENSION => '("BGN_DT")');
dbms_output.put_line('Extended stat name: ''' || stat_name);
End;
/
Declare
*
ERROR at line 1:
ORA-20001: Invalid Extension: Not an expression

Environment Any

Solution For ctas and ctaslob jobs you may ignore this error as it is the last command in the job. For
imp_dp_tab jobs you must run the missing import step manually or change the job to ignore the error
and retry using the Scheduler. Otherwise the table will be created but no data imported.

Comment Currently no solution or idea how to fix this error.

7 TUTORIAL - SEB Database Transition – Known Issues Oracle Internal Only


ORACLE CORPORATION

Worldwide Headquarters
500 Oracle Parkway, Redwood Shores, CA 94065 USA

Worldwide Inquiries
TELE + 1.650.506.7000 + 1.800.ORACLE1
FAX + 1.650.506.7200
oracle.com

CONNECT W ITH US
Call +1.800.ORACLE1 or visit oracle.com. Outside North America, find your local office at oracle.com/contact.

blogs.oracle.com/oracle facebook.com/oracle twitter.com/oracle

Copyright © 2019, Oracle and/or its affiliates. All rights reserved. This document is provided for information purposes only, and the contents hereof are
subject to change without notice. This document is not warranted to be error-free, nor subject to any other warranties or conditions, whether expressed
orally or implied in law, including implied warranties and conditions of merchantability or fitness for a particular purpose. We specifically disclaim any
liability with respect to this document, and no contractual obligations are formed either directly or indirectly by this document. This document may not be
reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior written permission.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under licens e and are trademarks or
registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks
of Advanced Micro Devices. UNIX is a registered trademark of The Open Group. 0919

September 2019
Author: Wolfgang Pungartnik

Vous aimerez peut-être aussi