A brief understanding of cache and buffer

Source: Internet
Author: User

A brief understanding of the two concepts of cache and buffer during Oracle and MySQL learning. I checked these concepts and found them easy to understand and record here for the sake of forgetting (I) cache, is a method used to accelerate reading. The objective is to accelerate the reading of physical cache, including cpu-managed L1 cache, L2 cache, and memory cache access to the cache, which can be divided into cache hit or cache miss. Generally, the larger the cache, the higher the cache hit rate, the faster the access speed. Visitors do not know that the data must be in the cache (ii) buffer, which only refers to the memory region. The software is used to save specific information. The Buffer is allocated on demand. It is enough to save the data. The software has an appropriate mechanism to know that the data is in the buffer.

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.