|
48 | 48 | <glossterm>Analyze (operation)</glossterm>
|
49 | 49 | <glossdef>
|
50 | 50 | <para>
|
51 |
| - The process of collecting statistics from data in |
| 51 | + The act of collecting statistics from data in |
52 | 52 | <glossterm linkend="glossary-table">tables</glossterm>
|
53 | 53 | and other <glossterm linkend="glossary-relation">relations</glossterm>
|
54 | 54 | to help the <glossterm linkend="glossary-planner">query planner</glossterm>
|
|
113 | 113 | <para>
|
114 | 114 | A set of background processes that routinely perform
|
115 | 115 | <glossterm linkend="glossary-vacuum">vacuum</glossterm>
|
116 |
| - and <glossterm linkend="glossary-analyze">analyze</glossterm> |
117 |
| - operations. |
| 116 | + and <glossterm linkend="glossary-analyze">analyze</glossterm> operations. |
| 117 | + The <glossterm linkend="glossary-auxiliary-proc">auxiliary process</glossterm> |
| 118 | + that coordinates the work and is always present (unless autovacuum |
| 119 | + is disabled) is known as the <firstterm>autovacuum launcher</firstterm>, |
| 120 | + and the processes that carry out the tasks are known as the |
| 121 | + <firstterm>autovacuum workers</firstterm>. |
118 | 122 | </para>
|
119 | 123 | <para>
|
120 | 124 | For more information, see
|
|
123 | 127 | </glossdef>
|
124 | 128 | </glossentry>
|
125 | 129 |
|
| 130 | + <glossentry id="glossary-auxiliary-proc"> |
| 131 | + <glossterm>Auxiliary process</glossterm> |
| 132 | + <glossdef> |
| 133 | + <para> |
| 134 | + A process within an <glossterm linkend="glossary-instance">instance</glossterm> |
| 135 | + that is in charge of some specific background task for the instance. |
| 136 | + The auxiliary processes consist of <!-- in alphabetical order --> |
| 137 | + <!-- NB: In the code, the autovac launcher doesn't use the auxiliary |
| 138 | + process scaffolding; however it does behave as one so we list it |
| 139 | + here anyway. In addition, logger and stats collector aren't |
| 140 | + connected to shared memory so most code outside postmaster.c |
| 141 | + doesn't even consider them "procs" in the first place. |
| 142 | + --> |
| 143 | + the <glossterm linkend="glossary-autovacuum">autovacuum launcher</glossterm> |
| 144 | + (but not the autovacuum workers), |
| 145 | + the <glossterm linkend="glossary-background-writer">background writer</glossterm>, |
| 146 | + the <glossterm linkend="glossary-checkpointer">checkpointer</glossterm>, |
| 147 | + the <glossterm linkend="glossary-logger">logger</glossterm>, |
| 148 | + the <glossterm linkend="glossary-startup-process">startup process</glossterm>, |
| 149 | + the <glossterm linkend="glossary-stats-collector">statistics collector</glossterm>, |
| 150 | + the <glossterm linkend="glossary-wal-archiver">WAL archiver</glossterm>, |
| 151 | + the <glossterm linkend="glossary-wal-receiver">WAL receiver</glossterm> |
| 152 | + (but not the <glossterm linkend="glossary-wal-sender">WAL senders</glossterm>), |
| 153 | + and the <glossterm linkend="glossary-wal-writer">WAL writer</glossterm>. |
| 154 | + </para> |
| 155 | + </glossdef> |
| 156 | + </glossentry> |
| 157 | + |
126 | 158 | <glossentry id="glossary-backend">
|
127 | 159 | <glossterm>Backend (process)</glossterm>
|
128 | 160 | <glossdef>
|
|
163 | 195 | <glossterm>Background writer (process)</glossterm>
|
164 | 196 | <glossdef>
|
165 | 197 | <para>
|
166 |
| - A process that writes dirty |
| 198 | + An <glossterm linkend="glossary-auxiliary-proc">auxiliary process</glossterm> |
| 199 | + that writes dirty |
167 | 200 | <glossterm linkend="glossary-data-page">data pages</glossterm> from
|
168 | 201 | <glossterm linkend="glossary-shared-memory">shared memory</glossterm> to
|
169 | 202 | the file system. It wakes up periodically, but works only for a short
|
|
285 | 318 | <glossterm>Checkpointer (process)</glossterm>
|
286 | 319 | <glossdef>
|
287 | 320 | <para>
|
288 |
| - A specialized process responsible for executing checkpoints. |
| 321 | + An <glossterm linkend="glossary-auxiliary-proc">auxiliary process</glossterm> |
| 322 | + that is responsible for executing |
| 323 | + <glossterm linkend="glossary-checkpoint">checkpoints</glossterm>. |
289 | 324 | </para>
|
290 | 325 | </glossdef>
|
291 | 326 | </glossentry>
|
|
778 | 813 | <glossterm>Instance</glossterm>
|
779 | 814 | <glossdef>
|
780 | 815 | <para>
|
781 |
| - A group of backend and auxiliary processes that communicate using |
782 |
| - a common shared memory area. One |
| 816 | + A group of <glossterm linkend="glossary-backend">backend</glossterm> and |
| 817 | + <glossterm linkend="glossary-auxiliary-proc">auxiliary processes</glossterm> |
| 818 | + that communicate using a common shared memory area. One |
783 | 819 | <glossterm linkend="glossary-postmaster">postmaster process</glossterm>
|
784 | 820 | manages the instance; one instance manages exactly one
|
785 | 821 | <glossterm linkend="glossary-db-cluster">database cluster</glossterm>
|
|
881 | 917 | <glossterm>Logger (process)</glossterm>
|
882 | 918 | <glossdef>
|
883 | 919 | <para>
|
884 |
| - If activated, the process |
885 |
| - writes information about database events into the current |
| 920 | + An <glossterm linkend="glossary-auxiliary-proc">auxiliary process</glossterm> |
| 921 | + which, if enabled, writes information about database events into the current |
886 | 922 | <glossterm linkend="glossary-log-file">log file</glossterm>.
|
887 | 923 | When reaching certain time- or
|
888 | 924 | volume-dependent criteria, a new log file is created.
|
|
1040 | 1076 | <glossdef>
|
1041 | 1077 | <para>
|
1042 | 1078 | The very first process of an <glossterm linkend="glossary-instance">instance</glossterm>.
|
1043 |
| - It starts and manages the other auxiliary processes and creates |
1044 |
| - <glossterm linkend="glossary-backend">backend processes</glossterm> |
| 1079 | + It starts and manages the |
| 1080 | + <glossterm linkend="glossary-auxiliary-proc">auxiliary processes</glossterm> |
| 1081 | + and creates <glossterm linkend="glossary-backend">backend processes</glossterm> |
1045 | 1082 | on demand.
|
1046 | 1083 | </para>
|
1047 | 1084 | <para>
|
|
1452 | 1489 | </glossdef>
|
1453 | 1490 | </glossentry>
|
1454 | 1491 |
|
| 1492 | + <glossentry id="glossary-startup-process"> |
| 1493 | + <glossterm>Startup process</glossterm> |
| 1494 | + <glossdef> |
| 1495 | + <para> |
| 1496 | + An <glossterm linkend="glossary-auxiliary-proc">auxiliary process</glossterm> |
| 1497 | + that replays WAL during crash recovery and in a |
| 1498 | + <glossterm linkend="glossary-replication">physical replica</glossterm>. |
| 1499 | + </para> |
| 1500 | + <para> |
| 1501 | + (The name is historical: the startup process was named before |
| 1502 | + replication was implemented; the name refers to its task as it |
| 1503 | + relates to the server startup following a crash.) |
| 1504 | + </para> |
| 1505 | + </glossdef> |
| 1506 | + </glossentry> |
| 1507 | + |
1455 | 1508 | <glossentry id="glossary-sql-object">
|
1456 | 1509 | <glossterm>SQL object</glossterm>
|
1457 | 1510 | <glossdef>
|
|
1514 | 1567 | <glossterm>Stats collector (process)</glossterm>
|
1515 | 1568 | <glossdef>
|
1516 | 1569 | <para>
|
1517 |
| - This process collects statistical information about the |
1518 |
| - <glossterm linkend="glossary-instance">instance</glossterm>'s activities. |
| 1570 | + An <glossterm linkend="glossary-auxiliary-proc">auxiliary process</glossterm> |
| 1571 | + which, if enabled, receives statistical information |
| 1572 | + about the <glossterm linkend="glossary-instance">instance</glossterm>'s |
| 1573 | + activities. |
1519 | 1574 | </para>
|
1520 | 1575 | <para>
|
1521 | 1576 | For more information, see
|
|
1856 | 1911 | <glossterm>WAL archiver (process)</glossterm>
|
1857 | 1912 | <glossdef>
|
1858 | 1913 | <para>
|
1859 |
| - A process that saves copies of <glossterm linkend="glossary-wal-file">WAL files</glossterm> |
| 1914 | + An <glossterm linkend="glossary-auxiliary-proc">auxiliary process</glossterm> |
| 1915 | + which, if enabled, saves copies of |
| 1916 | + <glossterm linkend="glossary-wal-file">WAL files</glossterm> |
1860 | 1917 | for the purpose of creating backups or keeping
|
1861 | 1918 | <glossterm linkend="glossary-replica">replicas</glossterm> current.
|
1862 | 1919 | </para>
|
|
1914 | 1971 | </glossdef>
|
1915 | 1972 | </glossentry>
|
1916 | 1973 |
|
| 1974 | + <glossentry id="glossary-wal-receiver"> |
| 1975 | + <glossterm>WAL receiver</glossterm> |
| 1976 | + <glossdef> |
| 1977 | + <para> |
| 1978 | + An <glossterm linkend="glossary-auxiliary-proc">auxiliary process</glossterm> |
| 1979 | + that runs on a <glossterm linkend="glossary-replica">replica</glossterm> |
| 1980 | + to receive WAL from the |
| 1981 | + <glossterm linkend="glossary-primary-server">primary server</glossterm> |
| 1982 | + for replay by the |
| 1983 | + <glossterm linkend="glossary-startup-process">startup process</glossterm>. |
| 1984 | + </para> |
| 1985 | + |
| 1986 | + <para> |
| 1987 | + For more information, see |
| 1988 | + <xref linkend="warm-standby"/>. |
| 1989 | + </para> |
| 1990 | + </glossdef> |
| 1991 | + </glossentry> |
| 1992 | + |
1917 | 1993 | <glossentry>
|
1918 | 1994 | <glossterm>WAL segment</glossterm>
|
1919 | 1995 | <glosssee otherterm="glossary-wal-file" />
|
1920 | 1996 | </glossentry>
|
1921 | 1997 |
|
| 1998 | + <glossentry id="glossary-wal-sender"> |
| 1999 | + <glossterm>WAL sender (process)</glossterm> |
| 2000 | + <glossdef> |
| 2001 | + <para> |
| 2002 | + A special <glossterm linkend="glossary-backend">backend process</glossterm> |
| 2003 | + that streams WAL over a network. The receiving end can be a |
| 2004 | + <glossterm linkend="glossary-wal-receiver">WAL receiver</glossterm> |
| 2005 | + in a <glossterm linkend="glossary-replica">replica</glossterm>, |
| 2006 | + <xref linkend="app-pgreceivewal"/>, or any other client program |
| 2007 | + that speaks the replication protocol. |
| 2008 | + </para> |
| 2009 | + </glossdef> |
| 2010 | + </glossentry> |
| 2011 | + |
1922 | 2012 | <glossentry id="glossary-wal-writer">
|
1923 | 2013 | <glossterm>WAL writer (process)</glossterm>
|
1924 | 2014 | <glossdef>
|
|
0 commit comments