- 论坛徽章:
- 0
|
看了一些的资料有以下疑惑,不知道理解的有没有问题。
Undo tablespace也就是9i以前的Rollback Segment保存了数据修改的前映象,也记录了System Change Number(SCN)。
问题1: Undo tablespace是否只是为了提供Multi Version Read Consistency的功能?
问题2:redo file(重做日志文件)也会记录类似的信息,这样的设计出于什么考虑,可以只保留redo file吗?
根据如下资料
"In Oracle, the SCN is stored in the header of each data block (a.k.a. page).
So if any record on that block is modified, the SCN for that block is updated.
If a transaction is looking for record 5 on block 106, it may have to clone and
reconstruct several different version of block 106 even if record 5 has never
changed. "
问题3:在Multi Version Read Consistency的隔离级里,并发控制是否只是在block级别,而不是在row级别,因为一个Block才有一个SCN? |
|