Hi,
On Fri, Jul 11, 2025 at 11:59:39AM -0400, Andres Freund wrote:
> Hi,
>
> On 2025-07-10 08:21:56 +0000, Bertrand Drouvot wrote:
> > - Let's define a list of "cheap" and a list of "expensive" wait events
> > - Change the code path to increment counters only for the "expensive" ones
> > - Optimize the counter incrementation as much as possible
> >
> > Does that sound reasonable to you?
>
> That does seem like the minimum.
>
> Unfortunately I'm rather doubtful this provides enough value to be worth the
> cost. But I'm rather willing to be proven wrong.
>
I guess that would (among other things) depend of how many wait events would be
tracked. I'll do some study to measure the counters's impact on the wait
events.
BTW, I started to do so by using (i.e adding) probes in
pgstat_report_wait_start()
and pgstat_report_wait_end() (to produce something like the attached), and
I wonder if those probes could be added in the Built-in ones, what do you
think? (that's true that they could be added manually as I did but I'm not sure
about what "deserve" to be added in the Built=in list)).
Regards,
--
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com
@wait_event_hist[timeout, SPIN_DELAY]:
[1K, 2K) 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
@wait_event_hist[ipc, RECOVERY_END_COMMAND]:
[64K, 128K) 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
@wait_event_hist[ipc, ARCHIVE_CLEANUP_COMMAND]:
[1K, 2K) 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
@wait_event_hist[ipc, CHECKPOINT_START]:
[8K, 16K) 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
@wait_event_hist[lwlock, PgStatsHash]:
[8, 16) 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
@wait_event_hist[lock, spectoken]:
[64K, 128K) 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
@wait_event_hist[timeout, BASE_BACKUP_THROTTLE]:
[8K, 16K) 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
@wait_event_hist[client, WAL_SENDER_WRITE_DATA]:
[16, 32) 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[32, 64) 0 | |
[64, 128) 0 | |
[128, 256) 0 | |
[256, 512) 0 | |
[512, 1K) 0 | |
[1K, 2K) 0 | |
[2K, 4K) 0 | |
[4K, 8K) 0 | |
[8K, 16K) 0 | |
[16K, 32K) 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
@wait_event_hist[lwlock, SerializableXactHash]:
[2, 4) 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[4, 8) 0 | |
[8, 16) 0 | |
[16, 32) 0 | |
[32, 64) 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
@wait_event_hist[ipc, HASH_BUILD_ELECT]:
[128, 256) 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
@wait_event_hist[io, SNAPBUILD_READ]:
[4, 8) 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
@wait_event_hist[ipc, REPLICATION_SLOT_DROP]:
[1K, 2K) 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
@wait_event_hist[ipc, MESSAGE_QUEUE_SEND]:
[4, 8) 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[8, 16) 0 | |
[16, 32) 0 | |
[32, 64) 0 | |
[64, 128) 0 | |
[128, 256) 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
@wait_event_hist[ipc, LOGICAL_PARALLEL_APPLY_STATE_CHANGE]:
[8, 16) 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[16, 32) 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[32, 64) 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
@wait_event_hist[ipc, WAL_RECEIVER_WAIT_START]:
[512, 1K) 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[1K, 2K) 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[2K, 4K) 0 | |
[4K, 8K) 0 | |
[8K, 16K) 0 | |
[16K, 32K) 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
@wait_event_hist[ipc, LOGICAL_APPLY_SEND_DATA]:
[16, 32) 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[32, 64) 0 | |
[64, 128) 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[128, 256) 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
@wait_event_hist[ipc, HASH_GROW_BUCKETS_REALLOCATE]:
[16, 32) 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[32, 64) 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@ |
@wait_event_hist[ipc, HASH_GROW_BATCHES_REPARTITION]:
[8, 16) 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[16, 32) 0 | |
[32, 64) 0 | |
[64, 128) 0 | |
[128, 256) 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@ |
@wait_event_hist[ipc, HASH_GROW_BATCHES_FINISH]:
[8, 16) 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[16, 32) 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[32, 64) 0 | |
[64, 128) 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
@wait_event_hist[lwlock, BufferMapping]:
[1] 1 |@@@@@@@@@@@@@@@@@ |
[2, 4) 0 | |
[4, 8) 3 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
@wait_event_hist[lwlock, AioWorkerSubmissionQueue]:
[4, 8) 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[8, 16) 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
@wait_event_hist[lock, tuple]:
[16K, 32K) 4 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
@wait_event_hist[timeout, RECOVERY_APPLY_DELAY]:
[32K, 64K) 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[64K, 128K) 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[128K, 256K) 0 | |
[256K, 512K) 0 | |
[512K, 1M) 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[1M, 2M) 0 | |
[2M, 4M) 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
@wait_event_hist[ipc, HASH_GROW_BUCKETS_ELECT]:
[1] 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[2, 4) 0 | |
[4, 8) 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[8, 16) 0 | |
[16, 32) 0 | |
[32, 64) 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[64, 128) 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[128, 256) 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
@wait_event_hist[io, LOGICAL_REWRITE_CHECKPOINT_SYNC]:
[4, 8) 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[8, 16) 3 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
@wait_event_hist[lwlock, SharedTidBitmap]:
[1] 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[2, 4) 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[4, 8) 0 | |
[8, 16) 0 | |
[16, 32) 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[32, 64) 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@ |
@wait_event_hist[ipc, HASH_BUILD_HASH_INNER]:
[4, 8) 3 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[8, 16) 0 | |
[16, 32) 0 | |
[32, 64) 0 | |
[64, 128) 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[128, 256) 0 | |
[256, 512) 0 | |
[512, 1K) 1 |@@@@@@@@@@@@@@@@@ |
@wait_event_hist[ipc, PROCARRAY_GROUP_UPDATE]:
[2, 4) 3 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[4, 8) 1 |@@@@@@@@@@@@@@@@@ |
[8, 16) 0 | |
[16, 32) 0 | |
[32, 64) 0 | |
[64, 128) 0 | |
[128, 256) 0 | |
[256, 512) 0 | |
[512, 1K) 0 | |
[1K, 2K) 1 |@@@@@@@@@@@@@@@@@ |
[2K, 4K) 1 |@@@@@@@@@@@@@@@@@ |
[4K, 8K) 1 |@@@@@@@@@@@@@@@@@ |
@wait_event_hist[io, WAL_INIT_WRITE]:
[4, 8) 6 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[8, 16) 0 | |
[16, 32) 1 |@@@@@@@@ |
@wait_event_hist[io, WAL_INIT_SYNC]:
[1] 4 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[2, 4) 3 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
@wait_event_hist[io, COPY_FILE_WRITE]:
[8, 16) 7 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
@wait_event_hist[io, CONTROL_FILE_WRITE_UPDATE]:
[1] 7 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
@wait_event_hist[ipc, HASH_GROW_BATCHES_REALLOCATE]:
[2, 4) 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[4, 8) 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[8, 16) 0 | |
[16, 32) 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[32, 64) 0 | |
[64, 128) 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[128, 256) 0 | |
[256, 512) 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[512, 1K) 0 | |
[1K, 2K) 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@ |
@wait_event_hist[io, WAL_COPY_WRITE]:
[4, 8) 3 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[8, 16) 5 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
@wait_event_hist[io, TWOPHASE_FILE_READ]:
[16, 32) 8 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
@wait_event_hist[io, SLRU_READ]:
[1] 1 |@@@@@@@@ |
[2, 4) 1 |@@@@@@@@ |
[4, 8) 6 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
@wait_event_hist[io, TIMELINE_HISTORY_WRITE]:
[4, 8) 8 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
@wait_event_hist[lwlock, SInvalRead]:
[2, 4) 3 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[4, 8) 5 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
@wait_event_hist[ipc, RESTORE_COMMAND]:
[2, 4) 6 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[4, 8) 1 |@@@@@@@@ |
[8, 16) 0 | |
[16, 32) 0 | |
[32, 64) 0 | |
[64, 128) 0 | |
[128, 256) 0 | |
[256, 512) 0 | |
[512, 1K) 0 | |
[1K, 2K) 0 | |
[2K, 4K) 0 | |
[4K, 8K) 0 | |
[8K, 16K) 0 | |
[16K, 32K) 0 | |
[32K, 64K) 0 | |
[64K, 128K) 1 |@@@@@@@@ |
[128K, 256K) 0 | |
[256K, 512K) 0 | |
[512K, 1M) 1 |@@@@@@@@ |
@wait_event_hist[io, TIMELINE_HISTORY_SYNC]:
[4, 8) 6 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[8, 16) 1 |@@@@@@@@ |
[16, 32) 2 |@@@@@@@@@@@@@@@@@ |
@wait_event_hist[lwlock, CheckpointerComm]:
[2, 4) 4 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[4, 8) 0 | |
[8, 16) 1 |@@@@@@@@@@@@@ |
[16, 32) 0 | |
[32, 64) 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[64, 128) 0 | |
[128, 256) 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[256, 512) 1 |@@@@@@@@@@@@@ |
@wait_event_hist[lwlock, SInvalWrite]:
[2, 4) 7 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[4, 8) 5 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
@wait_event_hist[io, TIMELINE_HISTORY_READ]:
[1] 5 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[2, 4) 3 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[4, 8) 1 |@@@@@@@@@@ |
[8, 16) 0 | |
[16, 32) 0 | |
[32, 64) 3 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
@wait_event_hist[lwlock, ParallelHashJoin]:
[1] 1 |@@@@@@@@ |
[2, 4) 0 | |
[4, 8) 1 |@@@@@@@@ |
[8, 16) 3 |@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[16, 32) 0 | |
[32, 64) 0 | |
[64, 128) 0 | |
[128, 256) 0 | |
[256, 512) 6 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[512, 1K) 1 |@@@@@@@@ |
@wait_event_hist[ipc, HASH_GROW_BUCKETS_REINSERT]:
[1] 1 |@@@@@@@@@@@@@ |
[2, 4) 1 |@@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@@@@@@@@@@@@@ |
@wait_event_hist[lwlock, DynamicSharedMemoryControl]:
[2, 4) 1 |@@@@@ |
[4, 8) 10 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[8, 16) 5 |@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[16, 32) 1 |@@@@@ |
[32, 64) 1 |@@@@@ |
@wait_event_hist[io, VERSION_FILE_WRITE]:
[2, 4) 5 |@@@@@@@@@@@@@@@@@@@@@ |
[4, 8) 1 |@@@@ |
[8, 16) 12 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[16, 32) 1 |@@@@ |
[32, 64) 1 |@@@@ |
@wait_event_hist[ipc, BUFFER_IO]:
[4, 8) 2 |@@@@@@@@@ |
[8, 16) 0 | |
[16, 32) 1 |@@@@ |
[32, 64) 11 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[64, 128) 1 |@@@@ |
[128, 256) 1 |@@@@ |
[256, 512) 2 |@@@@@@@@@ |
[512, 1K) 0 | |
[1K, 2K) 0 | |
[2K, 4K) 0 | |
[4K, 8K) 0 | |
[8K, 16K) 1 |@@@@ |
[16K, 32K) 3 |@@@@@@@@@@@@@@ |
@wait_event_hist[io, WAL_BOOTSTRAP_SYNC]:
[2, 4) 4 |@@@@@@@@@@@ |
[4, 8) 18 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
@wait_event_hist[io, WAL_BOOTSTRAP_WRITE]:
[8, 16) 5 |@@@@@@@@@@@@@@@@@@@@ |
[16, 32) 13 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[32, 64) 4 |@@@@@@@@@@@@@@@@ |
@wait_event_hist[client, CLIENT_WRITE]:
[256, 512) 4 |@@@@@@@@@@@@@@@@@@@@ |
[512, 1K) 3 |@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@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[256, 512) 8 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[512, 1K) 9 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[1K, 2K) 0 | |
[2K, 4K) 0 | |
[4K, 8K) 2 |@@@@@@@@@@@ |
@wait_event_hist[timeout, PG_SLEEP]:
[2K, 4K) 18 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[4K, 8K) 6 |@@@@@@@@@@@@@@@@@ |
[8K, 16K) 1 |@@ |
[16K, 32K) 2 |@@@@@ |
[32K, 64K) 0 | |
[64K, 128K) 3 |@@@@@@@@ |
[128K, 256K) 0 | |
[256K, 512K) 0 | |
[512K, 1M) 1 |@@ |
@wait_event_hist[lwlock, PgStatsDSA]:
[2, 4) 1 |@@@ |
[4, 8) 17 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[8, 16) 4 |@@@@@@@@@@@@ |
[16, 32) 1 |@@@ |
[32, 64) 1 |@@@ |
[64, 128) 0 | |
[128, 256) 2 |@@@@@@ |
[256, 512) 5 |@@@@@@@@@@@@@@@ |
@wait_event_hist[timeout, CHECKPOINT_WRITE_DELAY]:
[32K, 64K) 2 |@@@ |
[64K, 128K) 33 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
@wait_event_hist[lwlock, RelCacheInit]:
[16, 32) 1 |@@@ |
[32, 64) 2 |@@@@@@ |
[64, 128) 1 |@@@ |
[128, 256) 3 |@@@@@@@@@ |
[256, 512) 2 |@@@@@@ |
[512, 1K) 1 |@@@ |
[1K, 2K) 8 |@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[2K, 4K) 16 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[4K, 8K) 1 |@@@ |
@wait_event_hist[lock, extend]:
[2, 4) 1 |@@@@ |
[4, 8) 2 |@@@@@@@@@ |
[8, 16) 2 |@@@@@@@@@ |
[16, 32) 0 | |
[32, 64) 1 |@@@@ |
[64, 128) 8 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[128, 256) 11 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[256, 512) 4 |@@@@@@@@@@@@@@@@@@ |
[512, 1K) 3 |@@@@@@@@@@@@@@ |
[1K, 2K) 6 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
@wait_event_hist[timeout, RECOVERY_RETRIEVE_RETRY_INTERVAL]:
[16K, 32K) 1 |@@ |
[32K, 64K) 1 |@@ |
[64K, 128K) 18 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[128K, 256K) 5 |@@@@@@@@@@@@@@ |
[256K, 512K) 14 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
@wait_event_hist[ipc, PROC_SIGNAL_BARRIER]:
[1] 2 |@@@@@ |
[2, 4) 14 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[4, 8) 4 |@@@@@@@@@@@ |
[8, 16) 0 | |
[16, 32) 0 | |
[32, 64) 0 | |
[64, 128) 0 | |
[128, 256) 0 | |
[256, 512) 0 | |
[512, 1K) 0 | |
[1K, 2K) 0 | |
[2K, 4K) 0 | |
[4K, 8K) 18 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[8K, 16K) 0 | |
[16K, 32K) 2 |@@@@@ |
[32K, 64K) 1 |@@ |
@wait_event_hist[ipc, HASH_GROW_BATCHES_DECIDE]:
[1] 2 |@@@@@@ |
[2, 4) 16 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[4, 8) 3 |@@@@@@@@@ |
[8, 16) 1 |@@@ |
[16, 32) 6 |@@@@@@@@@@@@@@@@@@@ |
[32, 64) 4 |@@@@@@@@@@@@@ |
[64, 128) 3 |@@@@@@@@@ |
[128, 256) 0 | |
[256, 512) 4 |@@@@@@@@@@@@@ |
[512, 1K) 3 |@@@@@@@@@ |
[1K, 2K) 1 |@@@ |
@wait_event_hist[io, DATA_FILE_TRUNCATE]:
[1] 25 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[2, 4) 7 |@@@@@@@@@@@@@@ |
[4, 8) 10 |@@@@@@@@@@@@@@@@@@@@ |
[8, 16) 1 |@@ |
@wait_event_hist[io, WAL_COPY_READ]:
[8, 16) 41 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[16, 32) 3 |@@@ |
@wait_event_hist[io, WAL_COPY_SYNC]:
[8, 16) 8 |@@@@@@@@@@@@@@@@ |
[16, 32) 26 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[32, 64) 9 |@@@@@@@@@@@@@@@@@@ |
[64, 128) 1 |@@ |
@wait_event_hist[ipc, XACT_GROUP_UPDATE]:
[256, 512) 27 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[512, 1K) 10 |@@@@@@@@@@@@@@@@@@@ |
[1K, 2K) 0 | |
[2K, 4K) 1 |@ |
[4K, 8K) 0 | |
[8K, 16K) 1 |@ |
[16K, 32K) 0 | |
[32K, 64K) 0 | |
[64K, 128K) 0 | |
[128K, 256K) 6 |@@@@@@@@@@@ |
[256K, 512K) 2 |@@@ |
@wait_event_hist[lwlock, XactSLRU]:
[2, 4) 26 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[4, 8) 19 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[8, 16) 3 |@@@@@@ |
[16, 32) 0 | |
[32, 64) 3 |@@@@@@ |
[64, 128) 0 | |
[128, 256) 0 | |
[256, 512) 0 | |
[512, 1K) 0 | |
[1K, 2K) 0 | |
[2K, 4K) 0 | |
[4K, 8K) 0 | |
[8K, 16K) 0 | |
[16K, 32K) 1 |@@ |
@wait_event_hist[io, SLRU_SYNC]:
[1] 2 |@@ |
[2, 4) 45 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[4, 8) 6 |@@@@@@ |
[8, 16) 1 |@ |
[16, 32) 1 |@ |
@wait_event_hist[io, SLRU_WRITE]:
[4, 8) 3 |@@@@@@ |
[8, 16) 23 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[16, 32) 25 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[32, 64) 4 |@@@@@@@@ |
@wait_event_hist[io, WALSENDER_TIMELINE_HISTORY_READ]:
[1] 2 |@@@ |
[2, 4) 14 |@@@@@@@@@@@@@@@@@@@@@@@ |
[4, 8) 31 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[8, 16) 8 |@@@@@@@@@@@@@ |
[16, 32) 1 |@ |
@wait_event_hist[io, REPLICATION_SLOT_READ]:
[2, 4) 7 |@@@@@@@@@@@ |
[4, 8) 32 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[8, 16) 20 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[16, 32) 1 |@ |
@wait_event_hist[io, REORDER_LOGICAL_MAPPING_READ]:
[16, 32) 18 |@@@@@@@@@@@@@@@@@@@@@@@@ |
[32, 64) 39 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@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K, 16K) 8 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[16K, 32K) 4 |@@@@@@@@@@@@@@@@@@ |
@wait_event_hist[io, WAL_WRITE]:
[2, 4) 4 |@@@@ |
[4, 8) 44 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[8, 16) 33 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[16, 32) 1 |@ |
@wait_event_hist[ipc, EXECUTE_GATHER]:
[64, 128) 1 |@ |
[128, 256) 0 | |
[256, 512) 1 |@ |
[512, 1K) 12 |@@@@@@@@@@@@@@@@@@@@ |
[1K, 2K) 31 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[2K, 4K) 14 |@@@@@@@@@@@@@@@@@@@@@@@ |
[4K, 8K) 6 |@@@@@@@@@@ |
[8K, 16K) 17 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[16K, 32K) 2 |@@@ |
[32K, 64K) 1 |@ |
[64K, 128K) 2 |@@@ |
@wait_event_hist[lwlock, PgStatsData]:
[1] 2 |@@ |
[2, 4) 0 | |
[4, 8) 45 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[8, 16) 25 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[16, 32) 2 |@@ |
[32, 64) 10 |@@@@@@@@@@@ |
[64, 128) 6 |@@@@@@ |
[128, 256) 1 |@ |
[256, 512) 0 | |
[512, 1K) 0 | |
[1K, 2K) 0 | |
[2K, 4K) 1 |@ |
@wait_event_hist[ipc, HASH_BATCH_ALLOCATE]:
[2, 4) 22 |@@@@@@@@@@@@@@@@@@@@ |
[4, 8) 4 |@@@ |
[8, 16) 0 | |
[16, 32) 1 | |
[32, 64) 0 | |
[64, 128) 13 |@@@@@@@@@@@ |
[128, 256) 57 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[256, 512) 11 |@@@@@@@@@@ |
[512, 1K) 3 |@@ |
[1K, 2K) 1 | |
@wait_event_hist[lock, advisory]:
[2, 4) 1 |@ |
[4, 8) 6 |@@@@@@ |
[8, 16) 0 | |
[16, 32) 0 | |
[32, 64) 0 | |
[64, 128) 0 | |
[128, 256) 0 | |
[256, 512) 0 | |
[512, 1K) 0 | |
[1K, 2K) 0 | |
[2K, 4K) 0 | |
[4K, 8K) 0 | |
[8K, 16K) 12 |@@@@@@@@@@@@ |
[16K, 32K) 20 |@@@@@@@@@@@@@@@@@@@@@ |
[32K, 64K) 49 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[64K, 128K) 20 |@@@@@@@@@@@@@@@@@@@@@ |
[128K, 256K) 5 |@@@@@ |
@wait_event_hist[ipc, PROMOTE]:
[1] 4 |@@@@@@@@ |
[2, 4) 12 |@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[4, 8) 4 |@@@@@@@@ |
[8, 16) 6 |@@@@@@@@@@@@@ |
[16, 32) 12 |@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[32, 64) 24 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[64, 128) 22 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[128, 256) 11 |@@@@@@@@@@@@@@@@@@@@@@@ |
[256, 512) 4 |@@@@@@@@ |
[512, 1K) 4 |@@@@@@@@ |
[1K, 2K) 3 |@@@@@@ |
[2K, 4K) 2 |@@@@ |
[4K, 8K) 3 |@@@@@@ |
[8K, 16K) 2 |@@@@ |
@wait_event_hist[lock, virtualxid]:
[32, 64) 1 | |
[64, 128) 0 | |
[128, 256) 1 | |
[256, 512) 3 |@ |
[512, 1K) 1 | |
[1K, 2K) 1 | |
[2K, 4K) 4 |@@ |
[4K, 8K) 0 | |
[8K, 16K) 91 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[16K, 32K) 11 |@@@@@@ |
[32K, 64K) 24 |@@@@@@@@@@@@@ |
[64K, 128K) 4 |@@ |
[128K, 256K) 4 |@@ |
[256K, 512K) 2 |@ |
[512K, 1M) 2 |@ |
[1M, 2M) 0 | |
[2M, 4M) 0 | |
[4M, 8M) 1 | |
@wait_event_hist[lwlock, LockFastPath]:
[1] 12 |@@@@@@@@@ |
[2, 4) 49 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[4, 8) 63 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[8, 16) 15 |@@@@@@@@@@@@ |
[16, 32) 7 |@@@@@ |
[32, 64) 1 | |
[64, 128) 2 |@ |
[128, 256) 1 | |
[256, 512) 3 |@@ |
[512, 1K) 0 | |
[1K, 2K) 1 | |
[2K, 4K) 1 | |
@wait_event_hist[client, LIBPQWALRECEIVER_RECEIVE]:
[8, 16) 1 | |
[16, 32) 0 | |
[32, 64) 5 |@@@ |
[64, 128) 38 |@@@@@@@@@@@@@@@@@@@@@@@@ |
[128, 256) 80 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[256, 512) 8 |@@@@@ |
[512, 1K) 6 |@@@ |
[1K, 2K) 20 |@@@@@@@@@@@@@ |
[2K, 4K) 12 |@@@@@@@ |
@wait_event_hist[io, LOCK_FILE_ADDTODATADIR_READ]:
[4, 8) 4 |@@ |
[8, 16) 45 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[16, 32) 74 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[32, 64) 39 |@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[64, 128) 8 |@@@@@ |
[128, 256) 0 | |
[256, 512) 1 | |
@wait_event_hist[io, CONTROL_FILE_WRITE]:
[2, 4) 6 |@ |
[4, 8) 169 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[8, 16) 12 |@@@ |
[16, 32) 1 | |
@wait_event_hist[timeout, VACUUM_TRUNCATE]:
[32K, 64K) 200 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
@wait_event_hist[client, LIBPQWALRECEIVER_CONNECT]:
[2, 4) 32 |@@@@@@@@@@@@@@@@@@@@@@@@@ |
[4, 8) 65 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[8, 16) 37 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[16, 32) 3 |@@ |
[32, 64) 0 | |
[64, 128) 4 |@@@ |
[128, 256) 6 |@@@@ |
[256, 512) 12 |@@@@@@@@@ |
[512, 1K) 1 | |
[1K, 2K) 15 |@@@@@@@@@@@@ |
[2K, 4K) 43 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
@wait_event_hist[lock, relation]:
[64, 128) 1 | |
[128, 256) 2 | |
[256, 512) 2 | |
[512, 1K) 1 | |
[1K, 2K) 4 |@ |
[2K, 4K) 1 | |
[4K, 8K) 1 | |
[8K, 16K) 174 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[16K, 32K) 31 |@@@@@@@@@ |
[32K, 64K) 5 |@ |
[64K, 128K) 3 | |
[128K, 256K) 3 | |
[256K, 512K) 2 | |
[512K, 1M) 4 |@ |
@wait_event_hist[lwlock, XidGen]:
[1] 2 | |
[2, 4) 6 |@ |
[4, 8) 230 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[8, 16) 7 |@ |
[16, 32) 9 |@@ |
[32, 64) 0 | |
[64, 128) 0 | |
[128, 256) 1 | |
@wait_event_hist[ipc, BGWORKER_SHUTDOWN]:
[1] 3 |@@ |
[2, 4) 24 |@@@@@@@@@@@@@@@@ |
[4, 8) 28 |@@@@@@@@@@@@@@@@@@@ |
[8, 16) 1 | |
[16, 32) 2 |@ |
[32, 64) 6 |@@@@ |
[64, 128) 5 |@@@ |
[128, 256) 19 |@@@@@@@@@@@@@ |
[256, 512) 27 |@@@@@@@@@@@@@@@@@@ |
[512, 1K) 68 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[1K, 2K) 75 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[2K, 4K) 57 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[4K, 8K) 3 |@@ |
[8K, 16K) 1 | |
@wait_event_hist[io, SNAPBUILD_SYNC]:
[2, 4) 1 | |
[4, 8) 170 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[8, 16) 152 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[16, 32) 5 |@ |
@wait_event_hist[io, TWOPHASE_FILE_SYNC]:
[1] 124 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[2, 4) 138 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[4, 8) 27 |@@@@@@@@@@ |
[8, 16) 32 |@@@@@@@@@@@@ |
[16, 32) 24 |@@@@@@@@@ |
[32, 64) 3 |@ |
@wait_event_hist[lock, transactionid]:
[4K, 8K) 2 | |
[8K, 16K) 300 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[16K, 32K) 34 |@@@@@ |
[32K, 64K) 13 |@@ |
[64K, 128K) 1 | |
[128K, 256K) 1 | |
@wait_event_hist[lwlock, WALInsert]:
[1] 28 |@@@@@@@@@ |
[2, 4) 117 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[4, 8) 159 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[8, 16) 38 |@@@@@@@@@@@@ |
[16, 32) 7 |@@ |
[32, 64) 4 |@ |
[64, 128) 2 | |
[128, 256) 1 | |
[256, 512) 1 | |
[512, 1K) 0 | |
[1K, 2K) 0 | |
[2K, 4K) 0 | |
[4K, 8K) 0 | |
[8K, 16K) 1 | |
@wait_event_hist[lwlock, LockManager]:
[1] 33 |@@@@@@@@@@@ |
[2, 4) 72 |@@@@@@@@@@@@@@@@@@@@@@@@ |
[4, 8) 152 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[8, 16) 39 |@@@@@@@@@@@@@ |
[16, 32) 5 |@ |
[32, 64) 21 |@@@@@@@ |
[64, 128) 19 |@@@@@@ |
[128, 256) 10 |@@@ |
[256, 512) 5 |@ |
[512, 1K) 3 |@ |
[1K, 2K) 4 |@ |
[2K, 4K) 2 | |
[4K, 8K) 1 | |
@wait_event_hist[io, LOGICAL_REWRITE_MAPPING_WRITE]:
[4, 8) 71 |@@@@@@@@@@@@@@@@@@@@@@@@ |
[8, 16) 80 |@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[16, 32) 151 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[32, 64) 67 |@@@@@@@@@@@@@@@@@@@@@@@ |
@wait_event_hist[io, LOGICAL_REWRITE_MAPPING_SYNC]:
[2, 4) 309 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[4, 8) 56 |@@@@@@@@@ |
[8, 16) 3 | |
[16, 32) 1 | |
@wait_event_hist[io, WAL_READ]:
[1] 2 | |
[2, 4) 517 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[4, 8) 33 |@@@ |
[8, 16) 5 | |
[16, 32) 2 | |
@wait_event_hist[io, LOCK_FILE_ADDTODATADIR_WRITE]:
[4, 8) 2 | |
[8, 16) 93 |@@@@@@@@@@@@@@@@@@@@@@@@@ |
[16, 32) 138 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[32, 64) 76 |@@@@@@@@@@@@@@@@@@@@ |
[64, 128) 79 |@@@@@@@@@@@@@@@@@@@@@ |
[128, 256) 48 |@@@@@@@@@@@@@ |
[256, 512) 191 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[512, 1K) 3 | |
[1K, 2K) 2 | |
@wait_event_hist[io, TIMELINE_HISTORY_FILE_SYNC]:
[2, 4) 2 | |
[4, 8) 307 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[8, 16) 292 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[16, 32) 59 |@@@@@@@@@ |
[32, 64) 7 |@ |
[64, 128) 1 | |
@wait_event_hist[io, DATA_FILE_EXTEND]:
[2, 4) 92 |@@@@@@@@@@@@@ |
[4, 8) 368 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[8, 16) 312 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[16, 32) 69 |@@@@@@@@@ |
[32, 64) 19 |@@ |
[64, 128) 2 | |
[128, 256) 1 | |
@wait_event_hist[io, COPY_FILE_READ]:
[1] 64 |@@@@@@@ |
[2, 4) 448 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[4, 8) 371 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[8, 16) 93 |@@@@@@@@@@ |
[16, 32) 23 |@@ |
[32, 64) 3 | |
[64, 128) 1 | |
@wait_event_hist[io, LOCK_FILE_RECHECKDATADIR_READ]:
[1] 88 |@@@@@@@ |
[2, 4) 615 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[4, 8) 335 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[8, 16) 16 |@ |
[16, 32) 4 | |
@wait_event_hist[io, LOCK_FILE_CREATE_WRITE]:
[1] 279 |@@@@@@@@@@@@@@@@@@@@@@@@@ |
[2, 4) 571 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[4, 8) 199 |@@@@@@@@@@@@@@@@@@ |
[8, 16) 8 | |
[16, 32) 0 | |
[32, 64) 1 | |
@wait_event_hist[io, LOCK_FILE_CREATE_SYNC]:
[1] 152 |@@@@@@@@@@@@@@@@@@@ |
[2, 4) 342 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[4, 8) 409 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[8, 16) 146 |@@@@@@@@@@@@@@@@@@ |
[16, 32) 9 |@ |
@wait_event_hist[ipc, HASH_BATCH_ELECT]:
[1] 19 |@@@@ |
[2, 4) 79 |@@@@@@@@@@@@@@@@@ |
[4, 8) 49 |@@@@@@@@@@@ |
[8, 16) 20 |@@@@ |
[16, 32) 34 |@@@@@@@ |
[32, 64) 46 |@@@@@@@@@@ |
[64, 128) 136 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[128, 256) 230 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[256, 512) 163 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[512, 1K) 220 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[1K, 2K) 70 |@@@@@@@@@@@@@@@ |
[2K, 4K) 41 |@@@@@@@@@ |
[4K, 8K) 39 |@@@@@@@@ |
[8K, 16K) 43 |@@@@@@@@@ |
[16K, 32K) 22 |@@@@ |
[32K, 64K) 1 | |
[64K, 128K) 2 | |
[128K, 256K) 24 |@@@@@ |
@wait_event_hist[ipc, ]:
[1] 473 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[2, 4) 584 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[4, 8) 120 |@@@@@@@@@@ |
[8, 16) 13 |@ |
[16, 32) 24 |@@ |
[32, 64) 19 |@ |
[64, 128) 13 |@ |
[128, 256) 20 |@ |
[256, 512) 2 | |
[512, 1K) 4 | |
[1K, 2K) 2 | |
@wait_event_hist[io, DATA_FILE_WRITE]:
[1] 725 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[2, 4) 718 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[4, 8) 114 |@@@@@@@@ |
[8, 16) 7 | |
[16, 32) 2 | |
[32, 64) 0 | |
[64, 128) 0 | |
[128, 256) 1 | |
@wait_event_hist[lwlock, WALWrite]:
[1] 4 | |
[2, 4) 41 |@@@ |
[4, 8) 362 |@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[8, 16) 235 |@@@@@@@@@@@@@@@@@ |
[16, 32) 686 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[32, 64) 695 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[64, 128) 150 |@@@@@@@@@@@ |
[128, 256) 49 |@@@ |
[256, 512) 17 |@ |
[512, 1K) 14 |@ |
[1K, 2K) 9 | |
[2K, 4K) 9 | |
[4K, 8K) 9 | |
[8K, 16K) 8 | |
@wait_event_hist[lwlock, BufferContent]:
[1] 167 |@@@@@@ |
[2, 4) 747 |@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[4, 8) 1413 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[8, 16) 501 |@@@@@@@@@@@@@@@@@@ |
[16, 32) 223 |@@@@@@@@ |
[32, 64) 122 |@@@@ |
[64, 128) 120 |@@@@ |
[128, 256) 186 |@@@@@@ |
[256, 512) 72 |@@ |
[512, 1K) 52 |@ |
[1K, 2K) 30 |@ |
[2K, 4K) 22 | |
[4K, 8K) 8 | |
@wait_event_hist[io, DATA_FILE_PREFETCH]:
[2, 4) 12 | |
[4, 8) 1701 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[8, 16) 1255 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[16, 32) 1076 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[32, 64) 91 |@@ |
[64, 128) 18 | |
[128, 256) 8 | |
@wait_event_hist[extensions, ]:
[1] 1153 |@@@@@@@@@@@@@@@@@@@ |
[2, 4) 29 | |
[4, 8) 135 |@@ |
[8, 16) 3015 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[16, 32) 906 |@@@@@@@@@@@@@@@ |
[32, 64) 50 | |
[64, 128) 11 | |
[128, 256) 8 | |
[256, 512) 8 | |
[512, 1K) 10 | |
[1K, 2K) 1 | |
[2K, 4K) 0 | |
[4K, 8K) 0 | |
[8K, 16K) 0 | |
[16K, 32K) 1 | |
[32K, 64K) 0 | |
[64K, 128K) 0 | |
[128K, 256K) 1 | |
@wait_event_hist[io, REORDER_BUFFER_WRITE]:
[1] 503 |@@@@@@@@@@ |
[2, 4) 1183 |@@@@@@@@@@@@@@@@@@@@@@@@ |
[4, 8) 2222 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[8, 16) 2552 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[16, 32) 273 |@@@@@ |
[32, 64) 8 | |
[64, 128) 4 | |
[128, 256) 2 | |
[256, 512) 0 | |
[512, 1K) 15 | |
[1K, 2K) 1 | |
[2K, 4K) 3 | |
[4K, 8K) 0 | |
[8K, 16K) 1 | |
@wait_event_hist[io, DATA_FILE_IMMEDIATE_SYNC]:
[1] 3843 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[2, 4) 2085 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[4, 8) 1316 |@@@@@@@@@@@@@@@@@ |
[8, 16) 1088 |@@@@@@@@@@@@@@ |
[16, 32) 31 | |
[32, 64) 4 | |
@wait_event_hist[io, CONTROL_FILE_READ]:
[1] 674 |@@@ |
[2, 4) 11239 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[4, 8) 5708 |@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[8, 16) 260 |@ |
[16, 32) 48 | |
[32, 64) 0 | |
[64, 128) 0 | |
[128, 256) 0 | |
[256, 512) 0 | |
[512, 1K) 0 | |
[1K, 2K) 0 | |
[2K, 4K) 1 | |
@wait_event_hist[io, BASEBACKUP_READ]:
[1] 35 | |
[2, 4) 207 |@@ |
[4, 8) 207 |@@ |
[8, 16) 325 |@@@ |
[16, 32) 4420 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[32, 64) 4122 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[64, 128) 2135 |@@@@@@@@@@@@@@@@@@@@@@ |
[128, 256) 4951 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[256, 512) 2086 |@@@@@@@@@@@@@@@@@@@@@ |
[512, 1K) 217 |@@ |
[1K, 2K) 3 | |
[2K, 4K) 1 | |
@wait_event_hist[io, CONTROL_FILE_SYNC_UPDATE]:
[2, 4) 1079 |@@@ |
[4, 8) 14432 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[8, 16) 2517 |@@@@@@@@@ |
[16, 32) 636 |@@ |
[32, 64) 76 | |
[64, 128) 5 | |
[128, 256) 3 | |
[256, 512) 0 | |
[512, 1K) 0 | |
[1K, 2K) 1 | |
@wait_event_hist[io, BUFFILE_READ]:
[1] 17 | |
[2, 4) 1369 |@@@@@@ |
[4, 8) 10799 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[8, 16) 7620 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[16, 32) 199 | |
[32, 64) 66 | |
@wait_event_hist[io, WAL_SYNC_METHOD_ASSIGN]:
[4, 8) 25681 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[8, 16) 777 |@ |
[16, 32) 125 | |
[32, 64) 24 | |
[64, 128) 9 | |
[128, 256) 6 | |
[256, 512) 2 | |
@wait_event_hist[io, DSM_ALLOCATE]:
[2, 4) 12718 |@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[4, 8) 24128 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[8, 16) 8692 |@@@@@@@@@@@@@@@@@@ |
[16, 32) 3773 |@@@@@@@@ |
[32, 64) 1245 |@@ |
[64, 128) 107 | |
[128, 256) 798 |@ |
[256, 512) 767 |@ |
[512, 1K) 78 | |
[1K, 2K) 8 | |
[2K, 4K) 2 | |
@wait_event_hist[ipc, PARALLEL_CREATE_INDEX_SCAN]:
[1] 329 | |
[2, 4) 24 | |
[4, 8) 23 | |
[8, 16) 57553 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[16, 32) 4165 |@@@ |
[32, 64) 145 | |
[64, 128) 50 | |
[128, 256) 21 | |
[256, 512) 19 | |
[512, 1K) 2 | |
[1K, 2K) 0 | |
[2K, 4K) 1 | |
[4K, 8K) 0 | |
[8K, 16K) 0 | |
[16K, 32K) 0 | |
[32K, 64K) 0 | |
[64K, 128K) 12 | |
[128K, 256K) 4 | |
@wait_event_hist[io, LOCK_FILE_ADDTODATADIR_SYNC]:
[2, 4) 27210 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
[4, 8) 33209 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[8, 16) 7885 |@@@@@@@@@@@@ |
[16, 32) 741 |@ |
[32, 64) 144 | |
[64, 128) 256 | |
[128, 256) 286 | |
[256, 512) 64 | |
[512, 1K) 7 | |
[1K, 2K) 1 | |
@wait_event_hist[client, CLIENT_READ]:
[1] 2 | |
[2, 4) 331 | |
[4, 8) 1363 |@@ |
[8, 16) 387 | |
[16, 32) 2359 |@@@ |
[32, 64) 6490 |@@@@@@@@@ |
[64, 128) 15317 |@@@@@@@@@@@@@@@@@@@@@@@ |
[128, 256) 33828 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[256, 512) 6152 |@@@@@@@@@ |
[512, 1K) 2922 |@@@@ |
[1K, 2K) 2782 |@@@@ |
[2K, 4K) 2029 |@@@ |
[4K, 8K) 2396 |@@@ |
[8K, 16K) 4236 |@@@@@@ |
[16K, 32K) 808 |@ |
[32K, 64K) 500 | |
[64K, 128K) 61 | |
[128K, 256K) 16 | |
[256K, 512K) 6 | |
[512K, 1M) 3 | |
[1M, 2M) 0 | |
[2M, 4M) 4 | |
@wait_event_hist[io, DATA_FILE_READ]:
[2, 4) 191 | |
[4, 8) 46969 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[8, 16) 14830 |@@@@@@@@@@@@@@@@ |
[16, 32) 16480 |@@@@@@@@@@@@@@@@@@ |
[32, 64) 3604 |@@@ |
[64, 128) 365 | |
[128, 256) 119 | |
[256, 512) 73 | |
[512, 1K) 41 | |
[1K, 2K) 25 | |
[2K, 4K) 4 | |
@wait_event_hist[ipc, PARALLEL_BITMAP_SCAN]:
[1] 254 | |
[2, 4) 42 | |
[4, 8) 47 | |
[8, 16) 105748 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[16, 32) 3700 |@ |
[32, 64) 216 | |
[64, 128) 120 | |
[128, 256) 193 | |
[256, 512) 292 | |
[512, 1K) 21 | |
[1K, 2K) 12 | |
[2K, 4K) 1 | |
[4K, 8K) 1 | |
@wait_event_hist[io, ]:
[1] 11 | |
[2, 4) 71721 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
[4, 8) 23703 |@@@@@@@@@@@@@@@@@ |
[8, 16) 17968 |@@@@@@@@@@@@@ |
[16, 32) 8559 |@@@@@@ |
[32, 64) 1944 |@ |
[64, 128) 342 | |
[128, 256) 170 | |
[256, 512) 216 | |
[512, 1K) 147 | |
[1K, 2K) 100 | |
[2K, 4K) 60 | |
[4K, 8K) 47 | |
[8K, 16K) 105 | |
[16K, 32K) 11 | |