1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-11 10:01:57 +03:00

Increase work_mem and maintenance_work_mem defaults by 4x

New defaults are 4MB and 64MB.
This commit is contained in:
Bruce Momjian
2014-02-24 13:04:51 -05:00
parent 6f14a6f703
commit 848ae330a4
3 changed files with 6 additions and 6 deletions

View File

@ -1773,7 +1773,7 @@ static struct config_int ConfigureNamesInt[] =
GUC_UNIT_KB
},
&work_mem,
1024, 64, MAX_KILOBYTES,
4096, 64, MAX_KILOBYTES,
NULL, NULL, NULL
},
@ -1784,7 +1784,7 @@ static struct config_int ConfigureNamesInt[] =
GUC_UNIT_KB
},
&maintenance_work_mem,
16384, 1024, MAX_KILOBYTES,
65536, 1024, MAX_KILOBYTES,
NULL, NULL, NULL
},