GaussDB-文件组织结构

GaussDB-文件组织结构

如需查询当前回滚段使用的存储方式是页式或段页式,可以查询系统表。当前仅支持页式。

示例:

gaussdb=# SELECT * FROM gs_global_config where name like '%undostoragetype%';
      name       |  value
-----------------+---------
 undostoragetype | page
(1 row)
 
  • 当回滚段使用的存储方式为页式:
    • txn page所在文件组织结构:
      $node_dir/undo/{permanent|unlogged|temp}/$undo_zone_id.meta.$segno
       
    • undo row所在文件组织结构:
      $node_dir/undo/{permanent|unlogged|temp}/$undo_zone_id.$segno
       
 
posted @ 2024-11-29 08:59  jerrywang1983  阅读(1)  评论(0)    收藏  举报