Kramer wrote:That would be START_UBAFIL, UBAFIL is the file where the most recent undo record has been created.
I thought UBAFIL shows the file number where the first undo block located.
So the UBAFIL should always be files in the undo tablespace, right?Not quite - if you haven't yet created any undo records then the various UBAxxx columns will hold zeros. One case you can use to demonstrate this is to engineer an incoming distributed query.
Regards
Jonathan Lewis
START_UBAFIL shows
the file number where the first undo block located
UBAFIL
is the file where the most recent undo record has been created.
如果还没有undo rescords生成的时候 UBAxxx columns will hold zeros
比如:
SQL>
set transaction read only;
Transaction set
会开始一个transcation但是没有生成undo records
所以UBAFIL 为0
本文详细解释了Oracle数据库中UNDO表空间的工作原理,包括START_UBAFIL和UBAFIL文件的作用,以及在没有生成UNDO记录时UBAxxx列的状态。通过实例演示了设置事务为只读状态时,UNDO表空间的行为。
938

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



