Oracle troubleshooting of Backup, Tuning, Security related issues, problems, queries, guidance, tips, white papers, bugs related knowledge sharing and discussions.
by mix_dba90 » Sun Mar 18, 2012 3:41 pm
Hi,
We are encountering with error of ORA-02064: distributed operation not supported.Our operation failed due to this error. Recently we changed our database version. Before this, it was running fine and after upgrading with newer version of Oracle database, we are encountering with this error. Is there any solution to avoid this ORA error?
Thanks a lot in Advance.
-
mix_dba90
- Registered User

-
- Posts: 10
- Joined: Sat Aug 27, 2011 10:24 pm
by coolguy » Sun Mar 18, 2012 6:02 pm
Can you provide us more detail of operation and database versions. Distributed transaction means you are trying to perform any distributed transaction using database link. Then kindly provide us more detail of target database version too.
-
coolguy
- Registered User

-
- Posts: 32
- Joined: Sat Aug 27, 2011 10:20 pm
by mix_dba90 » Sun Mar 18, 2012 6:07 pm
Hi Coolguy,
We are performing distributed transaction from Oracle 10.2.0.2 and our target database version is 10.2.0.4, which was upgraded recently. We loaded one temp table in 10.2.0.2 and trying to insert all rows in target database. During this operation we got this error ORA-02064.
-
mix_dba90
- Registered User

-
- Posts: 10
- Joined: Sat Aug 27, 2011 10:24 pm
by Denis » Sun Mar 18, 2012 6:23 pm
Can you tell me which insert statement you are using? Simple insert statement then are you using any sub-query in INSERT statement?
-
Denis
- Moderator

-
- Posts: 40
- Joined: Sat Aug 27, 2011 10:15 pm
by mix_dba90 » Mon Mar 19, 2012 3:39 am
Denis,
We are using MERG SQL command in insert statement.
-
mix_dba90
- Registered User

-
- Posts: 10
- Joined: Sat Aug 27, 2011 10:24 pm
by shailesh_dba » Mon Mar 19, 2012 5:46 pm
Hi,
Try to execute same MERGE statement in reverse order. Like at present you are executing MERGE statement from oracle 10.2.0.2 and using database link you are inserting data to Oracle 10.2.0.4. Then try to reverse it for testing purpose. Execute same MERGE statement from Oracle 10.2.0.4 and using database link you can able to insert in Oracle 10.2.0.2 database. Check does it executed or not. I think you are encountering with Oracle Bug.
-
shailesh_dba
- Registered User

-
- Posts: 25
- Joined: Sat Aug 27, 2011 10:22 pm
by mix_dba90 » Thu Mar 22, 2012 5:48 am
Hi Shailesh,
It is working. When I tried execute merge statement from 10.2.0.4 to Oracle 10.2.0.2, it is working. Can you tell me what is the issue and how to resolve this issue?
-
mix_dba90
- Registered User

-
- Posts: 10
- Joined: Sat Aug 27, 2011 10:24 pm
by gautam123 » Fri Mar 23, 2012 7:15 pm
Hi Mix,
It Oracle Bug 4311273 ORA-2064 using MERGE statement over a database link. Your Oracle database version 10.2.0.2 is affected with this bug. If you upgrade it to Oracle 10.2.0.4 then bug is resolved in same.
You should need to upgrade Oracle database or you need to change your coding and avoid to use MERGE statement with database link access in distributed transaction.
-
gautam123
- Registered User

-
- Posts: 6
- Joined: Sat Aug 27, 2011 10:25 pm
Return to Other Issues Resolutions
Who is online
Users browsing this forum: No registered users and 1 guest