1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-24 09:27:52 +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

@@ -27,7 +27,7 @@
#define DEFAULT_CPU_INDEX_TUPLE_COST 0.005
#define DEFAULT_CPU_OPERATOR_COST 0.0025
#define DEFAULT_EFFECTIVE_CACHE_SIZE 16384 /* measured in pages */
#define DEFAULT_EFFECTIVE_CACHE_SIZE_MULTI 4
typedef enum
{