过着简单,真实的生活,喜欢收藏变形金刚(TFE,G1,SL系列),研究金融股市,KOF98,篮球,学习研究Oracle技术,我并不是一个全职的Oracle DBA,但是对于Oracle技术的热爱和研究,是一个不争的事实,愿意结交广大Oracle技术爱好者!MSN:oracle_kof_tf@hotmail.com
Row Chaining and Migrating
上一篇 /
下一篇 2008-01-08 15:25:47
/ 个人分类:Oracle Reminder
In two circumstances, the data for a row in a table may be too large to fit into a single data block.
In the first case, the row is too large to fit into one data block when it is first inserted. In this case, Oracle stores the data for the row in a chain of data blocks (one or more) reserved for that segment. Row chaining most often occurs with large rows, such as rows that contain a column of datatype LONG or LONG RAW. Row chaining in these cases is unavoidable.
(在数据insert的时候,block已经不足以容纳一行的数据,发生了行链接)
In the second case, a row that originally fit into one data block is updated so that the overall row length increases, and the block's free space is already completely filled. In this case, Oracle migrates the data for the entire row to a new data block, assuming the entire row can fit in a new block. Oracle preserves the original row piece of a migrated row to point to the new block containing the migrated row. The rowid of a migrated row does not change.
(对已有的row进行了update的时候,free space已经不足已经满足更新的需要,会发生行迁移 )
When a row is chained or migrated, I/O performance associated with this row decreases because Oracle must scan more than one data block to retrieve the information for the row.
导入论坛
引用链接
收藏
分享给好友
推荐到圈子
管理
举报
TAG: