bonjour à tous,
je voudrai importer un dumpfile vers user(joresenergizer) que j'ai crée et à qui j'ai donner les droits et le grant.
voilà le script que j'ai fais : impdp joresenergizer/cnps directory=jorespump dumpfile=jores11.dmp LOGFILE=jores11.log
remap_schema=energizer:joresenergizer remap_tablespace=CNPS_ENERGIZER_TB:JORES_TB, SYSTEM:JORES_TB, SYSAUX:JORES_TB, UNDOTBS1:JORES_TB, USERS:JORES_TB, TEMP:JORES_TB
Sauf que ceci n'importe pas toutes les tables. il n'ya qu'une table qui est crée .
ci_dessous le message de mes 2 inerfaces:
-interface1
C:\Users\stagiaires>impdp joresenergizer/cnps directory=jorespump dumpfile=jores11.dmp LOGFILE=jores11.log remap_schema=energizer:joresenergizer
remap_tablespace=CNPS_ENERGIZER_TB:JORES_TB, SYSTEM:JORES_TB, SYSAUX:JORES_TB, UNDOTBS1:JORES_TB, USERS:JORES_TB, TEMP:JORES_TB
Import: Release 11.2.0.2.0 - Beta on Mer. Juil. 2 14:10:17 2014
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Express Edition Release 11.2.0.2.0 - Beta
Master table "JORESENERGIZER"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
Starting "JORESENERGIZER"."SYS_IMPORT_FULL_01": joresenergizer/******** directory=jorespump dumpfile=jores11.dmp LOGFILE=jores11.log remap_schem
a=energizer:joresenergizer remap_tablespace=CNPS_ENERGIZER_TB:JORES_TB, SYSTEM:JORES_TB, SYSAUX:JORES_TB, UNDOTBS1:JORES_TB, USERS:JORES_TB, TEMP
:JORES_TB
Processing object type TABLE_EXPORT/TABLE/TABLE
ORA-39083: Object type TABLE:"JORESENERGIZER"."JASSURE" failed to create with error:
ORA-00439: feature not enabled: Basic Compression
Failing sql is:
CREATE TABLE "JORESENERGIZER"."JASSURE" ("NUM_ASSU" VARCHAR2(13 CHAR) NOT NULL ENABLE, "NOM_ASSU" VARCHAR2(60 CHAR), "PRENOM_ASSU" VARCHAR2(60 CH
AR), "DATE_NAISS_ASSU" DATE, "NOM_JEUNE_FILLE_ASSU" VARCHAR2(25 CHAR), "SEXE_ASSU" VARCHAR2(1 CHAR), "CIVILITE_ASSU" VARCHAR2(5 CHAR), "TEL_ASSU"
VARCHAR2(20 CHAR), "FAX_ASSU" VARCHAR2(20 CHAR), "EMAIL_ASSU" VARCHA
ORA-39083: Object type TABLE:"JORESENERGIZER"."TCOMPTE_ASSURE" failed to create with error:
ORA-00439: feature not enabled: Basic Compression
Failing sql is:
CREATE TABLE "JORESENERGIZER"."TCOMPTE_ASSURE" ("NUMERO_DIPE" NUMBER(5,0) NOT NULL ENABLE, "NUMERO_CONTRIB" VARCHAR2(20 CHAR) DEFAULT NULL, "MOIS
_DIPE" NUMBER(2,0) NOT NULL ENABLE, "MATRICULE_EMPL" VARCHAR2(17 CHAR) NOT NULL ENABLE, "REGIME" NUMBER(1,0) NOT NULL ENABLE, "ANNEE" NUMBER(4,0)
NOT NULL ENABLE, "MATRICULE_ASS" VARCHAR2(13 BYTE) DEFAULT NU
ORA-39083: Object type TABLE:"JORESENERGIZER"."JEMPLOYEUR" failed to create with error:
ORA-00439: feature not enabled: Basic Compression
Failing sql is:
CREATE TABLE "JORESENERGIZER"."JEMPLOYEUR" ("NUM_EMPLOYEUR" VARCHAR2(17 CHAR) NOT NULL ENABLE, "RAISON_SOCIALE" VARCHAR2(200 CHAR), "SIGLE" VARCH
AR2(30 CHAR), "ADRESSE_EMPLOYEUR" VARCHAR2(100 CHAR), "BOITE_POSTALE" VARCHAR2(10 CHAR), "TEL" VARCHAR2(30 CHAR), "FAX" VARCHAR2(20 CHAR), "EMAIL
" VARCHAR2(50 CHAR), "CODE_ARROND" VARCHAR2(6 CHAR), "CODE_PAYS" V
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
. . imported "JORESENERGIZER"."JASSURE_DELETE2" 2.096 GB 8114504 rows
Processing object type TABLE_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'JSAP' does not exist
Failing sql is:
GRANT DELETE ON "JORESENERGIZER"."JASSURE_DELETE2" TO "JSAP"
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'JSAP' does not exist
Failing sql is:
GRANT INSERT ON "JORESENERGIZER"."JASSURE_DELETE2" TO "JSAP"
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'JSAP' does not exist
Failing sql is:
GRANT SELECT ON "JORESENERGIZER"."JASSURE_DELETE2" TO "JSAP"
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'JSAP' does not exist
Failing sql is:
GRANT UPDATE ON "JORESENERGIZER"."JASSURE_DELETE2" TO "JSAP"
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'JETAT' does not exist
Failing sql is:
GRANT SELECT ON "JORESENERGIZER"."JASSURE_DELETE2" TO "JETAT"
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'NDJENG' does not exist
Failing sql is:
GRANT ALTER ON "JORESENERGIZER"."JASSURE_DELETE2" TO "NDJENG"
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'NDJENG' does not exist
Failing sql is:
GRANT DELETE ON "JORESENERGIZER"."JASSURE_DELETE2" TO "NDJENG"
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'NDJENG' does not exist
Failing sql is:
GRANT INSERT ON "JORESENERGIZER"."JASSURE_DELETE2" TO "NDJENG"
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'NDJENG' does not exist
Failing sql is:
GRANT SELECT ON "JORESENERGIZER"."JASSURE_DELETE2" TO "NDJENG"
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'NDJENG' does not exist
Failing sql is:
GRANT UPDATE ON "JORESENERGIZER"."JASSURE_DELETE2" TO "NDJENG"
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'SHWKF' does not exist
Failing sql is:
GRANT SELECT ON "JORESENERGIZER"."JASSURE_DELETE2" TO "SHWKF"
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'SHCODEXIA' does not exist
Failing sql is:
GRANT SELECT ON "JORESENERGIZER"."JASSURE_DELETE2" TO "SHCODEXIA"
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'ERIC_NGAH' does not exist
Failing sql is:
GRANT INSERT ON "JORESENERGIZER"."JASSURE_DELETE2" TO "ERIC_NGAH"
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'ERIC_NGAH' does not exist
Failing sql is:
GRANT SELECT ON "JORESENERGIZER"."JASSURE_DELETE2" TO "ERIC_NGAH"
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'ERIC_NGAH' does not exist
Failing sql is:
GRANT UPDATE ON "JORESENERGIZER"."JASSURE_DELETE2" TO "ERIC_NGAH"
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'ADMIN' does not exist
Failing sql is:
GRANT SELECT ON "JORESENERGIZER"."JASSURE_DELETE2" TO "ADMIN"
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'SED' does not exist
Failing sql is:
GRANT SELECT ON "JORESENERGIZER"."JASSURE_DELETE2" TO "SED"
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'MAYANA' does not exist
Failing sql is:
GRANT INSERT ON "JORESENERGIZER"."JASSURE_DELETE2" TO "MAYANA"
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'MAYANA' does not exist
Failing sql is:
GRANT SELECT ON "JORESENERGIZER"."JASSURE_DELETE2" TO "MAYANA"
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'MAYANA' does not exist
Failing sql is:
GRANT UPDATE ON "JORESENERGIZER"."JASSURE_DELETE2" TO "MAYANA"
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'BIANG' does not exist
Failing sql is:
GRANT SELECT ON "JORESENERGIZER"."JASSURE_DELETE2" TO "BIANG"
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'TIAYA' does not exist
Failing sql is:
GRANT SELECT ON "JORESENERGIZER"."JASSURE_DELETE2" TO "TIAYA"
Processing object type TABLE_EXPORT/TABLE/INDEX/INDEX
Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Processing object type TABLE_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
ORA-39083: Object type INDEX_STATISTICS failed to create with error:
ORA-20000: INDEX "ERIC_NGAH"."CIRCUIT_DOSSIEREM_FK_IDX" does not exist or insufficient privileges
Failing sql is:
DECLARE I_N VARCHAR2(60); I_O VARCHAR2(60); NV VARCHAR2(1); c DBMS_METADATA.T_VAR_COLL; df varchar2(21) := 'YYYY-MM-DD:HH24:MI:SS'; stmt
varchar2(300) := ' INSERT INTO "SYS"."IMPDP_STATS" (type,version,flags,c1,c2,c3,c5,n1,n2,n3,n4,n5,n6,n7,n8,n9,n10,n11,n12,d1,cl1) VALUES (''I'',
6,:1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11,
ORA-39083: Object type INDEX_STATISTICS failed to create with error:
ORA-20000: INDEX "ERIC_NGAH"."JEMPLOYEUR_LIEUNAISS_IDX" does not exist or insufficient privileges
Failing sql is:
DECLARE I_N VARCHAR2(60); I_O VARCHAR2(60); NV VARCHAR2(1); c DBMS_METADATA.T_VAR_COLL; df varchar2(21) := 'YYYY-MM-DD:HH24:MI:SS'; stmt
varchar2(300) := ' INSERT INTO "SYS"."IMPDP_STATS" (type,version,flags,c1,c2,c3,c5,n1,n2,n3,n4,n5,n6,n7,n8,n9,n10,n11,n12,d1,cl1) VALUES (''I'',
6,:1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11,
ORA-39083: Object type INDEX_STATISTICS failed to create with error:
ORA-20000: INDEX "ERIC_NGAH"."FK_CODENA_JEMPLOYEUR_IDX" does not exist or insufficient privileges
Failing sql is:
DECLARE I_N VARCHAR2(60); I_O VARCHAR2(60); NV VARCHAR2(1); c DBMS_METADATA.T_VAR_COLL; df varchar2(21) := 'YYYY-MM-DD:HH24:MI:SS'; stmt
varchar2(300) := ' INSERT INTO "SYS"."IMPDP_STATS" (type,version,flags,c1,c2,c3,c5,n1,n2,n3,n4,n5,n6,n7,n8,n9,n10,n11,n12,d1,cl1) VALUES (''I'',
6,:1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11,
Processing object type TABLE_EXPORT/TABLE/COMMENT
Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
Processing object type TABLE_EXPORT/TABLE/TRIGGER
Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
Job "JORESENERGIZER"."SYS_IMPORT_FULL_01" completed with 28 error(s) at 14:12:50
C:\Users\stagiaires>
-interface2
SQL*Plus: Release 11.2.0.2.0 Beta on Mer. Juil. 2 14:13:32 2014
Copyright (c) 1982, 2010, Oracle. All rights reserved.
SQL> conn joresenergizer
Enter password:
Connected.
SQL> select table_name from user_tables;
TABLE_NAME
------------------------------
JASSURE_DELETE2
SQL> select count (*) from jassure_delete2;
COUNT(*)
----------
8114504
SQL>
vous voyez donc que toutes les tables n'ont pas été importé.
Que faire pour toutes les importer?
aidez moi SVP
Merci