An oracle bug discovered by using dblink in XA, xadblink

Source: Internet
Author: User

An oracle bug discovered by using dblink in XA, xadblink

A new error message was found in the recent monitoring system logs, which is strange and has not been found before. As follows:

ORA-24777: do not allow use of database links that are not portable.

The tracing program finds that a remote database table is queried through dblink, And the XA distributed transaction database connection is used. We may all know that XA has many restrictions and has been around before. However, I have not adjusted the program or changed the dblink configuration recently. Why? You can only search online. Some people have encountered the result, saying that oracle dblink is changed to shared. I personally think this statement is reliable. So now I tried it on the test system, and it worked.

But why is there no such problem? Ask the application service maintenance personnel and dba. The application server administrator will return a message later without changing any settings. Then the dba replied to the external oracle expert after consultation, which was caused by an oracle bug. Currently, this problem exists in oracle 11.2.0.4 (we recently migrated the remote data server we accessed, the minor version of oracle is upgraded during migration, and the version is 11.2.0.4 after the upgrade), and our access object is the dblink of 11.2.0.4. In the past, we just stepped on the thunder. The other party provides two solutions:

1. Set the oracle server mode to shared server;

2. Set the dblink connection to the shared mode.

Obviously, no one chooses the first option easily, and the impact may be too great. Other problems may occur. The second option has a low cost and has little impact on the system itself. Therefore, solution 2 is selected.

Of course, you can find a time to Upgrade oracle and install patches.


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.