Help Center/
GaussDB/
Feature Guide(Distributed_8.x)/
Storage Engine/
Ustore/
Storage Format/
Undo/
File Structure
Updated on 2024-06-07 GMT+08:00
File Structure
To query whether the current rollback segment is stored in page or segment-page mode, query the system catalog. Currently, only the page mode is supported.
Example:
gaussdb=# SELECT * FROM gs_global_config where name like '%undostoragetype%';
name | value
-----------------+---------
undostoragetype | page
(1 row)
- When the rollback segment is stored by page:
- Structure of the file where the txn page is stored
$node_dir/undo/{permanent|unlogged|temp}/$undo_zone_id.meta.$segno
- Structure of the file where the undo row is stored
$node_dir/undo/{permanent|unlogged|temp}/$undo_zone_id.$segno
- Structure of the file where the txn page is stored
Parent topic: Undo
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