How PCTFREE and PCTUSED Work Together(十)

In a newly allocated data block, the space available for inserts is the block size minus
the sum of the block overhead and free space (PCTFREE).

free lists—lists of
data blocks that have been allocated for that segment’s extents and have free space
greater than PCTFREE. These blocks are available for inserts. When you issue an
INSERT statement, Oracle checks a free list of the table for the first available data block
and uses it if possible. If the free space in that block is not large enough to
accommodate the INSERT statement, and the block is at least PCTUSED, then Oracle
takes the block off the free list. Multiple free lists for each segment can reduce
contention for free lists when concurrent inserts take place.

After you issue a DELETE or UPDATE statement, Oracle processes the statement and
checks to see if the space being used in the block is now less than PCTUSED. If it is,
then the block goes to the beginning of the transaction free list, and it is the first of the
available blocks to be used in that transaction. When the transaction commits, free
space in the block becomes available for other transactions.

my question:if the space being used in the block is greater than PCTUSED then what oracle do?

[@more@]

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10599713/viewspace-932311/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/10599713/viewspace-932311/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值