|
I like fromeast’s way to discus the questions, at least durning the discussion we know we are following
the same concepts.
对于一个回滚段,头指针、尾指针指的是什么?
When a DML (insert, update or delete) a row of a table, the change is made to the current version of the data block containing the row, and an ITL (interested transaction list) is created in the block. The ITL is used to mark the row locked until the transaction is either committed or rolled back.
The ITL contains the Transaction ID, which constitutes a POINTER (头指针) ( it is not inside of rollback segment, just point to it) to a SLOT within the transaction table within the rollback segment header.
In the SLOT, there is another POINTER (尾指针) to the actual undo records for the transaction, which are located in the body of the rollback segment.
Between the 头指针 and 尾指针 have no anything to do with rollback segment extents allocate, but
trigger it to allocate, how rollback allocate the extent is according to LRU/Round Robin style.
占用= have active transactions
空= no active Tx |
|