summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/src/sgml/config.sgml3
-rw-r--r--src/backend/utils/misc/guc.c7
2 files changed, 5 insertions, 5 deletions
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 794d6c761b0..64a6074e1c0 100644
--- a/doc/src/sgml/config.sgml
+++ b/doc/src/sgml/config.sgml
@@ -3351,7 +3351,8 @@ include_dir 'conf.d'
used. When setting this parameter you should consider both
<productname>PostgreSQL</productname>'s shared buffers and the
portion of the kernel's disk cache that will be used for
- <productname>PostgreSQL</productname> data files. Also, take
+ <productname>PostgreSQL</productname> data files, though some
+ data might exist in both places. Also, take
into account the expected number of concurrent queries on different
tables, since they will have to share the available
space. This parameter has no effect on the size of shared
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,