Re: idle transactions vs memory

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

 



On Mon, 2020-12-07 at 11:04 +0530, Atul Kumar wrote:
> The transactions state is 'idle' from more than 15 minutes, so my
> question is that are they occupying any amount of RAM?
> 
> are these 'idle' transactions are using CPU ?

They are not using any CPU, and they are using very little RAM.

They make starting a query (taking a snapshot) a little slower,
but you probably won't notice that.

Their biggest danger is that there is no guarantee that they
remain idle, and if you have too many active sessions, your database
might have more work than it can handle.

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com






[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