Expdp problem
Hi Gurus
I am executing expdp in table mode . table size is 80 mb. It is taking abnormal more time to complete. database 10.2.0.3 in AIX
Already 25 minutes is gone but not yet completed.
What is the reason for delayed? how to tune it?
[oracle]$ expdp ***/**@db directory=DUMP dumpfile=protocol.dmp tables=test1.PROTOCOL logfile=protolog.log
Export: Release 10.2.0.1.0 - 64bit Production on Wednesday, 15 May, 2013 19:35:46
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
Starting "SYSTEM"."SYS_EXPORT_TABLE_01": system/********@db directory=DUMP dumpfile=protocol.dmp tables=test1.PROTOCOL logfile=protolog.log
Estimate in progress using BLOCKS method...
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
Regards
Rabi
This is not statistics, so don't worry about that now. Typcally exporting statistics is fairly quick, it is the import of statistics that can be slow.
What is taking 45 minutes to complete. Are you saying the estimate phase is taking 45 minutes? Or the complete job? We need more information on what you see as the problem. Is the table partitioned? sub partitioned? Details on what this export job is expected to export would help.
Dean
Similar Messages
-
Expdp problem when executing from pl/sql transportable tablespaces
Hello
i have a very strange problem for which your assistance is really appreciated. i am applying the transportable tablespaces approach and i have a problem when executing expdp from commandline in comparison to the procedure generated to make the exact same thing.
more precisely when running:
expdp etl/etl dumpfile=TBSP090609_DMP.dmp logfile=TBSP090609_DMP.log directory=EXPDP transport_tablespaces=TBSP090609 transport_full_check=y
the dmp file produced is over 200MB.
when runng the below pl/sql code the volume produced is around 50MB. any idea what i am missing?
job_handle :=
dbms_datapump.OPEN (operation => 'EXPORT',
job_mode => 'TRANSPORTABLE',
job_name => 'export_tablespace',
VERSION => 'COMPATIBLE'
dbms_datapump.add_file (handle => job_handle,
filename => dump_file_name,
DIRECTORY => export_dir_name
dbms_datapump.set_parameter (handle => job_handle,
NAME => 'TTS_FULL_CHECK',
VALUE => 1
dbms_datapump.metadata_filter (handle => job_handle,
NAME => 'TABLESPACE_LIST',
VALUE => '('''
|| tablespace_name
|| ''')'
dbms_datapump.start_job (job_handle);thanx you for your response. the problem was eventually managed to be resolved as follows:
job_handle :=
dbms_datapump.OPEN (operation => 'EXPORT',
job_mode => 'TRANSPORTABLE',
job_name => 'export_tablespace',
VERSION => 'COMPATIBLE'
dbms_datapump.add_file (handle => job_handle,
filename => dump_file_name,
DIRECTORY => export_dir_name
dbms_datapump.set_parameter (handle => job_handle,
NAME => 'TTS_FULL_CHECK',
VALUE => 1
dbms_datapump.metadata_filter (handle => job_handle,
NAME => 'TABLESPACE_EXPR',
VALUE => 'IN('''
|| tablespace_name
|| ''')');
dbms_datapump.start_job (job_handle); -
EXPDP error - ORA-39126: Worker unexpected fatal error in KUPW$WORKER.UNLOA
Greetings All,
Oracle 11g (11.2.0.0) on Windows 2008 R2
I am getting the error below during a schema export of just 1 particular schema. Other schema expdp’s don’t encounter this problem.
Processing object type SCHEMA_EXPORT/PACKAGE/PACKAGE_BODY
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
ORA-39126: Worker unexpected fatal error in KUPW$WORKER.UNLOAD_METADATA [REF_CONSTRAINT:"CM_MASTER"."PPY_PEN_FK"]
ORA-04063: package body "XDB.DBMS_XDBUTIL_INT" has errors
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPW$WORKER", line 8165
----- PL/SQL Call Stack -----
object line object
handle number name
000000047B38A000 18990 package body SYS.KUPW$WORKER
000000047B38A000 8192 package body SYS.KUPW$WORKER
000000047B38A000 2823 package body SYS.KUPW$WORKER
000000047B38A000 8847 package body SYS.KUPW$WORKER
000000047B38A000 1649 package body SYS.KUPW$WORKER
000000047A576CD0 2 anonymous block
Job "CM_MASTER"."EXP_CM_MASTER" stopped due to fatal error at 17:11:30I have deleted the identified constraint, but then errors out again on another constraint.
I have found a tentative resolution for the ORA-39126 error (delete database stats, then gather database stats) but have not done so yet.
I have tried deleting the statistics for just the schema (cm_master), and then re-gathered stats for the same schema. Still get the error.
I am concerned about the ORA-04063: package body “XDB.DBMS_XDBUTIL_INT” has errors.
I have unlocked and set new password for the XDB user, but am not able to logon as XDB to re-compile the package body in question.
We had some maintenance applied over the weekend that “revoked execute from public” on the following packages:
dbms_datapump
dbms_crypto
dbms_crypto_toolkit
dbms_java_test
dbms_random
dbms_sql
utl_file
utl_http
utl_mail
utl_smtp
utl_tcpThe user performing the export with the problem (cm_master) was then granted execute back on the following packages:
dbms_datapump
dbms_crypto
dbms_random
dbms_sql
utl_file
utl_http
utl_mail
(not: dbms_crypto_toolkit, dbms_java_test, utl_smtp, utl_tcp,)Other schemas were granted execute on the following packages and are NOT having expdp problems:
dbms_datapump
dbms_sql
utl_file
utl_http
utl_mail
(not: dbms_crypto, dbms_crypto_toolkit, dbms_random, utl_smtp, utl_tcp )I don't think the public revokes are causing this error because the "Other schemas" do not have this error and were not specifically granted back all of the public revokes that cm_master received back.
I appreciate any suggestions.
Thanks for your time,
Bob
Edited by: Snyds on Jun 5, 2012 10:03 AMrjamya,
I checked dba_registry, all 18 rows returned are VALID.
I attempted to compile the package body identified in the error messages:
ORA-04063: package body "XDB.DBMS_XDBUTIL_INT" has errorswith
alter package xdb.dbms_xdbutil_int compile body;I got thje following results
Error starting at line 60 in command:
alter package xdb.dbms_xdbutil_int compile body
Error report:
SQL Command: package XDB.DBMS_XDBUTIL_INT
Failed: ORA-24344: success with compilation error
24344. 00000 - "success with compilation error"
*Cause: A sql/plsql compilation error occurred.
*Action: Return OCI_SUCCESS_WITH_INFO along with the error code
package XDB.DBMS_XDBUTIL_INT altered.Any other suggestions regarding how to resolve errors in the XDB.DBMS_ packages?
I also tried granting CM_MASTER execute on the packages that I revoked execute to PUBLIC on, with no effect.
I tried “exclude=REF_CONSTRAINT” on the export, the problem seemed to move to the next section:
Estimate in progress using BLOCKS method...
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 96.31 MB
Processing object type SCHEMA_EXPORT/USER
Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
Processing object type SCHEMA_EXPORT/ROLE_GRANT
Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/DB_LINK
Processing object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE
Processing object type SCHEMA_EXPORT/TABLE/TABLE
Processing object type SCHEMA_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT
Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Processing object type SCHEMA_EXPORT/TABLE/COMMENT
Processing object type SCHEMA_EXPORT/PACKAGE/PACKAGE_SPEC
Processing object type SCHEMA_EXPORT/FUNCTION/FUNCTION
Processing object type SCHEMA_EXPORT/PACKAGE/COMPILE_PACKAGE/PACKAGE_SPEC/ALTER_PACKAGE_SPEC
Processing object type SCHEMA_EXPORT/FUNCTION/ALTER_FUNCTION
Processing object type SCHEMA_EXPORT/VIEW/VIEW
Processing object type SCHEMA_EXPORT/PACKAGE/PACKAGE_BODY
ORA-39126: Worker unexpected fatal error in KUPW$WORKER.UNLOAD_METADATA [PACKAGE_BODY:"CM_MASTER"."SR_MAINTENANCE"]
ORA-04063: package body "XDB.DBMS_XDBUTIL_INT" has errors
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPW$WORKER", line 8165
----- PL/SQL Call Stack -----
object line object
handle number name
000000047B38A000 18990 package body SYS.KUPW$WORKER
000000047B38A000 8192 package body SYS.KUPW$WORKER
000000047B38A000 2823 package body SYS.KUPW$WORKER
000000047B38A000 8847 package body SYS.KUPW$WORKER
000000047B38A000 1649 package body SYS.KUPW$WORKER
000000047A576CD0 2 anonymous block
Job "CM_MASTER"."EXP_CM_MASTER" stopped due to fatal error at 19:36:23I tried the suggestion from my Google-ing, drop database statistics, then gather database statistics. No effect, same error.
I also tried granting CM_MASTER execute on the packages that I revoked execute to PUBLIC on, with no effect.
Again what seems odd is that I can export other schemas without errors.
Any other suggestions, please.
Thanks,
Bob
Edited by: Snyds on Jun 5, 2012 12:04 PM -
Problem Faced While Using The Expdp Utility in Oracle 10g
We are getting the following error while exporting the tables of a schema.
ORA-39127: unexpected error from call to export_string :=DMSYS.DBMS_DM_MODEL_EXP
.instance_info_exp('DM$P_MODEL_EXPIMP_TEMP','YEARLID',1,1,'10.01.00.03.00',newbl
ock)
ORA-06503: PL/SQL: Function returned without value
ORA-06512: at "DMSYS.DBMS_DM_MODEL_EXP", line 1061
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_METADATA", line 4995
ORA-39125: Worker unexpected fatal error in KUPW$WORKER.UNLOAD_METADATA while ca
lling DBMS_METADATA.FETCH_XML_CLOB [TABLE:"YEARLID"."CONTACTS_PGRANT_NOV22"]ORA-06502: PL/SQL: numeric or value error: invalid LOB locator specified: ORA-22
275
The table CONTACTS_PGRANT_NOV22 has got a column of type CLOB. We are exporting in the metadata only mode. Interestingly when we are exporting only this table individually, we are not getting any problem. Please suggest at the earliest.Hi,
I need to take full export of the database with out data and for all schemas. Can you tell is below syntax correct or not:
expdp system directory=DATA_PUMP dumpfile=FullDB1_Jan25_08.dmp job_name=test3 logfile=FullDB1_Jan25_08_EXPDP.log CONTENT=METADATA_ONLY full=y
if I use above syntax I am not seeing all schema names in log file during expdp as we see in exp option.
Please let me know correct syntax. -
Hi,
I started one job name expschema for expdp
I break that job and remove .dmp files.
i used STOP_JOB command.
when i tried to run job with same name it throws error.
ORA-31626: job does not exist
ORA-31633: unable to create master table "SYSTEM.EXPSCHEMA"
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPV$FT", line 871
ORA-00955: name is already used by an existing objectany one suggest me how to clear old job name
i can't use kill_job as i removed files from server
ThanksChetanS wrote:
Hi,
I started one job name expschema for expdp
I break that job and remove .dmp files.
i used STOP_JOB command.
when i tried to run job with same name it throws error.
ORA-31626: job does not exist
it seems like you encountered this error due to the next ora which is
ORA-31633: unable to create master table "SYSTEM.EXPSCHEMA"so check if you valid usage settings for that table, if table exists , etc
also
what's with the following lines, did you check that
ORA-06512: at line 95
ORA-06512: at line 871any one suggest me how to clear old job nameok
i can't use kill_job as i removed files from server
Thankscheers -
Greetings Oracle comunity, i have a a problem with an export of a full metadata database, here is the log:
Processing object type DATABASE_EXPORT/SYSTEM_PROCOBJACT/PRE_SYSTEM_ACTIONS/PROCACT_SYSTEM
ORA-39127: unexpected error from call to export_string := SYS.DBMS_SCHED_JOB_EXPORT.create_exp(94477,'1
0.02.00.04.00',newblock)
ORA-01882: timezone region not found
ORA-06512: at "SYS.DBMS_SCHED_MAIN_EXPORT", line 268
ORA-06512: at "SYS.DBMS_SCHED_JOB_EXPORT", line 14
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_METADATA", line 5038
ORA-39127: unexpected error from call to export_string := SYS.DBMS_SCHED_JOB_EXPORT.create_exp(94478,'1
0.02.00.04.00',newblock)
ORA-01882: timezone region not found
ORA-06512: at "SYS.DBMS_SCHED_MAIN_EXPORT", line 268
ORA-06512: at "SYS.DBMS_SCHED_JOB_EXPORT", line 14
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_METADATA", line 5038
ORA-39127: unexpected error from call to export_string := SYS.DBMS_SCHED_JOB_EXPORT.create_exp(94479,'1
0.02.00.04.00',newblock)
ORA-01882: timezone region not found
ORA-06512: at "SYS.DBMS_SCHED_MAIN_EXPORT", line 268
ORA-06512: at "SYS.DBMS_SCHED_JOB_EXPORT", line 14
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_METADATA", line 5038
ORA-39127: unexpected error from call to export_string := SYS.DBMS_SCHED_JOB_EXPORT.create_exp(94480,'1
0.02.00.04.00',newblock)
ORA-01882: timezone region not found
ORA-06512: at "SYS.DBMS_SCHED_MAIN_EXPORT", line 268
ORA-06512: at "SYS.DBMS_SCHED_JOB_EXPORT", line 14
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_METADATA", line 5038
ORA-39127: unexpected error from call to export_string := SYS.DBMS_SCHED_JOB_EXPORT.create_exp(104143,'
10.02.00.04.00',newblock)
ORA-01882: timezone region not found
ORA-06512: at "SYS.DBMS_SCHED_MAIN_EXPORT", line 268
ORA-06512: at "SYS.DBMS_SCHED_JOB_EXPORT", line 14
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_METADATA", line 5038
ORA-39127: unexpected error from call to export_string := SYS.DBMS_SCHED_JOB_EXPORT.create_exp(123017,'
10.02.00.04.00',newblock)
ORA-01882: timezone region not found
ORA-06512: at "SYS.DBMS_SCHED_MAIN_EXPORT", line 268
ORA-06512: at "SYS.DBMS_SCHED_JOB_EXPORT", line 14
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_METADATA", line 5038
Processing object type DATABASE_EXPORT/SYSTEM_PROCOBJACT/PROCOBJ
Processing object type DATABASE_EXPORT/SYSTEM_PROCOBJACT/POST_SYSTEM_ACTIONS/PROCACT_SYSTEM
Processing object type DATABASE_EXPORT/SCHEMA/PROCACT_SCHEMA
ORA-39127: unexpected error from call to export_string := SYS.DBMS_SCHED_JOB_EXPORT.create_exp(94477,'1
0.02.00.04.00',newblock)
ORA-01882: timezone region not found
ORA-06512: at "SYS.DBMS_SCHED_MAIN_EXPORT", line 268
ORA-06512: at "SYS.DBMS_SCHED_JOB_EXPORT", line 14
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_METADATA", line 5038
ORA-39127: unexpected error from call to export_string := SYS.DBMS_SCHED_JOB_EXPORT.create_exp(94478,'1
0.02.00.04.00',newblock)
ORA-01882: timezone region not found
ORA-06512: at "SYS.DBMS_SCHED_MAIN_EXPORT", line 268
ORA-06512: at "SYS.DBMS_SCHED_JOB_EXPORT", line 14
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_METADATA", line 5038
ORA-39127: unexpected error from call to export_string := SYS.DBMS_SCHED_JOB_EXPORT.create_exp(94479,'1
0.02.00.04.00',newblock)
ORA-01882: timezone region not found
ORA-06512: at "SYS.DBMS_SCHED_MAIN_EXPORT", line 268
ORA-06512: at "SYS.DBMS_SCHED_JOB_EXPORT", line 14
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_METADATA", line 5038
ORA-39127: unexpected error from call to export_string := SYS.DBMS_SCHED_JOB_EXPORT.create_exp(94480,'1
0.02.00.04.00',newblock)
ORA-01882: timezone region not found
ORA-06512: at "SYS.DBMS_SCHED_MAIN_EXPORT", line 268
ORA-06512: at "SYS.DBMS_SCHED_JOB_EXPORT", line 14
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_METADATA", line 5038
ORA-39127: unexpected error from call to export_string := SYS.DBMS_SCHED_JOB_EXPORT.create_exp(104143,'
10.02.00.04.00',newblock)
ORA-01882: timezone region not found
ORA-06512: at "SYS.DBMS_SCHED_MAIN_EXPORT", line 268
ORA-06512: at "SYS.DBMS_SCHED_JOB_EXPORT", line 14
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_METADATA", line 5038
ORA-39127: unexpected error from call to export_string := SYS.DBMS_SCHED_JOB_EXPORT.create_exp(123017,'
10.02.00.04.00',newblock)
ORA-01882: timezone region not found
ORA-06512: at "SYS.DBMS_SCHED_MAIN_EXPORT", line 268
ORA-06512: at "SYS.DBMS_SCHED_JOB_EXPORT", line 14
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_METADATA", line 5038
Processing object type DATABASE_EXPORT/SCHEMA/TABLE/TABLE
how you can see, the sequence of error is:
ORA-06512: at "SYS.DBMS_METADATA", line 5038
ORA-39127: unexpected error from call to export_string := SYS.DBMS_SCHED_JOB_EXPORT.create_exp(104143,'
10.02.00.04.00',newblock)
ORA-01882: timezone region not found
ORA-06512: at "SYS.DBMS_SCHED_MAIN_EXPORT", line 268
ORA-06512: at "SYS.DBMS_SCHED_JOB_EXPORT", line 14
ORA-06512: at line 1
I hope can you can help you, good bye friends!
PD: The database was upgraded from 10.2.0.2 to 10.2.0.4Hi,do you have account on metalink?
https://support.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&id=()),(page=KBNavigator&id=(bmDocID=5865329&from=BOOKMARK&bmDocTitle=ORA-01882%20IS%20ENCOUNTERED%20AFTER%20APPLYING%20DST%20PATCH%204689959&viewingMode=1143&bmDocDsrc=BUG&bmDocType=BUG))
https://support.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&id=()),(page=KBNavigator&id=(bmDocID=556318.1&from=BOOKMARK&bmDocTitle=EXP-8%20ORA-1882%20When%20Running%20Full%20Export&viewingMode=1143&bmDocDsrc=KB&bmDocType=PROBLEM)) -
Problem in Database EXPDP and IMPDP
Dear Friends
I am using Oracle 11G R2 (11.2.0.1.0) on Windows 7 Ultimate.
I have some 50 tables (along with its data) and corresponding 40 VIEWS (based on those 50 tablees) in User "SYSTEM" schema.
I want to take Export DUMP file of these 50 tables and 40 views and want create another user with another name and import all these 50+40 tables/views to that new user.
Could anyone of you please elaborate me the step by step guide to dump the data from SYSTEM USER with lots of tables and views and then import the same data to another user? is this possible
regards
Hamzathanks. I am now able to copy. here is the error i get
SQL> $ impdp asim/asim directory=datadump1 dumpfile=asim.dmp
Import: Release 11.2.0.1.0 - Production on Mon Jul 4 01:52:10 2011
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Master table "ASIM"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
Starting "ASIM"."SYS_IMPORT_FULL_01": asim/******** directory=datadump1 dumpfile=asim.dmp
Processing object type TABLE_EXPORT/TABLE/TABLE
ORA-39151: Table "SYSTEM"."PARTNERS_COMPANY" exists. All dependent metadata and data will be skipped due to table_exists_action of skip
Processing object type TABLE_EXPORT/TABLE/PRE_TABLE_ACTION
ORA-39083: Object type PRE_TABLE_ACTION failed to create with error:
ORA-06550: line 2, column 2:
PLS-00201: identifier 'SYS.DBMS_DEFER_IMPORT_INTERNAL' must be declared
ORA-06550: line 2, column 2:
PL/SQL: Statement ignored
Failing sql is:
BEGIN
SYS.DBMS_DEFER_IMPORT_INTERNAL.QUEUE_IMPORT_CHECK('ORCL','IBMPC/WIN_NT64-9.1.0');
END;
ORA-39083: Object type PRE_TABLE_ACTION failed to create with error:
ORA-06550: line 2, column 2:
PLS-00201: identifier 'SYS.DBMS_DEFER_IMPORT_INTERNAL' must be declared
ORA-06550: line 2, column 2:
PL/SQL: Statement ignored
Failing sql is:
BEGIN
SYS.DBMS_DEFER_IMPORT_INTERNAL.QUEUE_IMPORT_CHECK('ORCL','IBMPC/WIN_NT64-9.1.0');
END;
ORA-39083: Object type PRE_TABLE_ACTION failed to create with error:
ORA-06550: line 2, column 2:
PLS-00201: identifier 'SYS.DBMS_DEFER_IMPORT_INTERNAL' must be declared
ORA-06550: line 2, column 2:
PL/SQL: Statement ignored
Failing sql is:
BEGIN
SYS.DBMS_DEFER_IMPORT_INTERNAL.QUEUE_IMPORT_CHECK('ORCL','IBMPC/WIN_NT64-9.1.0');
END;
ORA-39083: Object type PRE_TABLE_ACTION failed to create with error:
ORA-06550: line 2, column 2:
PLS-00201: identifier 'SYS.DBMS_DEFER_IMPORT_INTERNAL' must be declared
ORA-06550: line 2, column 2:
PL/SQL: Statement ignored
Failing sql is:
BEGIN
SYS.DBMS_DEFER_IMPORT_INTERNAL.QUEUE_IMPORT_CHECK('ORCL','IBMPC/WIN_NT64-9.1.0');
END;
ORA-39083: Object type PRE_TABLE_ACTION failed to create with error:
ORA-06550: line 2, column 2:
PLS-00201: identifier 'SYS.DBMS_DEFER_IMPORT_INTERNAL' must be declared
ORA-06550: line 2, column 2:
PL/SQL: Statement ignored
Failing sql is:
BEGIN
SYS.DBMS_DEFER_IMPORT_INTERNAL.QUEUE_IMPORT_CHECK('ORCL','IBMPC/WIN_NT64-9.1.0');
END;
ORA-39083: Object type PRE_TABLE_ACTION failed to create with error:
ORA-06550: line 2, column 2:
PLS-00201: identifier 'SYS.DBMS_DEFER_IMPORT_INTERNAL' must be declared
ORA-06550: line 2, column 2:
PL/SQL: Statement ignored
Failing sql is:
BEGIN
SYS.DBMS_DEFER_IMPORT_INTERNAL.QUEUE_IMPORT_CHECK('ORCL','IBMPC/WIN_NT64-9.1.0');
END;
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
Job "ASIM"."SYS_IMPORT_FULL_01" completed with 7 error(s) at 01:52:18
SQL> -
Hi Experts,
I want to export all the tables from schema hr to a new user test in a same database. When i try to imp, it shows that object already exists and end up with error message.
sql>impdp directory=dumplocation dumpfile=test.dmp
Please advice me where i have done a mistake, I'm using 0racle 10g.
Thanks in advance
ShaanWell then , it seems that object with same name already exists in schema where you are importing it.
To clearify you're issue a bit more , maybe you could paste imp syntax you used and error message you are getting. -
Error using expdp on Oracle XE
Hi,
When I try and do an export in Oracle XE I get the following error:
D:\>expdp SYSTEM/vodafone SCHEMAS=XE_DATA DIRECTORY=dmpdir DUMPFILE=xedata.dmp
Export: Release 10.2.0.1.0 - Production on Thursday, 29 June, 2006 10:47:10
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Connected to: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Producti
n
ORA-39002: invalid operation
ORA-39070: Unable to open the log file.
ORA-29283: invalid file operation
ORA-06512: at "SYS.UTL_FILE", line 475
ORA-29283: invalid file operation
Any ideas??
/JohnHi guys,
The problem was that Oracle didn't have access to the directory I created. So I created a directory in the Oracle home directory and it worked..
Thanks,
John -
Error while doing an expdp on a large datafile
Hello,
I tried an export using expdp in oracle 10g express edition. It was working perfectly until when the db size reached 2.1 gb. I got the following error message:
---------------- Start of error message ----------------
Connected to: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
Starting "SERVICE_2_8"."SYS_EXPORT_SCHEMA_05": service_2_8/******** LOGFILE=3_export.log DIRECTORY=db_pump DUMPFILE=service_2_8.dmp CONTENT=all
Estimate in progress using BLOCKS method...
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
ORA-39125: Worker unexpected fatal error in KUPW$WORKER.GET_TABLE_DATA_OBJECTS while calling DBMS_METADATA.FETCH_XML_CLOB []
ORA-01116: error in opening database file 5
ORA-01110: data file 5: '/usr/lib/oracle/xe/oradata/service_3_0.dbf'
ORA-27041: unable to open file
Linux Error: 13: Permission denied
Additional information: 3
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPW$WORKER", line 6235
----- PL/SQL Call Stack -----
object line object
handle number name
0x3b3ce18c 14916 package body SYS.KUPW$WORKER
0x3b3ce18c 6300 package body SYS.KUPW$WORKER
0x3b3ce18c 9120 package body SYS.KUPW$WORKER
0x3b3ce18c 1880 package body SYS.KUPW$WORKER
0x3b3ce18c 6861 package body SYS.KUPW$WORKER
0x3b3ce18c 1262 package body SYS.KUPW$WORKER
0x3b0f9758 2 anonymous block
Job "SERVICE_2_8"."SYS_EXPORT_SCHEMA_05" stopped due to fatal error at 03:04:34
---------------- End of error message ----------------
Selinux was disabled completely and I have put the permission of 0777 to the appropriate datafile.
Still, it is not working.
Can you please tell me how to solve this problem or do you have any ideas or suggestions regarding this?Hello rgeier,
I cannot access this tablespace which is service_3_0 (2.1 gb) through a php web-application or through sqlplus. I can access a small tablespace which is service_2_8 through the web-application or through sqlplus. When I tried to access service_3_0 through sqlplus, the following error message was returned:
---------------- Start of error message ----------------
ERROR at line 1:
ORA-01116: error in opening database file 5
ORA-01110: data file 5: '/usr/lib/oracle/xe/oradata/service_3_0.dbf'
ORA-27041: unable to open file
Linux Error: 13: Permission denied
Additional information: 3
---------------- End of error message ----------------
The following are the last eset of entries in the alert_XE.log file in the bdump folder:
---------------- Start of alert log ----------------
db_recovery_file_dest_size of 40960 MB is 9.96% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup.
Wed Aug 20 05:13:59 2008
Completed: alter database open
Wed Aug 20 05:19:58 2008
Shutting down archive processes
Wed Aug 20 05:20:03 2008
ARCH shutting down
ARC2: Archival stopped
The value (30) of MAXTRANS parameter ignored.
kupprdp: master process DM00 started with pid=27, OS id=7463 to execute - SYS.KUPM$MCP.MAIN('SYS_EXPORT_SCHEMA_06', 'SERVICE_2_8', 'KUPC$C_1_20080820054031', 'KUPC$S_1_20080820054031', 0);
kupprdp: worker process DW01 started with worker id=1, pid=28, OS id=7466 to execute - SYS.KUPW$WORKER.MAIN('SYS_EXPORT_SCHEMA_06', 'SERVICE_2_8');Wed Aug 20 05:40:48 2008
The value (30) of MAXTRANS parameter ignored.
The value (30) of MAXTRANS parameter ignored.
The value (30) of MAXTRANS parameter ignored.
The value (30) of MAXTRANS parameter ignored.
The value (30) of MAXTRANS parameter ignored.
---------------- End of alert log ---------------- -
STOPPED JOBS with expdp and dbms_scheduler
Hello.
I am working with the 10g release 2 in a RAC enviroment, and i am trying to put an export job at the scheduler.
To launch the export i have make a shell script, then first exec the export process and after launch a bzip2 command to compress the resultant dmp file.
The problem is that the export process finish ok, but it don't compress the file, because the scheduler mark the job as STOPPED.
The log say:
REASON="Stop job with force called by user: 'SYS'"
and the expdp S.O process that launch the extjobo stay runing for ever, like if it was waiting for the expdp to exit and it can`t so the script never arrive to the part that compress the file.
I put the script that i make to export the schema:
#!/bin/bash
export ORACLE_HOME=/opt/oracle/product/10.2.0/db
export PATH=$PATH:$ORACLE_HOME/bin
export DIRBACK=/ORACLE/BACKUPS/BMR/Dumps
export dia=`date +%d_%m_%Y_%H_%M_%S`
export LOG=dump_backup_bmr_$dia.log
cd $DIRBACK
$ORACLE_HOME/bin/expdp userid=oracle_backup/orabck@BMR dumpfile="BMR_BMR_$dia.dmp" schemas=BMR directory=Dumps logfile=$LOG
cd $DIRBACK
/usr/bin/bzip2 -f --best ./BMR_BMR_$dia.dmp
cd $DIRBACK
/bin/mail -s "DUMP BACKUP BMR DIARIO [$dia]" [email protected] < ./dump_backup_bmr_$dia.log
I have put several cd $DIRBACK to see if it fail because the script don`t find the dmp file.
Any idea why it STOP after finish the script ?
PD: sorry for my poor english.
RegardsHi,
A stop is only done in two cases - if the user calls dbms_scheduler.stop_job or if the database is shutdown while a job is running. Make sure the database is not being shutdown while the job is running or inside of the job.
If expdp is still running then this suggests that it is hanging. One possibility for that is that expdp is generating a lot of standard error messages and hanging the job (this is a known issue in 10gR2). You can try redirecting standard output and error to files to see if this helps.
e.g.
$ORACLE_HOME/bin/expdp > /tmp/output 2> /tmp/errors
Hope this helps,
Ravi. -
Expdp error anyone have an idea on how to fix this?
I'm trying to get an export of a database that has encrypted columns. Exp really isn't a good option I'd have to unencrypt the columns first everytime.
First I create the directory D:\DPDUMP and give Everyone SERVICE and SYSTEM full rights to the directory. Oracle runs as the Local System account.
Created new user myuser that has the role DBA with EXP_FULL_DATABASE etc.
Made directory object.
CREATE DIRECTORY dpump_dir_01 AS 'D:\DPDUMP';
grant read, write on directory dpump_dir_01 to myuser;
Run expdp as myuser with following PARFILE entries just testing on the tables that are giving me problems.
DIRECTORY=dpump_dir_01
LOGFILE=Encryptest.log
DUMPFILE=Encryptest.dmp
FULL=N
encryption_password=********
TABLES=MYBANK.CARDAGREEMENT
CONTENT=ALL
get errors
ORA-39006: internal error
ORA-39213: Metadata processing is not available
I've added USERID="/ as sysdba" to the PARFILE.
I've tried it to the default DATA_PUMP_DIR after giving read write to that with the same error. expdp TABLES=MYBANK.CARDAGREEMENT.
No matter what I do I get this error. So far what I've seen is a Directory permissions issue normally causes it and granting access fixes it but I'm having no luck at all.Here the error definition message, have you try the recommanded action ?
ORA-39213: Metadata processing is not available
Cause: The Data Pump could not use the Metadata API. Typically, this is caused by the XSL stylesheets not being set up properly.
Action: Connect AS SYSDBA and execute dbms_metadata_util.load_stylesheets to reload the stylesheets.
Nicolas. -
Need Help in expdp for resolving ORA-39127: unexpected error from call
Hi All,
My Environment is -------> Oracle 11g Database Release 1 On Windows 2003 Server SP2
Requirement is ------------> Data Pump Jobs to be completed without any error message.
I am tryring to take export data pump of a schema
Command Used --> expdp schemas=scott directory=data_pump_dir dumpfile=scorr.dmp version=11.1.0.6.0
Export Log Show this details its completed with 2 error messages
Export: Release 11.1.0.6.0 - Production on Saturday, 23 April, 2011 13:31:10
Copyright (c) 2003, 2007, Oracle. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the OLAP option
FLASHBACK automatically enabled to preserve database integrity.
Starting "SYSTEM"."SYS_EXPORT_SCHEMA_01": system/******** schemas=scott directory=data_pump_dir dumpfile=scorr.dmp version=11.1.0.6.0
Estimate in progress using BLOCKS method...
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 192 KB
Processing object type SCHEMA_EXPORT/USER
Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
Processing object type SCHEMA_EXPORT/ROLE_GRANT
Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
ORA-39127: unexpected error from call to export_string :=SYS.DBMS_CUBE_EXP.schema_info_exp('SCOTT',0,1,'11.01.00.06.00',newblock)
ORA-37111: Unable to load the OLAP API sharable library: (The specified module could not be found.
ORA-06512: at "SYS.DBMS_CUBE_EXP", line 205
ORA-06512: at "SYS.DBMS_CUBE_EXP", line 280
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_METADATA", line 5980Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/TABLE/TABLE
Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
ORA-39127: unexpected error from call to export_string :=SYS.DBMS_CUBE_EXP.schema_info_exp('SCOTT',1,1,'11.01.00.06.00',newblock)
ORA-37111: Unable to load the OLAP API sharable library: (The specified module could not be found.
ORA-06512: at "SYS.DBMS_CUBE_EXP", line 205
ORA-06512: at "SYS.DBMS_CUBE_EXP", line 280
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_METADATA", line 5980
. . exported "SCOTT"."DEPT" 5.945 KB 4 rows
. . exported "SCOTT"."EMP" 8.585 KB 14 rows
. . exported "SCOTT"."SALGRADE" 5.875 KB 5 rows
. . exported "SCOTT"."ACCTYPE_GL_MAS" 0 KB 0 rows
. . exported "SCOTT"."BONUS" 0 KB 0 rows
Master table "SYSTEM"."SYS_EXPORT_SCHEMA_01" successfully loaded/unloaded
Dump file set for SYSTEM.SYS_EXPORT_SCHEMA_01 is:
D:\APP\ADMINISTRATOR\ADMIN\SIPDB\DPDUMP\SCORR.DMP
Job "SYSTEM"."SYS_EXPORT_SCHEMA_01" completed with 2 error(s) at 13:40:08
Please help me to resolve this issue.
Thank you,
ShanHi Shan,
I am getting very similar to yours
"ORA-37111: Unable to load the OLAP API sharable library: (The specified module could not be found."
error message while creating OLAP Analytic Workspace with AWM.
I am creating workspace for the first time, actually following some tutorial to get some knowledge about OLAP)
I see you managed to solve you problem.
I wonder how I can get this MOS DOC 852794.1 - is it possible to get it without going to Metalink?
Thanks in advance for any help.
Regards,
SC -
Problem importing a table with blob's
hi all, I'm facing the following situation.
Source DB : 10.2.0.3 (client's DB)
Destination DB (mine): 10.2.0.4
I've a dump file (traditional) of a particular schema.
I'm running import (imp) to import on my DB.
It runs fine until it reaches one particular table. This table has 6 colums, 3 of them are BLOB.
This table has 260000 rows (checked with export log).
When import reaches row 152352 it stops loading data, but import is still running.
what can I do to get more information from this situation in order to solve this problem?
Any suggestion will be appreciated!
Thanks in advance.Pl identify the source and target OS versions. Are there any useful messages in the alert.log ? How long did the export take ? Rule of thumb states import will take twice as long. Have you tried expdp/impdp instead ? Also see the following -
How To Diagnose And Troubleshoot Import Or Datapump Import Hung Scenarios (Doc ID 795034.1)
How To Find The Cause of a Hanging Import Session (Doc ID 184842.1)
Import is Slow or Hangs (Doc ID 1037231.6)
Export and Import of Table with LOB Columns (like CLOB and BLOB) has Slow Performance (Doc ID 281461.1)
HTH
Srini -
Problem installing additional options after upgrade to 8.1.7.4
Hi all,
the installer gives me a bit of a problem. I installed 8.1.7 without intermedia and upgraded the installation to 8.1.7.4.
Now I need to install intermedia onto the same ORACLE_HOME. I do this from the 8.1.7.0 cd-rom.
But before I can select only to install intermedia, the installer says that there is an higher version of the database installed in de ORACLE_HOME and the installer can not continue and suggests to install into a different ORACLE_HOME.
I tried to install from the 8.1.7.4 staging area, but that way one can only upgrade allready installed opptions.
The only option I have left to try is to install into a different ORACLE_HOME and manually copy everything into the exsisting ORACLE_HOME. But I'm affraid that would leave me with a buggy installation (the installer not knowing what is going on and such).
I'm sure I'm not the first to do this.
Ideas anyone?
TIA
Robin BetjesMight as well respond to my own posting, since this is still at the top of a google search for UTL_NLA invalid.
The only solution is to either use transportable tablespaces , exp/imp, or expdp/impdp to move your data over to a fresh 10.2.0.3 or 10.2.0.4 system. The problem occurs due to database originally in 32-bit mode being upgraded to 64-bit 10.2.0.3 prior to applying 10.2.0.3 patches 5892355 and 5871314. Applying these two patches after you have already upgraded it 10.2.0.3 will not help. The corruption enters during the Oracle upgrade process and once present is unfixable. We pushed oracle support for a long time but never got a workable fix.
Maybe you are looking for
-
Iphone 4 not working with iOS 6, Iphone 4 not working with iOS 6
iOS 6 is not working on my iPhone 4. When the update/restore finishes it gives me the (-1) error and cannot finish the update. Please help.
-
Report Issue - Vendor payment's according to GL Account
Hi, We want to develop a report, which shows Amount Paid to Vendor in behalf of Sub-contractor's GL Account...format like.. GL Account...............Business Area........Vendor...............Month............Amount Paid Is there any standard report,
-
Relation between PO Qty and Minimum Lot size of material master
I have maintained "100" in minimum lot size ( MRP1 View, table MARC and field BSTM) for the material. I am also succssed to create the Purchase order for 2.5 Qty for the same material. ' I wanted to know, how system is allowig to create the PO with l
-
pointer moves around the page but unable to select using the pointer.each time i had to press backspace to type something on the search box.i cannot get a dropdown box in gmail to sign out because of pointer not working properly.how do i rectify it??
-
How can I flash my Windows Mobile 6.5.3 ROM to Firefox OS?
Hello. I am the very last user running Windows Mobile 6.5.3, the old and abandoned operating system by Microsoft. As a Mozilla's enthusiast, I am really interested in using Firefox OS, however I can't find any ways to install such OS into my phone. M