mirror of
https://github.com/postgres/postgres.git
synced 2025-06-26 12:21:12 +03:00
config: Rename "Asynchronous Behavior" to "I/O"
"I/O" seems more descriptive than "Asynchronous Behavior", given that some of the GUCs in the section don't relate to anything asynchronous. Most other abbreviations in the config sections are un-abbreviated, but "Input/Output" seems less likely to be helpful than just IO or I/O. Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://postgr.es/m/x3tlw2jk5gm3r3mv47hwrshffyw7halpczkfbk3peksxds7bvc@lguk43z3bsyq
This commit is contained in:
@ -2506,8 +2506,8 @@ include_dir 'conf.d'
|
|||||||
</para>
|
</para>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 id="runtime-config-resource-async-behavior">
|
<sect2 id="runtime-config-resource-io">
|
||||||
<title>Asynchronous Behavior</title>
|
<title>I/O</title>
|
||||||
|
|
||||||
<variablelist>
|
<variablelist>
|
||||||
<varlistentry id="guc-backend-flush-after" xreflabel="backend_flush_after">
|
<varlistentry id="guc-backend-flush-after" xreflabel="backend_flush_after">
|
||||||
|
@ -682,7 +682,7 @@ const char *const config_group_names[] =
|
|||||||
[RESOURCES_DISK] = gettext_noop("Resource Usage / Disk"),
|
[RESOURCES_DISK] = gettext_noop("Resource Usage / Disk"),
|
||||||
[RESOURCES_KERNEL] = gettext_noop("Resource Usage / Kernel Resources"),
|
[RESOURCES_KERNEL] = gettext_noop("Resource Usage / Kernel Resources"),
|
||||||
[RESOURCES_BGWRITER] = gettext_noop("Resource Usage / Background Writer"),
|
[RESOURCES_BGWRITER] = gettext_noop("Resource Usage / Background Writer"),
|
||||||
[RESOURCES_ASYNCHRONOUS] = gettext_noop("Resource Usage / Asynchronous Behavior"),
|
[RESOURCES_IO] = gettext_noop("Resource Usage / I/O"),
|
||||||
[RESOURCES_WORKER_PROCESSES] = gettext_noop("Resource Usage / Worker Processes"),
|
[RESOURCES_WORKER_PROCESSES] = gettext_noop("Resource Usage / Worker Processes"),
|
||||||
[WAL_SETTINGS] = gettext_noop("Write-Ahead Log / Settings"),
|
[WAL_SETTINGS] = gettext_noop("Write-Ahead Log / Settings"),
|
||||||
[WAL_CHECKPOINTS] = gettext_noop("Write-Ahead Log / Checkpoints"),
|
[WAL_CHECKPOINTS] = gettext_noop("Write-Ahead Log / Checkpoints"),
|
||||||
@ -3181,7 +3181,7 @@ struct config_int ConfigureNamesInt[] =
|
|||||||
{
|
{
|
||||||
{"effective_io_concurrency",
|
{"effective_io_concurrency",
|
||||||
PGC_USERSET,
|
PGC_USERSET,
|
||||||
RESOURCES_ASYNCHRONOUS,
|
RESOURCES_IO,
|
||||||
gettext_noop("Number of simultaneous requests that can be handled efficiently by the disk subsystem."),
|
gettext_noop("Number of simultaneous requests that can be handled efficiently by the disk subsystem."),
|
||||||
NULL,
|
NULL,
|
||||||
GUC_EXPLAIN
|
GUC_EXPLAIN
|
||||||
@ -3195,7 +3195,7 @@ struct config_int ConfigureNamesInt[] =
|
|||||||
{
|
{
|
||||||
{"maintenance_io_concurrency",
|
{"maintenance_io_concurrency",
|
||||||
PGC_USERSET,
|
PGC_USERSET,
|
||||||
RESOURCES_ASYNCHRONOUS,
|
RESOURCES_IO,
|
||||||
gettext_noop("A variant of \"effective_io_concurrency\" that is used for maintenance work."),
|
gettext_noop("A variant of \"effective_io_concurrency\" that is used for maintenance work."),
|
||||||
NULL,
|
NULL,
|
||||||
GUC_EXPLAIN
|
GUC_EXPLAIN
|
||||||
@ -3210,7 +3210,7 @@ struct config_int ConfigureNamesInt[] =
|
|||||||
{
|
{
|
||||||
{"io_combine_limit",
|
{"io_combine_limit",
|
||||||
PGC_USERSET,
|
PGC_USERSET,
|
||||||
RESOURCES_ASYNCHRONOUS,
|
RESOURCES_IO,
|
||||||
gettext_noop("Limit on the size of data reads and writes."),
|
gettext_noop("Limit on the size of data reads and writes."),
|
||||||
NULL,
|
NULL,
|
||||||
GUC_UNIT_BLOCKS
|
GUC_UNIT_BLOCKS
|
||||||
@ -3222,7 +3222,7 @@ struct config_int ConfigureNamesInt[] =
|
|||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
{"backend_flush_after", PGC_USERSET, RESOURCES_ASYNCHRONOUS,
|
{"backend_flush_after", PGC_USERSET, RESOURCES_IO,
|
||||||
gettext_noop("Number of pages after which previously performed writes are flushed to disk."),
|
gettext_noop("Number of pages after which previously performed writes are flushed to disk."),
|
||||||
NULL,
|
NULL,
|
||||||
GUC_UNIT_BLOCKS
|
GUC_UNIT_BLOCKS
|
||||||
|
@ -192,7 +192,7 @@
|
|||||||
#bgwriter_lru_multiplier = 2.0 # 0-10.0 multiplier on buffers scanned/round
|
#bgwriter_lru_multiplier = 2.0 # 0-10.0 multiplier on buffers scanned/round
|
||||||
#bgwriter_flush_after = 0 # measured in pages, 0 disables
|
#bgwriter_flush_after = 0 # measured in pages, 0 disables
|
||||||
|
|
||||||
# - Asynchronous Behavior -
|
# - I/O -
|
||||||
|
|
||||||
#backend_flush_after = 0 # measured in pages, 0 disables
|
#backend_flush_after = 0 # measured in pages, 0 disables
|
||||||
#effective_io_concurrency = 1 # 1-1000; 0 disables prefetching
|
#effective_io_concurrency = 1 # 1-1000; 0 disables prefetching
|
||||||
|
@ -64,7 +64,7 @@ enum config_group
|
|||||||
RESOURCES_DISK,
|
RESOURCES_DISK,
|
||||||
RESOURCES_KERNEL,
|
RESOURCES_KERNEL,
|
||||||
RESOURCES_BGWRITER,
|
RESOURCES_BGWRITER,
|
||||||
RESOURCES_ASYNCHRONOUS,
|
RESOURCES_IO,
|
||||||
RESOURCES_WORKER_PROCESSES,
|
RESOURCES_WORKER_PROCESSES,
|
||||||
WAL_SETTINGS,
|
WAL_SETTINGS,
|
||||||
WAL_CHECKPOINTS,
|
WAL_CHECKPOINTS,
|
||||||
|
Reference in New Issue
Block a user