The rowid identifies each row piece by its location or address. After they are assigned,
a given row piece retains its rowid until the corresponding row is deleted or exported
and imported using Oracle utilities. For clustered tables, if the cluster key values of a
row change, then the row keeps the same rowid but also gets an additional pointer
rowid for the new values.
Because rowids are constant for the lifetime of a row piece, it is useful to reference
rowids in SQL statements such as SELECT, UPDATE, and DELETE.
行片段的rowid
1. rowid 唯一标识每个行片段的存储位置和地址
2. 每个行片段得到一个 rowid 之后 , 这个值将会保持不变 , 直到其所属行被删除或被导入导出
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10599713/viewspace-981076/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/10599713/viewspace-981076/
本文详细介绍了RowID的概念及其在Oracle数据库中的应用。RowID是一种特殊的数据类型,用于唯一标识数据库表中每一行的位置信息。一旦为某一行分配了RowID,除非该行被删除或通过Oracle工具进行导入导出操作,否则其RowID将保持不变。对于聚集表,如果某行的聚集键值发生变化,除了保留原有的RowID外,还会为其分配一个新的指向变更后键值的RowID。由于RowID在整个行片段生命周期内保持不变,因此在SQL语句中引用RowID非常有用。
5351

被折叠的 条评论
为什么被折叠?



