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:
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user