摘要:
checkpoint主要逻辑 1)获取checkpoint数据,从ShmemVariableCache里读 2)刷12类buff数据到磁盘 3)增加一个做checkpoint的xlog 4)更新controlFile,288字节 5)计算出不需要的segNo,根据文件名删除老的文件 【其他】 1)c 阅读全文
posted @ 2021-08-26 22:26
stupidstan2019
阅读(43)
评论(0)
推荐(0)
摘要:
查询系统字段 select attname, attnum, atttypid::regtype, attisdropped::text from pg_attribute where attrelid = 't1'::regclass; attname | attnum | atttypid | 阅读全文
posted @ 2021-08-26 00:09
stupidstan2019
阅读(129)
评论(0)
推荐(0)