1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-07 00:36:50 +03:00

Auto-tune effective_cache size to be 4x shared buffers

This commit is contained in:
Bruce Momjian
2013-10-08 12:12:24 -04:00
parent d29a031926
commit ee1e5662d8
8 changed files with 75 additions and 11 deletions

View File

@ -2410,8 +2410,8 @@ static struct config_int ConfigureNamesInt[] =
GUC_UNIT_BLOCKS,
},
&effective_cache_size,
DEFAULT_EFFECTIVE_CACHE_SIZE, 1, INT_MAX,
NULL, NULL, NULL
-1, -1, INT_MAX,
check_effective_cache_size, NULL, NULL
},
{