Solved

Urgent   !!!  ora-12840

Posted on 2003-11-05
5
2,098 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

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 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 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 information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…

747 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

14 Experts available now in Live!

Get 1:1 Help Now