Oracle 中的 AFAIK ROWID 表示相应数据文件中记录的物理位置.在哪些情况下记录的 ROWID 可能会发生变化?
AFAIK ROWID in Oracle represents physical location of a record in appropriate datafile. In which cases ROWID of a record may change ?
我所知道的一个是分区表上的更新,它将记录移动"到另一个分区.
The one known to me is UPDATE on partitioned table that "moves" the record to another partition.
还有其他情况吗?我们的大多数数据库都是 Oracle 10.
Are there another cases ? Most of our DBs are Oracle 10.
正如你所说的,它发生在行在磁盘上物理移动的任何时候,例如:
As you have said, it occurs anytime the row is physically moved on disk, such as:
如果在索引组织的表中,那么对主键的更新也会为您提供不同的 ROWID.
If is in an index organized table, then an update to the primary key would give you a different ROWID as well.
这篇关于什么会导致 Oracle ROWID 更改?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!