Reduce frequent memory requests and releases

Source: Internet
Author: User

Some programs in the process of running, will frequently request and release memory, such as Oracle's Listener connector using the dedicated settings, and the connection is a short connection, will continue to establish new connections, request memory space, complete the client SQL request, and then free memory, exit. When the system is busy, the idea is that the system builds many new processes, the process numbers change, there are a lot of Sr and Fr, and FR is almost equal to SR (in the case of a lot of system memory, FR is usually only 1/6-1/4sr size, or even less). This means that 4-6 blocks of physical memory have been retrieved before a piece of memory can be released. In this case, even if the system has enough memory for scheduling, it will cause the system to run slowly because the system wastes a lot of CPU resources for memory data retrieval. The workaround is to turn the short connection type into a long connection through Oracle settings, such as setting shared Server/service, lengthening the idle wait time of the connector, and even changing the way the client works, avoiding unnecessary memory scans/requests and release actions.

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.