ASSM and PCTUSED

Source: Internet
Author: User

ASSM and pctused I believe many people know that when using ASSM (auto segment space management), PCTUSED will not be valid. However, how many people tell you why PCTUSED is ignored in ASSM. Before ASSM, Oracle used freelist and freegroup to manage idle blocks. How can I determine whether a block can be added to freelist? Assume that if the free size of the block is less than or equal to PCTFREE, that is, the block is removed from freelist. After a delete or update operation, the free size of the block is greater than 20%, that is to say, this block is added to freelist. Although the block space can be maximized, the maintenance cost of freelist is increased (the block is removed and added frequently from freelist, in addition, it is the operation of arranging it ). This is why PCTUSED is introduced, sacrificing space to maintain freelist efficiency. There is a buffer space between PCTFREE and 1-PCTUSED. ASSM discards freelist's method of managing idle blocks. Instead, it uses a third-level bitmap and uses the extent header block (not each extent header block) to manage free blocks. In this design, modifying the idle status of any block has a very small impact. Frequent changes do not cause any problems. Therefore, PCTUSED is ignored in ASSM.

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.