Question

Oracle expdp REF_CONSTRAINT

Asked by: Geert_Gruwez

I have a oracle 10g database
i want to run a full export

i used this in batch:
expdp dbadm/ora920@m08u_upg FULL=Y CONTENT=ALL DUMPFILE=dpump1:exp.m08uupg.dmp LOGFILE=dpump1:exp.m08uupg.log

the process starts and runs for a while (see code)
and stops on Processing object type DATABASE_EXPORT/SCHEMA/TABLE/CONSTRAINT/REF_CONSTRAINT
I know it should still export triggers and it doesn't ...

then i go look in the table sys_export_full_01


what exactly would i be looking for to detect what's causing my export to fail ?

D:\exp>expdp dbadm/ora920@m08u_upg FULL=Y CONTENT=ALL DUMPFILE=dpump1:exp.m08uup
g.dmp LOGFILE=dpump1:exp.m08uupg.log
 
Export: Release 10.2.0.3.0 - Production on Wednesday, 19 August, 2009 14:49:47
 
Copyright (c) 2003, 2005, Oracle.  All rights reserved.
 
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Produc
tion
With the Partitioning, OLAP and Data Mining options
Starting "DBADM"."SYS_EXPORT_FULL_01":  dbadm/********@m08u_upg FULL=Y CONTENT=A
LL DUMPFILE=dpump1:exp.m08uupg.dmp LOGFILE=dpump1:exp.m08uupg.log
Estimate in progress using BLOCKS method...
Processing object type DATABASE_EXPORT/SCHEMA/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 429.8 MB
Processing object type DATABASE_EXPORT/TABLESPACE
Processing object type DATABASE_EXPORT/SYS_USER/USER
Processing object type DATABASE_EXPORT/SCHEMA/USER
Processing object type DATABASE_EXPORT/ROLE
Processing object type DATABASE_EXPORT/GRANT/SYSTEM_GRANT/PROC_SYSTEM_GRANT
Processing object type DATABASE_EXPORT/SCHEMA/GRANT/SYSTEM_GRANT
Processing object type DATABASE_EXPORT/SCHEMA/ROLE_GRANT
Processing object type DATABASE_EXPORT/SCHEMA/DEFAULT_ROLE
Processing object type DATABASE_EXPORT/SCHEMA/TABLESPACE_QUOTA
Processing object type DATABASE_EXPORT/RESOURCE_COST
Processing object type DATABASE_EXPORT/SCHEMA/DB_LINK
Processing object type DATABASE_EXPORT/TRUSTED_DB_LINK
Processing object type DATABASE_EXPORT/SCHEMA/SEQUENCE/SEQUENCE
Processing object type DATABASE_EXPORT/SCHEMA/SEQUENCE/GRANT/OWNER_GRANT/OBJECT_
GRANT
Processing object type DATABASE_EXPORT/DIRECTORY/DIRECTORY
Processing object type DATABASE_EXPORT/DIRECTORY/GRANT/OWNER_GRANT/OBJECT_GRANT
Processing object type DATABASE_EXPORT/CONTEXT
Processing object type DATABASE_EXPORT/SCHEMA/PUBLIC_SYNONYM/SYNONYM
Processing object type DATABASE_EXPORT/SCHEMA/SYNONYM
Processing object type DATABASE_EXPORT/SCHEMA/TYPE/TYPE_SPEC
Processing object type DATABASE_EXPORT/SYSTEM_PROCOBJACT/PRE_SYSTEM_ACTIONS/PROC
ACT_SYSTEM
Processing object type DATABASE_EXPORT/SYSTEM_PROCOBJACT/POST_SYSTEM_ACTIONS/PRO
CACT_SYSTEM
Processing object type DATABASE_EXPORT/SCHEMA/PROCACT_SCHEMA
Processing object type DATABASE_EXPORT/SCHEMA/TABLE/TABLE
Processing object type DATABASE_EXPORT/SCHEMA/TABLE/PRE_TABLE_ACTION
Processing object type DATABASE_EXPORT/SCHEMA/TABLE/GRANT/OWNER_GRANT/OBJECT_GRA
NT
Processing object type DATABASE_EXPORT/SCHEMA/TABLE/GRANT/CROSS_SCHEMA/OBJECT_GR
ANT
Processing object type DATABASE_EXPORT/SCHEMA/TABLE/INDEX/INDEX
Processing object type DATABASE_EXPORT/SCHEMA/TABLE/CONSTRAINT/CONSTRAINT
Processing object type DATABASE_EXPORT/SCHEMA/TABLE/INDEX/STATISTICS/INDEX_STATI
STICS
Processing object type DATABASE_EXPORT/SCHEMA/TABLE/COMMENT
Processing object type DATABASE_EXPORT/SCHEMA/PACKAGE/PACKAGE_SPEC
Processing object type DATABASE_EXPORT/SCHEMA/PACKAGE/GRANT/OWNER_GRANT/OBJECT_G
RANT
Processing object type DATABASE_EXPORT/SCHEMA/FUNCTION/FUNCTION
Processing object type DATABASE_EXPORT/SCHEMA/FUNCTION/GRANT/OWNER_GRANT/OBJECT_
GRANT
Processing object type DATABASE_EXPORT/SCHEMA/PROCEDURE/PROCEDURE
Processing object type DATABASE_EXPORT/SCHEMA/PROCEDURE/GRANT/OWNER_GRANT/OBJECT
_GRANT
Processing object type DATABASE_EXPORT/SCHEMA/FUNCTION/ALTER_FUNCTION
Processing object type DATABASE_EXPORT/SCHEMA/PROCEDURE/ALTER_PROCEDURE
Processing object type DATABASE_EXPORT/SCHEMA/VIEW/VIEW
Processing object type DATABASE_EXPORT/SCHEMA/VIEW/GRANT/OWNER_GRANT/OBJECT_GRAN
T
Processing object type DATABASE_EXPORT/SCHEMA/VIEW/GRANT/CROSS_SCHEMA/OBJECT_GRA
NT
Processing object type DATABASE_EXPORT/SCHEMA/VIEW/COMMENT
Processing object type DATABASE_EXPORT/SCHEMA/TABLE/CONSTRAINT/REF_CONSTRAINT
ORA-39014: One or more workers have prematurely exited.
ORA-39029: worker 1 with process name "DW01" prematurely terminated
ORA-31672: Worker process DW01 died unexpectedly.
 
Job "DBADM"."SYS_EXPORT_FULL_01" stopped due to fatal error at 14:53:07
                                  
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:

Select allOpen in new window

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-08-19 at 06:19:18ID24664632
Tags

Oracle 10g expdp

Topics

Oracle Database

,

Oracle 10.x

Participating Experts
1
Points
500
Comments
8

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. constraints
    why do people specify not null and unique as column level constraints when primary key is there as a table level constraint. I have removed the duplicates. Is there any harm because of this. Also check constraints are generated for every not null column. When one tries to ins...
  2. How to create oracle 8i FKey/Pri.Key constraint for 2 ta…
    How to create oracle 8i FKey/Pri.Key constraint for 2 tables in separate schemas? Can this be donw with typical constraint syntax or must this be done via triggers. Either way, how is it done?
  3. Oracle constraints
    I was wondering if you could help I have the following table: CREATE TABLE EMP_TEST3 (EMPNO NUMBER(3) CONSTRAINT PK_EMP PRIMARY KEY, ENAME VARCHAR2(20) NOT NULL, MGR NUMBER(3) REFERENCES EMP ON DELETE CASCADE ) I insert one row like so : INSERT INTO EMP_TEST3 VALUES(...
  4. Deleting oracle constraints
    Hi there I am trying to delete a constraint and am using the following syntax: alter table SUBJECT_AREA drop CONSTRAINT SA_U but I am getting the following error: ERROR at line 1: ORA-02443: Cannot drop constraint - nonexistent constraint I then try and add a constraint...
  5. how can i disable all constraints in my oracle database? (…
    how can i disable all constraints in my oracle database? (9i) thank you

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: mrjoltcolaPosted on 2009-08-19 at 06:51:22ID: 25132574

Hi Geert,

Did you check the target database host's alert log and check for trace files. The ORA-31762 is not normal, and could simply be caused by a bug. Look for more details on the target system, then if there are none, you can also turn on tracing for data pump to get more details.

expdp trace=<trace bit mask in hex> ...


I have seen a bug in Metalink regarding your issue, but it was on UNIX.

Can you consider applying 10.2.0.4 patchset?

 

by: Geert_GruwezPosted on 2009-08-19 at 06:53:14ID: 25132592

i can consider the patchset,
but i wouldn't execute it at the moment

i'm on leave as from tonight and nobody else to solve any arising problems ...

i'll check the tracing and logs

 

by: mrjoltcolaPosted on 2009-08-19 at 06:57:30ID: 25132650

Ok, postback here when you get more details.

Here is a quick link on expdp tracing:  http://arjudba.blogspot.com/2009/04/how-to-tracediagnosis-oracle-data-pump.html

Good luck.

 

by: Geert_GruwezPosted on 2009-08-19 at 07:00:28ID: 25132688

checked the log
got this

im googling for ora-07445
seems indeed to be a bug !
i'm still looking for the complete problem

kupprdp: master process DM00 started with pid=29, OS id=4908
         to execute - SYS.KUPM$MCP.MAIN('SYS_EXPORT_FULL_02', 'DBADM', 'KUPC$C_1_20090819153925', 'KUPC$S_1_20090819153925', 0);
kupprdp: worker process DW01 started with worker id=1, pid=30, OS id=6752
         to execute - SYS.KUPW$WORKER.MAIN('SYS_EXPORT_FULL_02', 'DBADM');
Wed Aug 19 15:41:17 2009
Errors in file d:\oracle\admin\m08uupg\bdump\m08uupg_dw01_6752.trc:
ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [_evaopn2+578] [PC:0x1C97EEA] [ADDR:0x0] [UNABLE_TO_READ] []
                                              
1:
2:
3:
4:
5:
6:
7:

Select allOpen in new window

 

by: mrjoltcolaPosted on 2009-08-19 at 07:08:44ID: 25132781

ORA-07445 is surely a bug. You can consider it the same as ORA-600 as far as calling support.
I would open the Oracle SR, I would not be surprised if they end up asking you to install the patch and/or verify the catalog.

 

by: Geert_GruwezPosted on 2009-08-19 at 07:18:47ID: 25132914

i reran the expdp job based on the trace from your post:
TRACE=1400300

expdp dbadm/ora920@m08u_upg FULL=Y CONTENT=ALL DUMPFILE=dpump1:exp.m08uupg.dmp LOGFILE=dpump1:exp.m08uupg.log TRACE=1400300

i checked the trace file and at after a few passes for REF_CONSTRAINT it show up with the access vio
i posted the log section with the start of the error below

i fear allready you hit the nerve with the bug problem and upgrading to the latest patch

[kdl_trim]: newlen: 0
KUPW: 16:07:01.236: 1: DBMS_LOB.TRIM returned
KUPW: 16:07:01.236: 1: DBMS_METADATA.FETCH_XML_CLOB Handle is: 200001 called
META: 16:07:01.236:  get_xml_inputs returned: SELECT /*+rule*/ SYS_XMLGEN(VALUE(KU$), XMLFORMAT.createFormat2('PACKAGE_BODY_T', '7')), KU$.OBJ_NUM ,KU$.SCHEMA_OBJ.NAME ,KU$.SCHEMA_OBJ.NAME ,'PACKAGE_BODY' ,KU$.SCHEMA_OBJ.OWNER_NAME FROM SYS.KU$_EXP_P
META: 16:07:01.236: KG_BODY_VIEW KU$ WHERE  KU$.BASE_OBJ_NUM IN (SELECT * FROM TABLE(DBMS_METADATA.FETCH_OBJNUMS(200001))) rowtag: ROW objnum_count: 60 callout: 0 Bind count: 0 Bind values: 
META: 16:07:01.236:  Begin statement open
META: 16:07:01.517:  End statement open
 
 
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
Process Id: 0x00000b08  Thread Id : 0x00001c68    Time : Wed Aug 19 16:07:02 
Excp. Code: 0xc0000005  Excp. Type: ACCESS_VIO    Flags: 0x00000000
 
 
------------------- Registers ----------------------------
eip = 01c97eea esp = 0ab36074 ebp = 0ab36194 edi = 155b00bc esi = 0ca18118
eax = 80000002 ebx = 0c400bd4 ecx = 00000000 edx = 00000000
ecs = 0000001b eds = 00000023 ees = 00000023 ess = 00000023
egs = 00000000 efs = 0000003b
eflags = 00010246
------------------- End of Registers ---------------------
 
 
*** 2009-08-19 16:07:02.627
ksedmp: internal or fatal error
ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [_evaopn2+578] [PC:0x1C97EEA] [ADDR:0x0] [UNABLE_TO_READ] []
Current SQL statement for this session:
SELECT /*+rule*/ SYS_XMLGEN(VALUE(KU$), XMLFORMAT.createFormat2('PACKAGE_BODY_T', '7')), KU$.OBJ_NUM ,KU$.SCHEMA_OBJ.NAME ,KU$.SCHEMA_OBJ.NAME ,'PACKAGE_BODY' ,KU$.SCHEMA_OBJ.OWNER_NAME FROM SYS.KU$_EXP_PKG_BODY_VIEW KU$ WHERE  KU$.BASE_OBJ_NUM IN (SELECT * FROM TABLE(DBMS_METADATA.FETCH_OBJNUMS(200001)))
----- PL/SQL Call Stack -----
  object      line  object
  handle    number  name
