Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5463deb

Browse files
committed
GUC: adjust effective_cache_size docs and SQL description
Clarify that effective_cache_size is both kernel buffers and sharedbuffers.Reported-by: nat@makarevitch.orgDiscussion:https://postgr.es/m/153685164808.22334.15432535018443165207@wrigleys.postgresql.orgBackpatch-through: 9.3
1 parent919cffd commit5463deb

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

‎doc/src/sgml/config.sgml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3962,7 +3962,8 @@ ANY <replaceable class="parameter">num_sync</replaceable> ( <replaceable class="
39623962
used. When setting this parameter you should consider both
39633963
<productname>PostgreSQL</productname>'s shared buffers and the
39643964
portion of the kernel's disk cache that will be used for
3965-
<productname>PostgreSQL</productname> data files. Also, take
3965+
<productname>PostgreSQL</productname> data files, though some
3966+
data might exist in both places. Also, take
39663967
into account the expected number of concurrent queries on different
39673968
tables, since they will have to share the available
39683969
space. This parameter has no effect on the size of shared

‎src/backend/utils/misc/guc.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2803,10 +2803,9 @@ static struct config_int ConfigureNamesInt[] =
28032803

28042804
{
28052805
{"effective_cache_size",PGC_USERSET,QUERY_TUNING_COST,
2806-
gettext_noop("Sets the planner's assumption about the size of the disk cache."),
2807-
gettext_noop("That is, the portion of the kernel's disk cache that "
2808-
"will be used for PostgreSQL data files. This is measured in disk "
2809-
"pages, which are normally 8 kB each."),
2806+
gettext_noop("Sets the planner's assumption about the size of the data cache."),
2807+
gettext_noop("That is, the size of the cache used for PostgreSQL data files. "
2808+
"This is measured in disk pages, which are normally 8 kB each."),
28102809
GUC_UNIT_BLOCKS,
28112810
},
28122811
&effective_cache_size,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp