Help Center/
GaussDB/
Feature Guide(Centralized_3.x)/
Storage Engine/
Ustore/
Storage Format/
Index/
Row Consistency Read (RCR) UB-Tree Multi-Version Management
Updated on 2024-07-04 GMT+08:00
Row Consistency Read (RCR) UB-Tree Multi-Version Management
- The UB-tree multi-version management adopts the key-based multi-version management. The latest version and historical versions are both on UB-tree.
- To save the space, xmin/xmax is expressed in xid-base + delta. The 64-bit xid-base is stored on pages and the 32-bit delta is stored on tuples. The xid-base on pages also needs to be maintained through additional logic.
- Keys are inserted into or deleted from the UB-tree in the sequence of key + TID. Tuples with the same index column are sorted based on their TIDs as the second keywords. The xmin and xmax are added to the end of the key.
- During index splitting, multi-version information is migrated with key migration.
Parent topic: Index
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot