Re: Pg_stat_activity question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday, March 10, 2021, J T <jorge.torralba@xxxxxxxxx> wrote:
pg_stat_activity.

When wait_event_type is null and state is active, is the session waiting on CPU? Can't quite figure out what PG is doing under those conditions. 

Per the “active” its executing a query.  Since its not “waiting” on any specific internal-to-the-instance resource it is either just doing its thing or, as you noted, waiting to be given a CPU by the O/S.

David J.

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux