Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Urgent   !!!  ora-12840

Posted on 2003-11-05
5
Medium Priority
?
2,421 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 975 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Suggested Courses

926 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