|
其实我觉得这个问题不是太复杂,有三条规则可循,请指正。
1. All extents in one rollback segment form a ring. Each one has a number.
2. For a new transaction, it will search from the first one to the last one.
If an avaliable extent is found, it will use it.
If not found, it will extend a new one.
3. For a running transaction, if the current extent is full, it will look at the next extent (if the current one is the last in the ring, the next extent will be the first one.). If the next one is available, it will use it. Otherwise, it will allocate a new one. |
|