1.开启按需回放时,按需回放阶段从磁盘中读取xlog日志,降低内存消耗

2.解决按需回放内存配置较小时,HashMap构建卡住的问题
3.规范按需回放与按需回放的日志回放阶段变量命名
This commit is contained in:
chendong76
2023-07-19 22:37:33 +08:00
parent 4ad5b447f4
commit 2359fbe8f1
24 changed files with 332 additions and 99 deletions

View File

@ -416,7 +416,7 @@ extern bool stack_is_too_deep(void);
/* in tcop/utility.c */
extern void PreventCommandIfReadOnly(const char* cmdname);
extern void PreventCommandDuringRecovery(const char* cmdname);
extern void PreventCommandDuringSSOndemandRecovery(Node* parseTree);
extern void PreventCommandDuringSSOndemandRedo(Node* parseTree);
extern int trace_recovery(int trace_level);