diff options
author | Bruce Momjian | 2018-11-02 13:10:59 +0000 |
---|---|---|
committer | Bruce Momjian | 2018-11-02 13:10:59 +0000 |
commit | 060aff97b4979f02229125c00d725efe6a8ec1aa (patch) | |
tree | 00ef60255fe278e890f872615142a6631736561a /src | |
parent | 1ac334b165bb55cfa9441218713ead7b8421f9ca (diff) |
GUC: adjust effective_cache_size docs and SQL description
Clarify that effective_cache_size is both kernel buffers and shared
buffers.
Reported-by: nat@makarevitch.org
Discussion: https://postgr.es/m/153685164808.22334.15432535018443165207@wrigleys.postgresql.org
Backpatch-through: 9.3
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/utils/misc/guc.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c index 787a3e0b13c..b089b31ffd2 100644 --- a/src/backend/utils/misc/guc.c +++ b/src/backend/utils/misc/guc.c @@ -2486,10 +2486,9 @@ static struct config_int ConfigureNamesInt[] = { {"effective_cache_size", PGC_USERSET, QUERY_TUNING_COST, - gettext_noop("Sets the planner's assumption about the size of the disk cache."), - gettext_noop("That is, the portion of the kernel's disk cache that " - "will be used for PostgreSQL data files. This is measured in disk " - "pages, which are normally 8 kB each."), + gettext_noop("Sets the planner's assumption about the size of the data cache."), + gettext_noop("That is, the size of the cache used for PostgreSQL data files. " + "This is measured in disk pages, which are normally 8 kB each."), GUC_UNIT_BLOCKS, }, &effective_cache_size, |