ITPub博客

首页 > Linux操作系统 > Linux操作系统 > PCTFREE, PCTUSED

PCTFREE, PCTUSED

原创 Linux操作系统 作者:rocky_gao 时间:2010-04-27 10:48:59 0 删除 编辑
The PCTFREE Parameter

The PCTFREE parameter sets the minimum percentage of a data block to be reserved
as free space for possible updates to rows that already exist in that block. For example,
assume that you specify the following parameter within a CREATE TABLE statement:
PCTFREE 20
This states that 20% of each data block in this table’s data segment be kept free and
available for possible updates to the existing rows already within each block. New
rows can be added to the row data area, and corresponding information can be added
to the variable portions of the overhead area, until the row data and overhead total
80% of the total block size.
 
The PCTUSED Parameter

The PCTUSED parameter sets the minimum percentage of a block that can be used for
row data plus overhead before new rows are added to the block. After a data block is
filled to the limit determined by PCTFREE, Oracle considers the block unavailable for
the insertion of new rows until the percentage of that block falls beneath the parameter
PCTUSED. Until this value is achieved, Oracle uses the free space of the data block only
for updates to rows already contained in the data block. For example, assume that you
specify the following parameter in a CREATE TABLE statement:
PCTUSED 40
In this case, a data block used for this table’s data segment is considered unavailable
for the insertion of any new rows until the amount of used space in the block falls to
39% or less (assuming that the block’s used space has previously reached PCTFREE).
 

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

上一篇: oracle 等待事件
请登录后发表评论 登录
全部评论

注册时间:2010-04-09

  • 博文量
    112
  • 访问量
    299800