diff options
author | Fujii Masao <fujii@postgresql.org> | 2020-03-19 15:32:55 +0900 |
---|---|---|
committer | Fujii Masao <fujii@postgresql.org> | 2020-03-19 15:32:55 +0900 |
commit | 1d253bae57fcb3e75cdd9cdb2592c5b09cf7e7b7 (patch) | |
tree | 042174794184bc7a8057bc49a84f111ca61b08c1 /doc/src | |
parent | 72e78d831ab5550c39f2dcc7cc5d44c406ec3dc2 (diff) | |
download | postgresql-1d253bae57fcb3e75cdd9cdb2592c5b09cf7e7b7.tar.gz postgresql-1d253bae57fcb3e75cdd9cdb2592c5b09cf7e7b7.zip |
Rename the recovery-related wait events.
This commit renames RecoveryWalAll and RecoveryWalStream wait events to
RecoveryWalStream and RecoveryRetrieveRetryInterval, respectively,
in order to make the names and what they are more consistent. For example,
previously RecoveryWalAll was reported as a wait event while the recovery
was waiting for WAL from a stream, and which was confusing because the name
was very different from the situation where the wait actually could happen.
The names of macro variables for those wait events also are renamed
accordingly.
This commit also changes the category of RecoveryRetrieveRetryInterval to
Timeout from Activity because the wait event is reported while waiting based
on wal_retrieve_retry_interval.
Author: Fujii Masao
Reviewed-by: Kyotaro Horiguchi, Atsushi Torikoshi
Discussion: https://postgr.es/m/124997ee-096a-5d09-d8da-2c7a57d0816e@oss.nttdata.com
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/monitoring.sgml | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/src/sgml/monitoring.sgml b/doc/src/sgml/monitoring.sgml index 76269878086..89853a16d82 100644 --- a/doc/src/sgml/monitoring.sgml +++ b/doc/src/sgml/monitoring.sgml @@ -1244,7 +1244,7 @@ postgres 27093 0.0 0.0 30096 2752 ? Ss 11:34 0:00 postgres: ser <entry>Waiting to acquire a pin on a buffer.</entry> </row> <row> - <entry morerows="13"><literal>Activity</literal></entry> + <entry morerows="12"><literal>Activity</literal></entry> <entry><literal>ArchiverMain</literal></entry> <entry>Waiting in main loop of the archiver process.</entry> </row> @@ -1277,16 +1277,8 @@ postgres 27093 0.0 0.0 30096 2752 ? Ss 11:34 0:00 postgres: ser <entry>Waiting in main loop of the statistics collector process.</entry> </row> <row> - <entry><literal>RecoveryWalAll</literal></entry> - <entry>Waiting for WAL from a stream at recovery.</entry> - </row> - <row> <entry><literal>RecoveryWalStream</literal></entry> - <entry> - Waiting when WAL data is not available from any kind of sources - (local, archive or stream) before trying again to retrieve WAL data, - at recovery. - </entry> + <entry>Waiting for WAL from a stream at recovery.</entry> </row> <row> <entry><literal>SysLoggerMain</literal></entry> @@ -1496,7 +1488,7 @@ postgres 27093 0.0 0.0 30096 2752 ? Ss 11:34 0:00 postgres: ser <entry>Waiting for confirmation from remote server during synchronous replication.</entry> </row> <row> - <entry morerows="2"><literal>Timeout</literal></entry> + <entry morerows="3"><literal>Timeout</literal></entry> <entry><literal>BaseBackupThrottle</literal></entry> <entry>Waiting during base backup when throttling activity.</entry> </row> @@ -1509,6 +1501,14 @@ postgres 27093 0.0 0.0 30096 2752 ? Ss 11:34 0:00 postgres: ser <entry>Waiting to apply WAL at recovery because it is delayed.</entry> </row> <row> + <entry><literal>RecoveryRetrieveRetryInterval</literal></entry> + <entry> + Waiting when WAL data is not available from any kind of sources + (<filename>pg_wal</filename>, archive or stream) before trying + again to retrieve WAL data, at recovery. + </entry> + </row> + <row> <entry morerows="68"><literal>IO</literal></entry> <entry><literal>BufFileRead</literal></entry> <entry>Waiting for a read from a buffered file.</entry> |