diff options
author | Robert Haas | 2017-09-01 15:45:17 +0000 |
---|---|---|
committer | Robert Haas | 2017-09-01 15:45:40 +0000 |
commit | baaf272ac908ea27c09076e34f62c45fa7d1e448 (patch) | |
tree | b685c8490cd177d9e5758ca4fd7cf2113457258f /doc/src | |
parent | 89c59b742a7f89eb598a25b70aaa3ab97381f67d (diff) |
Use group updates when setting transaction status in clog.
Commit 0e141c0fbb211bdd23783afa731e3eef95c9ad7a introduced a mechanism
to reduce contention on ProcArrayLock by having a single process clear
XIDs in the procArray on behalf of multiple processes, reducing the
need to hand the lock around. A previous attempt to introduce a similar
mechanism for CLogControlLock in ccce90b398673d55b0387b3de66639b1b30d451b
crashed and burned, but the design problem which resulted in those
failures is believed to have been corrected in this version.
Amit Kapila, with some cosmetic changes by me. See the previous commit
message for additional credits.
Discussion: http://postgr.es/m/CAA4eK1KudxzgWhuywY_X=yeSAhJMT4DwCjroV5Ay60xaeB2Eew@mail.gmail.com
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/monitoring.sgml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/src/sgml/monitoring.sgml b/doc/src/sgml/monitoring.sgml index 5575c2c8376..38bf63658ae 100644 --- a/doc/src/sgml/monitoring.sgml +++ b/doc/src/sgml/monitoring.sgml @@ -1250,7 +1250,7 @@ postgres 27093 0.0 0.0 30096 2752 ? Ss 11:34 0:00 postgres: ser <entry>Waiting in an extension.</entry> </row> <row> - <entry morerows="16"><literal>IPC</></entry> + <entry morerows="17"><literal>IPC</></entry> <entry><literal>BgWorkerShutdown</></entry> <entry>Waiting for background worker to shut down.</entry> </row> @@ -1303,6 +1303,10 @@ postgres 27093 0.0 0.0 30096 2752 ? Ss 11:34 0:00 postgres: ser <entry>Waiting for group leader to clear transaction id at transaction end.</entry> </row> <row> + <entry><literal>ClogGroupUpdate</></entry> + <entry>Waiting for group leader to update transaction status at transaction end.</entry> + </row> + <row> <entry><literal>ReplicationOriginDrop</></entry> <entry>Waiting for a replication origin to become inactive to be dropped.</entry> </row> |