Picked Lamport scheme to generate SCNs, lamportscns

Source: Internet
Author: User

Picked Lamport scheme to generate SCNs, lamportscns

Fault symptom:

Database Node 1 fails to open the database instance after it is suspended and restarted. The warning log has no error. There is only one record: Picked Lamport scheme to generate SCNs. Node 2 is normal and the application can be used normally.

Analysis and Processing:

1. Check the warning logs of the database system, including node 1: alert_szm21.log and node 2: alert_szm22.log. No error is reported.

2 node 1 database instance: oradubug dump systemstate 10 oradebug analyze 3, ass109.awk no waiting and deadlock.

3 metlink's understanding and analysis of Picked Lamport scheme to generate SCNs found

Before Lamport 10.1:

After Commit Broadcas 10.2:

Commit should be recommended when the system has the following problems: (Document ID 259454.1)


However, if any of the following conditions exist, there may be a need

Deviate from the default and explicitly set max_commit_propagation_delay = 0.

-The data consistency between the different instances must be guaranteed and

Immediate I. e. if commits must be seen instantaneously on remote instances.

-When rapid inserts (or updates) and immediate queries of the same dataset are

Done from different instances.

-If middle-tier connection pools are being used in tandem with connection load

Balancing to the RAC instances, and the application is arbitrarily selecting

Connection (and hence an instance) for each SQL operation.

-Some packaged applications (e.g. SAP) might recommend setting this parameter

To a specific value (mostly 0), in which case you shoshould follow

Application vendor's recommendations.


On the SCN algorithm, versions earlier than 10.1 are significantly different from those earlier than 10.2. the old version of the algorithm has shortcomings,

Through the above three analyses: it is decided to restart Node 1, or reproduce the problem or solve the problem: After Node 1 is restarted, the instance can be started normally.

 

Conclusion: for this type of problem, no error information is found through various means, and there is a version difference. Restarting can generally solve the problem,

Leave a message if you have other ideas !!




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.