PostgreSQL数据库所有的等待事件

来源于:

Wait Event TypeWait Event NameDescription
LWLockShmemIndexLockWaiting to find or allocate space in shared memory.
OidGenLockWaiting to allocate or assign an OID.
XidGenLockWaiting to allocate or assign a transaction id.
ProcArrayLockWaiting to get a snapshot or clearing a transaction id at transaction end.
SInvalReadLockWaiting to retrieve or remove messages from shared invalidation queue.
SInvalWriteLockWaiting to add a message in shared invalidation queue.
WALBufMappingLockWaiting to replace a page in WAL buffers.
WALWriteLockWaiting for WAL buffers to be written to disk.
ControlFileLockWaiting to read or update the control file or creation of a new WAL file.
CheckpointLockWaiting to perform checkpoint.
CLogControlLockWaiting to read or update transaction status.
SubtransControlLockWaiting to read or update sub-transaction information.
MultiXactGenLockWaiting to read or update shared multixact state.
MultiXactOffsetControlLockWaiting to read or update multixact offset mappings.
MultiXactMemberControlLockWaiting to read or update multixact member mappings.
RelCacheInitLockWaiting to read or write relation cache initialization file.
CheckpointerCommLockWaiting to manage fsync requests.
TwoPhaseStateLockWaiting to read or update the state of prepared transactions.
TablespaceCreateLockWaiting to create or drop the tablespace.
BtreeVacuumLockWaiting to read or update vacuum-related information for a B-tree index.
AddinShmemInitLockWaiting to manage space allocation in shared memory.
AutovacuumLockAutovacuum worker or launcher waiting to update or read the current state of autovacuum workers.
AutovacuumScheduleLockWaiting to ensure that the table it has selected for a vacuum still needs vacuuming.
SyncScanLockWaiting to get the start location of a scan on a table for synchronized scans.
RelationMappingLockWaiting to update the relation map file used to store catalog to filenode mapping.
AsyncCtlLockWaiting to read or update shared notification state.
AsyncQueueLockWaiting to read or update notification messages.
SerializableXactHashLockWaiting to retrieve or store information about serializable transactions.
SerializableFinishedListLockWaiting to access the list of finished serializable transactions.
SerializablePredicateLockListLockWaiting to perform an operation on a list of locks held by serializable transactions.
OldSerXidLockWaiting to read or record conflicting serializable transactions.
SyncRepLockWaiting to read or update information about synchronous replicas.
BackgroundWorkerLockWaiting to read or update background worker state.
DynamicSharedMemoryControlLockWaiting to read or update dynamic shared memory state.
AutoFileLockWaiting to update the postgresql.auto.conf file.
ReplicationSlotAllocationLockWaiting to allocate or free a replication slot.
ReplicationSlotControlLockWaiting to read or update replication slot state.
CommitTsControlLockWaiting to read or update transaction commit timestamps.
CommitTsLockWaiting to read or update the last value set for the transaction timestamp.
ReplicationOriginLockWaiting to setup, drop or use replication origin.
MultiXactTruncationLockWaiting to read or truncate multixact information.
OldSnapshotTimeMapLockWaiting to read or update old snapshot control information.
BackendRandomLockWaiting to generate a random number.
LogicalRepWorkerLockWaiting for action on logical replication worker to finish.
CLogTruncationLockWaiting to truncate the write-ahead log or waiting for write-ahead log truncation to finish.
clogWaiting for I/O on a clog (transaction status) buffer.
commit_timestampWaiting for I/O on commit timestamp buffer.
subtransWaiting for I/O a subtransaction buffer.
multixact_offsetWaiting for I/O on a multixact offset buffer.
multixact_memberWaiting for I/O on a multixact_member buffer.
asyncWaiting for I/O on an async (notify) buffer.
oldserxidWaiting to I/O on an oldserxid buffer.
wal_insertWaiting to insert WAL into a memory buffer.
buffer_contentWaiting to read or write a data page in memory.
buffer_ioWaiting for I/O on a data page.
replication_originWaiting to read or update the replication progress.
replication_slot_ioWaiting for I/O on a replication slot.
procWaiting to read or update the fast-path lock information.
buffer_mappingWaiting to associate a data block with a buffer in the buffer pool.
lock_managerWaiting to add or examine locks for backends, or waiting to join or exit a locking group (used by parallel query).
predicate_lock_managerWaiting to add or examine predicate lock information.
parallel_query_dsaWaiting for parallel query dynamic shared memory allocation lock.
tbmWaiting for TBM shared iterator lock.
LockrelationWaiting to acquire a lock on a relation.
extendWaiting to extend a relation.
pageWaiting to acquire a lock on page of a relation.
tupleWaiting to acquire a lock on a tuple.
transactionidWaiting for a transaction to finish.
virtualxidWaiting to acquire a virtual xid lock.
speculative tokenWaiting to acquire a speculative insertion lock.
objectWaiting to acquire a lock on a non-relation database object.
userlockWaiting to acquire a user lock.
advisoryWaiting to acquire an advisory user lock.
BufferPinBufferPinWaiting to acquire a pin on a buffer.
ActivityArchiverMainWaiting in main loop of the archiver process.
AutoVacuumMainWaiting in main loop of autovacuum launcher process.
BgWriterHibernateWaiting in background writer process, hibernating.
BgWriterMainWaiting in main loop of background writer process background worker.
CheckpointerMainWaiting in main loop of checkpointer process.
LogicalLauncherMainWaiting in main loop of logical launcher process.
LogicalApplyMainWaiting in main loop of logical apply process.
PgStatMainWaiting in main loop of the statistics collector process.
RecoveryWalAllWaiting for WAL from any kind of source (local, archive or stream) at recovery.
RecoveryWalStreamWaiting for WAL from a stream at recovery.
SysLoggerMainWaiting in main loop of syslogger process.
WalReceiverMainWaiting in main loop of WAL receiver process.
WalSenderMainWaiting in main loop of WAL sender process.
WalWriterMainWaiting in main loop of WAL writer process.
ClientClientReadWaiting to read data from the client.
ClientWriteWaiting to write data from the client.
LibPQWalReceiverConnectWaiting in WAL receiver to establish connection to remote server.
LibPQWalReceiverReceiveWaiting in WAL receiver to receive data from remote server.
SSLOpenServerWaiting for SSL while attempting connection.
WalReceiverWaitStartWaiting for startup process to send initial data for streaming replication.
WalSenderWaitForWALWaiting for WAL to be flushed in WAL sender process.
WalSenderWriteDataWaiting for any activity when processing replies from WAL receiver in WAL sender process.
ExtensionExtensionWaiting in an extension.
IPCBgWorkerShutdownWaiting for background worker to shut down.
BgWorkerStartupWaiting for background worker to start up.
BtreePageWaiting for the page number needed to continue a parallel B-tree scan to become available.
ExecuteGatherWaiting for activity from child process when executing Gather node.
LogicalSyncDataWaiting for logical replication remote server to send data for initial table synchronization.
LogicalSyncStateChangeWaiting for logical replication remote server to change state.
MessageQueueInternalWaiting for other process to be attached in shared message queue.
MessageQueuePutMessageWaiting to write a protocol message to a shared message queue.
MessageQueueReceiveWaiting to receive bytes from a shared message queue.
MessageQueueSendWaiting to send bytes to a shared message queue.
ParallelFinishWaiting for parallel workers to finish computing.
ParallelBitmapScanWaiting for parallel bitmap scan to become initialized.
ProcArrayGroupUpdateWaiting for group leader to clear transaction id at transaction end.
ReplicationOriginDropWaiting for a replication origin to become inactive to be dropped.
ReplicationSlotDropWaiting for a replication slot to become inactive to be dropped.
SafeSnapshotWaiting for a snapshot for a READ ONLY DEFERRABLE transaction.
SyncRepWaiting for confirmation from remote server during synchronous replication.
TimeoutBaseBackupThrottleWaiting during base backup when throttling activity.
PgSleepWaiting in process that called pg_sleep.
RecoveryApplyDelayWaiting to apply WAL at recovery because it is delayed.
IOBufFileReadWaiting for a read from a buffered file.
BufFileWriteWaiting for a write to a buffered file.
ControlFileReadWaiting for a read from the control file.
ControlFileSyncWaiting for the control file to reach stable storage.
ControlFileSyncUpdateWaiting for an update to the control file to reach stable storage.
ControlFileWriteWaiting for a write to the control file.
ControlFileWriteUpdateWaiting for a write to update the control file.
CopyFileReadWaiting for a read during a file copy operation.
CopyFileWriteWaiting for a write during a file copy operation.
DataFileExtendWaiting for a relation data file to be extended.
DataFileFlushWaiting for a relation data file to reach stable storage.
DataFileImmediateSyncWaiting for an immediate synchronization of a relation data file to stable storage.
DataFilePrefetchWaiting for an asynchronous prefetch from a relation data file.
DataFileReadWaiting for a read from a relation data file.
DataFileSyncWaiting for changes to a relation data file to reach stable storage.
DataFileTruncateWaiting for a relation data file to be truncated.
DataFileWriteWaiting for a write to a relation data file.
DSMFillZeroWriteWaiting to write zero bytes to a dynamic shared memory backing file.
LockFileAddToDataDirReadWaiting for a read while adding a line to the data directory lock file.
LockFileAddToDataDirSyncWaiting for data to reach stable storage while adding a line to the data directory lock file.
LockFileAddToDataDirWriteWaiting for a write while adding a line to the data directory lock file.
LockFileCreateReadWaiting to read while creating the data directory lock file.
LockFileCreateSyncWaiting for data to reach stable storage while creating the data directory lock file.
LockFileCreateWriteWaiting for a write while creating the data directory lock file.
LockFileReCheckDataDirReadWaiting for a read during recheck of the data directory lock file.
LogicalRewriteCheckpointSyncWaiting for logical rewrite mappings to reach stable storage during a checkpoint.
LogicalRewriteMappingSyncWaiting for mapping data to reach stable storage during a logical rewrite.
LogicalRewriteMappingWriteWaiting for a write of mapping data during a logical rewrite.
LogicalRewriteSyncWaiting for logical rewrite mappings to reach stable storage.
LogicalRewriteWriteWaiting for a write of logical rewrite mappings.
RelationMapReadWaiting for a read of the relation map file.
RelationMapSyncWaiting for the relation map file to reach stable storage.
RelationMapWriteWaiting for a write to the relation map file.
ReorderBufferReadWaiting for a read during reorder buffer management.
ReorderBufferWriteWaiting for a write during reorder buffer management.
ReorderLogicalMappingReadWaiting for a read of a logical mapping during reorder buffer management.
ReplicationSlotReadWaiting for a read from a replication slot control file.
ReplicationSlotRestoreSyncWaiting for a replication slot control file to reach stable storage while restoring it to memory.
ReplicationSlotSyncWaiting for a replication slot control file to reach stable storage.
ReplicationSlotWriteWaiting for a write to a replication slot control file.
SLRUFlushSyncWaiting for SLRU data to reach stable storage during a checkpoint or database shutdown.
SLRUReadWaiting for a read of an SLRU page.
SLRUSyncWaiting for SLRU data to reach stable storage following a page write.
SLRUWriteWaiting for a write of an SLRU page.
SnapbuildReadWaiting for a read of a serialized historical catalog snapshot.
SnapbuildSyncWaiting for a serialized historical catalog snapshot to reach stable storage.
SnapbuildWriteWaiting for a write of a serialized historical catalog snapshot.
TimelineHistoryFileSyncWaiting for a timeline history file received via streaming replication to reach stable storage.
TimelineHistoryFileWriteWaiting for a write of a timeline history file received via streaming replication.
TimelineHistoryReadWaiting for a read of a timeline history file.
TimelineHistorySyncWaiting for a newly created timeline history file to reach stable storage.
TimelineHistoryWriteWaiting for a write of a newly created timeline history file.
TwophaseFileReadWaiting for a read of a two phase state file.
TwophaseFileSyncWaiting for a two phase state file to reach stable storage.
TwophaseFileWriteWaiting for a write of a two phase state file.
WALBootstrapSyncWaiting for WAL to reach stable storage during bootstrapping.
WALBootstrapWriteWaiting for a write of a WAL page during bootstrapping.
WALCopyReadWaiting for a read when creating a new WAL segment by copying an existing one.
WALCopySyncWaiting a new WAL segment created by copying an existing one to reach stable storage.
WALCopyWriteWaiting for a write when creating a new WAL segment by copying an existing one.
WALInitSyncWaiting for a newly initialized WAL file to reach stable storage.
WALInitWriteWaiting for a write while initializing a new WAL file.
WALReadWaiting for a read from a WAL file.
WALSenderTimelineHistoryReadWaiting for a read from a timeline history file during walsender timeline command.
WALSyncMethodAssignWaiting for data to reach stable storage while assigning WAL sync method.
WALWriteWaiting for a write to a WAL file.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值