Caching of Oracle Sequences

Source: Internet
Author: User

In the high concurrency database system, the cache of sequences should be adjusted correspondingly. Now look at the definition of a high-concurrency sequence of the database itself. When we send a request to the database, listen to the reception, and then Oracle initiates a background process (the process is usually referred to as the number of database concurrency, that is, how many processes the database can start at the same time to provide services externally, determined by the processes parameter) for the service, The corresponding session Sesson is then allocated, and the session's Audsid field (not 0 is an external request, internally 0) is obtained from the sys.audses$ sequence, which is defined as follows
CREATEwith210016 2000000000 1    10000Noorder;
With a cache of 10000, session allocation can be categorized as high concurrency in a database, because many sessions are generated at the same time during busy times, while development-defined sessions are typically between 20 and 50, in which case the sequence-waiting event occurs when a high concurrency situation arises , if there is a sequence waiting event, it is recommended that you adjust the number from 50 to one in 500 to 1000 for the first time.

Caching of Oracle Sequences

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.