On Tue, Apr 17, 2018 at 05:11:10PM -0700, David G. Johnston wrote: > Long-lived non-idle statements would likely be waiting for a lock to be > released.
Be very careful with transactions marked as "idle in transaction" for a long time. Long-running transactions prevent VACUUM to do its work as the oldest XID in view is not updated, causing performance to go down, and bloat to go up. -- Michael
signature.asc
Description: PGP signature