OCP-1Z0-052-V8.02-140题

140. Identify two situations in which the block header grows in a data block. (Choose two.)

A.when row directories need more row entries

B.when there is row migration in the data block

C.when there is an increase in the PCTFREE value for the data block

D.when more transaction slots are required than are initially configured

Answer: AD  

答案解析:

参考:http://blog.csdn.net/rlhua/article/details/12572003


block header

A part of a data block that includes information about the type of block, the address of the block, and sometimes transaction information.

data block

Smallest logical unit of data storage in Oracle Database. Other names for data blocks include Oracle blocks or pages. One data block corresponds to a specific number of bytes of physical space on disk.


块头:块头包含段类型(如表或索引)、数据块地址、表目录、行目录和事务处理插槽。每个插槽的大小约为23 字节,修改块中的行时会使用这些插槽。块头自上
而下进行增长。
 
• 行数据:这是块中行的实际数据。行数据空间自下而上进行增长。
 
• 空闲空间:空闲空间位于块的中部,允许头和行数据空间在必要时进行增长。当插入新行或用更大的值更新现有行的列时,行数据会占用空闲空间。
 
导致块头增长的事件的示例包括:
- 行目录需要更多的行条目
- 需要的事务处理插槽数多于最初配置的数目
起初,块中的空闲空间是相邻的。但是,删除和更新操作可能会使块中的空闲空间变成碎片。需要时Oracle 服务器会接合块中的空闲空间。


 

原文地址:https://www.cnblogs.com/hzcya1995/p/13316534.html