Solved

Urgent   !!!  ora-12840

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

Question has a verified solution.

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

Suggested Solutions

Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

809 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