@@ -679,6 +679,42 @@ postgres 27093 0.0 0.0 30096 2752 ? Ss 11:34 0:00 postgres: ser
679
679
buffer in question.
680
680
</para>
681
681
</listitem>
682
+ <listitem>
683
+ <para>
684
+ <literal>Activity</>: The server process is idle. This is used by
685
+ system processes waiting for activity in their main processing loop.
686
+ <literal>wait_event</> will identify the specific wait point.
687
+ </para>
688
+ </listitem>
689
+ <listitem>
690
+ <para>
691
+ <literal>Extension</>: The server process is waiting for activity
692
+ in an extension module. This category is useful for modules to
693
+ track custom waiting points.
694
+ </para>
695
+ </listitem>
696
+ <listitem>
697
+ <para>
698
+ <literal>Client</>: The server process is waiting for some activity
699
+ on a socket from user applications, and that the server expects
700
+ something to happen that is independent from its internal processes.
701
+ <literal>wait_event</> will identify the specific wait point.
702
+ </para>
703
+ </listitem>
704
+ <listitem>
705
+ <para>
706
+ <literal>IPC</>: The server process is waiting for some activity
707
+ from another process in the server. <literal>wait_event</> will
708
+ identify the specific wait point.
709
+ </para>
710
+ </listitem>
711
+ <listitem>
712
+ <para>
713
+ <literal>Timeout</>: The server process is waiting for a timeout
714
+ to expire. <literal>wait_event</> will identify the specific wait
715
+ point.
716
+ </para>
717
+ </listitem>
682
718
</itemizedlist>
683
719
</entry>
684
720
</row>
@@ -1085,6 +1121,139 @@ postgres 27093 0.0 0.0 30096 2752 ? Ss 11:34 0:00 postgres: ser
1085
1121
<entry><literal>BufferPin</></entry>
1086
1122
<entry>Waiting to acquire a pin on a buffer.</entry>
1087
1123
</row>
1124
+ <row>
1125
+ <entry morerows="11"><literal>Activity</></entry>
1126
+ <entry><literal>ArchiverMain</></entry>
1127
+ <entry>Waiting in main loop of the archiver process.</entry>
1128
+ </row>
1129
+ <row>
1130
+ <entry><literal>AutoVacuumMain</></entry>
1131
+ <entry>Waiting in main loop of autovacuum launcher process.</entry>
1132
+ </row>
1133
+ <row>
1134
+ <entry><literal>BgWriterHibernate</></entry>
1135
+ <entry>Waiting in background writer process, hibernating.</entry>
1136
+ </row>
1137
+ <row>
1138
+ <entry><literal>BgWriterMain</></entry>
1139
+ <entry>Waiting in main loop of background writer process background worker.</entry>
1140
+ </row>
1141
+ <row>
1142
+ <entry><literal>CheckpointerMain</></entry>
1143
+ <entry>Waiting in main loop of checkpointer process.</entry>
1144
+ </row>
1145
+ <row>
1146
+ <entry><literal>PgStatMain</></entry>
1147
+ <entry>Waiting in main loop of the statistics collector process.</entry>
1148
+ </row>
1149
+ <row>
1150
+ <entry><literal>RecoveryWalAll</></entry>
1151
+ <entry>Waiting for WAL from any kind of source (local, archive or stream) at recovery.</entry>
1152
+ </row>
1153
+ <row>
1154
+ <entry><literal>RecoveryWalStream</></entry>
1155
+ <entry>Waiting for WAL from a stream at recovery.</entry>
1156
+ </row>
1157
+ <row>
1158
+ <entry><literal>SysLoggerMain</></entry>
1159
+ <entry>Waiting in main loop of syslogger process.</entry>
1160
+ </row>
1161
+ <row>
1162
+ <entry><literal>WalReceiverMain</></entry>
1163
+ <entry>Waiting in main loop of WAL receiver process.</entry>
1164
+ </row>
1165
+ <row>
1166
+ <entry><literal>WalSenderMain</></entry>
1167
+ <entry>Waiting in main loop of WAL sender process.</entry>
1168
+ </row>
1169
+ <row>
1170
+ <entry><literal>WalWriterMain</></entry>
1171
+ <entry>Waiting in main loop of WAL writer process.</entry>
1172
+ </row>
1173
+ <row>
1174
+ <entry morerows="5"><literal>Client</></entry>
1175
+ <entry><literal>ClientRead</></entry>
1176
+ <entry>Waiting to read data from the client.</entry>
1177
+ </row>
1178
+ <row>
1179
+ <entry><literal>ClientWrite</></entry>
1180
+ <entry>Waiting to write data from the client.</entry>
1181
+ </row>
1182
+ <row>
1183
+ <entry><literal>SSLOpenServer</></entry>
1184
+ <entry>Waiting for SSL while attempting connection.</entry>
1185
+ </row>
1186
+ <row>
1187
+ <entry><literal>WalReceiverWaitStart</></entry>
1188
+ <entry>Waiting for startup process to send initial data for streaming replication.</entry>
1189
+ </row>
1190
+ <row>
1191
+ <entry><literal>WalSenderWaitForWAL</></entry>
1192
+ <entry>Waiting for WAL to be flushed in WAL sender process.</entry>
1193
+ </row>
1194
+ <row>
1195
+ <entry><literal>WalSenderWriteData</></entry>
1196
+ <entry>Waiting for any activity when processing replies from WAL receiver in WAL sender process.</entry>
1197
+ </row>
1198
+ <row>
1199
+ <entry><literal>Extension</></entry>
1200
+ <entry><literal>Extension</></entry>
1201
+ <entry>Waiting in an extension.</entry>
1202
+ </row>
1203
+ <row>
1204
+ <entry morerows="9"><literal>IPC</></entry>
1205
+ <entry><literal>BgWorkerShutdown</></entry>
1206
+ <entry>Waiting for background worker to shut down.</entry>
1207
+ </row>
1208
+ <row>
1209
+ <entry><literal>BgWorkerStartup</></entry>
1210
+ <entry>Waiting for background worker to start up.</entry>
1211
+ </row>
1212
+ <row>
1213
+ <entry><literal>ExecuteGather</></entry>
1214
+ <entry>Waiting for activity from child process when executing <literal>Gather</> node.</entry>
1215
+ </row>
1216
+ <row>
1217
+ <entry><literal>MessageQueueInternal</></entry>
1218
+ <entry>Waiting for other process to be attached in shared message queue.</entry>
1219
+ </row>
1220
+ <row>
1221
+ <entry><literal>MessageQueuePutMessage</></entry>
1222
+ <entry>Waiting to write a protoocol message to a shared message queue.</entry>
1223
+ </row>
1224
+ <row>
1225
+ <entry><literal>MessageQueueReceive</></entry>
1226
+ <entry>Waiting to receive bytes from a shared message queue.</entry>
1227
+ </row>
1228
+ <row>
1229
+ <entry><literal>MessageQueueSend</></entry>
1230
+ <entry>Waiting to send bytes to a shared message queue.</entry>
1231
+ </row>
1232
+ <row>
1233
+ <entry><literal>ParallelFinish</></entry>
1234
+ <entry>Waiting for parallel workers to finish computing.</entry>
1235
+ </row>
1236
+ <row>
1237
+ <entry><literal>SafeSnapshot</></entry>
1238
+ <entry>Waiting for a snapshot for a <literal>READ ONLY DEFERRABLE</> transaction.</entry>
1239
+ </row>
1240
+ <row>
1241
+ <entry><literal>SyncRep</></entry>
1242
+ <entry>Waiting for confirmation from remote server during synchronous replication.</entry>
1243
+ </row>
1244
+ <row>
1245
+ <entry morerows="2"><literal>Timeout</></entry>
1246
+ <entry><literal>BaseBackupThrottle</></entry>
1247
+ <entry>Waiting during base backup when throttling activity.</entry>
1248
+ </row>
1249
+ <row>
1250
+ <entry><literal>PgSleep</></entry>
1251
+ <entry>Waiting in process that called <function>pg_sleep</>.</entry>
1252
+ </row>
1253
+ <row>
1254
+ <entry><literal>RecoveryApplyDelay</></entry>
1255
+ <entry>Waiting to apply WAL at recovery because it is delayed.</entry>
1256
+ </row>
1088
1257
</tbody>
1089
1258
</tgroup>
1090
1259
</table>
0 commit comments