Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit947456a

Browse files
Initialize work_mem using current guc.c default.
Do the same for the maintenance_work_mem global variable.Oversight in commit848ae33, which increased the previous defaultsfor work_mem and maintenance_work_mem by 4X.
1 parente25d462 commit947456a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/utils/init/globals.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ intIntervalStyle = INTSTYLE_POSTGRES;
118118

119119
boolenableFsync= true;
120120
boolallowSystemTableMods= false;
121-
intwork_mem=1024;
122-
intmaintenance_work_mem=16384;
121+
intwork_mem=4096;
122+
intmaintenance_work_mem=65536;
123123
intmax_parallel_maintenance_workers=2;
124124

125125
/*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp