The wait event WalReceiverWaitStart has been categorized in the type Client.
But why? Walreceiver is waiting for startup process to set the lsn and
timeline while it is reporting WalReceiverWaitStart. So its type should be IPC,
instead?

The wait event WalSenderWaitForWAL has also been categorized in the type
Client. While this wait event is being reported, logical replication walsender
is waiting for not only new WAL to be flushed but also the socket to be
readable and writeable (if there is pending data). I guess that this is why
its type is Client. But ISTM walsender is *mainly* waiting for new WAL to be
flushed by other processes during that period, so I think that it's better
to use IPC as the type of the wait event WalSenderWaitForWAL. Thought?

Regards,

--
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION


Reply via email to