专注于互联网--专注于架构

最新标签
网站地图
文章索引
Rss订阅

首页 »博文摘选 » migrating:Row Chaining and Migrating »正文

migrating:Row Chaining and Migrating

来源: 发布时间:星期五, 2009年10月2日 浏览:0次 评论:0
转载自:http://blog.csdn.net/inthirties/archive/2009/10/02/4626801.aspx

Row Chaining and Migrating 


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. 


However, 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.

标签:chaining migrating
0

相关文章

读者评论

发表评论

  • 昵称:
  • 内容: