Solved

Urgent   !!!  ora-12840

Posted on 2003-11-05
5
2,122 Views
Last Modified: 2007-12-19
I have a problem with this

ORA-12840: cannot access a remote table after parallel/insert direct load txn

Please send me your experience about this.... and how did you to solve this ....
0
Comment
Question by:mosorio
5 Comments
 
LVL 23

Expert Comment

by:seazodiac
ID: 9690282
this is from metalink:

ORA-12840 cannot access a remote table after parallel/insert direct load txn

Cause: Within a transaction, an attempt was made to perform distributed access after a PDML or insert direct statement had been issued.

Action: Commit/roll back the PDML transaction first, and then perform the distributed access, or perform the distributed access before the first PDML statement in the transaction.
0
 
LVL 23

Accepted Solution

by:
seazodiac earned 325 total points
ID: 9690285
I think you have to explicitly commit the parallel DML first.
0
 

Author Comment

by:mosorio
ID: 9690454
Already saw that  !!!
0
 
LVL 2

Expert Comment

by:Kong
ID: 9690538
You have to commit or rollback after PDML because your data is in an intermediate state - ie, in temporary extents from the end of your HWM & constraints disabled.
0
 
LVL 13

Expert Comment

by:anand_2000v
ID: 9693062
Kill any session which was doing a PDML or a Direct insert if you are not able to give an explicit commit or rollback
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now