Rowids of Row Pieces (158)

本文详细介绍了RowID的概念及其在Oracle数据库中的应用。RowID是一种特殊的数据类型,用于唯一标识数据库表中每一行的位置信息。一旦为某一行分配了RowID,除非该行被删除或通过Oracle工具进行导入导出操作,否则其RowID将保持不变。对于聚集表,如果某行的聚集键值发生变化,除了保留原有的RowID外,还会为其分配一个新的指向变更后键值的RowID。由于RowID在整个行片段生命周期内保持不变,因此在SQL语句中引用RowID非常有用。

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 之后 , 这个值将会保持不变 , 直到其所属行被删除或被导入导出

[@more@]

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

转载于:http://blog.itpub.net/10599713/viewspace-981076/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值