183A68A0      1313  package body SYS.DBMS_METADATA
183A68A0      1583  package body SYS.DBMS_METADATA
183A68A0      1891  package body SYS.DBMS_METADATA
183A68A0      4224  package body SYS.DBMS_METADATA
1F63DB9C      2006  package body SYS.KUPW$WORKER
1F63DB9C      6886  package body SYS.KUPW$WORKER
1F63DB9C      1260  package body SYS.KUPW$WORKER
17B9D5E8         2  anonymous block
----- Call Stack Trace -----
calling              call     entry                argument values in hex      
location             type     point                (? means dubious value)     
-------------------- -------- -------------------- ----------------------------
_evaopn2+578                  00000000             
_evaopn2+1113        CALLrel  _evaopn2+0           155B00BC
_evaopn2+2300        CALL???  00000000             15677D68
__PGOSF372__opifcr+  CALL???  00000000             
3939                                               
__PGOSF405__qervwRo  CALLptr  00000000             AB36C50 1
wProcedure+143                                     
_qersoFetch+478      CALLptr  00000000             
_qervwFetch+127      CALL???  00000000             
_kpofrws+235         CALL???  00000000             155B0B58 211B00C AB36C50 1
_opifch2+3124        CALLrel  _kpofrws+0           B1F0154 18F7C798 211B00C
                                                   AB36C50 1

                                              
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:

Select allOpen in new window

 

by: Geert_GruwezPosted on 2009-08-19 at 07:55:48ID: 25133401

i'll install the patch

an alternative suggestion seems to be to use the exp/imp instead of expdp/impdp

i still have to test this

 

by: mrjoltcolaPosted on 2009-08-19 at 08:08:36ID: 25133578

>>an alternative suggestion seems to be to use the exp/imp instead of expdp/impdp

Thats a good point. Good luck, let me know if the patch fixes things.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...