Skip to Main Content

Database Software

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!

Schema Expdp-IMPdp , i have the below errors in my imp log

Ran GNov 23 2013 — edited Dec 13 2013

Hello All,

I am doing some exp/imp of schemas in a OBI environment and size around 300GB of each shema,  after quiet a long time.., and not sure of the imp log errors whether to ignore or rerun my import with any changes or drop schemas and reimport ......

My IMP statement is

------------------------------

impdp system/********@OBIDEV schemas=ODS,DWH,STG,GEOGRAPHY directory=dumpdir dumpfile=BI2011_SCHEMAS.dmp logfile=impBI2011_SCHEMAS.log

Errors from the imp log :

------------------------------

Processing object type SCHEMA_EXPORT/USER

ORA-31684: Object type USER:"GEOGRAPHY" already exists

ORA-31684: Object type USER:"DWH" already exists

ORA-31684: Object type USER:"STG" already exists

Processing object type SCHEMA_EXPORT/SYSTEM_GRANT

Processing object type SCHEMA_EXPORT/ROLE_GRANT

ORA-39083: Object type ROLE_GRANT failed to create with error:

ORA-01919: role 'ROLE_SRC' does not exist

Failing sql is:

GRANT "ROLE_SRC" TO "STG" WITH ADMIN OPTION

ORA-39083: Object type ROLE_GRANT failed to create with error:

ORA-01919: role 'ROLE_STG' does not exist

Failing sql is:

GRANT "ROLE_STG" TO "ODS" WITH ADMIN OPTION

Processing object type SCHEMA_EXPORT/DEFAULT_ROLE

a

--- and after some lines again the below errors, many failing sql's to created the tables ..

ORA-39083: Object type TABLE:"STG"."STG_ART_STOCK_OIG_XT" failed to create with error:

ORA-06564: object BI_SRC_FILES does not exist

Failing sql is:

CREATE TABLE "STG"."STG_ART_STOCK_OIG_XT" ("YEARWEEK" NUMBER, "ARTICLE_NUMBER" NUMBER, "BU_CODE" NUMBER, "ART_QTY_STOCK" NUMBER, "PM_CODE" VARCHAR2(10 BYTE)) ORGANIZATION EXTERNAL ( TYPE ORACLE_LOADER DEFAULT DIRECTORY "BI_SRC_FILES" ACCESS PARAMETERS ( RECORDS DELIMITED BY NEWLINE CHARACTERSET WE8MSWIN1252 STRING SIZES ARE IN BYTES BADFILE 'ART_STOCK_OIG.bad'

ORA-39083: Object type TABLE:"STG"."STG_ART_STOCK_INGKA_XT" failed to create with error:

ORA-06564: object BI_SRC_FILES does not exist

ORA-39083: Object type TABLE:"STG"."STG_ART_PMCODE_INGKA_XT" failed to create with error:

ORA-06564: object BI_SRC_FILES does not exist

Failing sql is:

CREATE TABLE "STG"."STG_IFPM_XT" ("YEAR" VARCHAR2(255 BYTE), "TERTIAL" VARCHAR2(255 BYTE), "YW" VARCHAR2(255 BYTE), "STORE_NAME" VARCHAR2(255 BYTE), "BUDGET" VARCHAR2(255 BYTE), "ACTUAL_SALES" VARCHAR2(255 BYTE), "CUSTOMERS" VARCHAR2(255 BYTE), "VISITORS" VARCHAR2(255 BYTE), "REST_SALES" VARCHAR2(255 BYTE), "EXIT_CAFE_SALES" VARCHAR2(255 BYTE), "SWE_FOOD_SALES" VARCHAR2

ORA-39083: Object type TABLE:"STG"."HFB_PA_EXT" failed to create with error:

ORA-06564: object TEMP does not exist

Failing sql is:

CREATE TABLE "STG"."HFB_PA_EXT" ("HFB_ID" NUMBER, "HFB_DESC" VARCHAR2(100 BYTE), "RA_ID" NUMBER, "RA_DESCR" VARCHAR2(100 BYTE), "PA_ID" NUMBER, "PA_DESCR" VARCHAR2(100 BYTE)) ORGANIZATION EXTERNAL ( TYPE ORACLE_LOADER DEFAULT DIRECTORY "TEMP" ACCESS PARAMETERS ( records delimited  by newline

    skip 1

    fields  terminated by ','

    missing field values are null

      ) LOCAT

ORA-39151: Table "GEOGRAPHY"."CAHC" exists. All dependent metadata and data will be skipped due to table_exists_action of skip

Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA

. . imported "ODS"."ZZ_ODS_ART_STOCK_T"                  26.81 GB 321434766 rows

imported "ODS"."ODS_PM_CODE_T":"SYS_P15548"          259.4 MB 3418214 rows  (are the sys tables effected here)

Then the rows started importing ....

Share all the possible ways to avoid the above all errors in the imp log as it has to be shared with the client ,    Thanks for the swif response and help in advance.

Regards,

RanG

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 10 2014
Added on Nov 23 2013
12 comments
8,196 views