pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-admin@lists.postgresql.org
Subject: Re: idle transactions vs memory
Date: Sun, 6 Dec 2020 20:51:46 -0600
Message-ID: <5c110bc3-54c5-ede2-6aea-58b2bd5e7565@gmail.com> (raw)
In-Reply-To: <CA+ONtZ7mpJ7W43G19wATC7aipjUWqBDw1_QQdd7CARAvA7DS3w@mail.gmail.com>
References: <CA+ONtZ7mpJ7W43G19wATC7aipjUWqBDw1_QQdd7CARAvA7DS3w@mail.gmail.com>

On 12/6/20 8:29 PM, Atul Kumar wrote:
> Hi,
>
> I have a basic query that do idle transactions (idle more than 5
> minutes) occupy system memory (RAM) or CPU usage ?
>
>
> Please help me.

Whether or not they occupy RAM or use CPU, idle transactions violate one of 
the fundamental rules of database programming: keep transactions short!

-- 
Angular momentum makes the world go 'round.





view thread (7+ messages)  latest in thread

Message-ID: <5c110bc3-54c5-ede2-6aea-58b2bd5e7565@gmail.com>
Permalink:  ../5c110bc3-54c5-ede2-6aea-58b2bd5e7565@gmail.com/
Also on:    postgresql.org/message-id/5c110bc3-54c5-ede2-6aea-58b2bd5e7565@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: ronljohnsonjr@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: idle transactions vs memory
  In-Reply-To: <5c110bc3-54c5-ede2-6aea-58b2bd5e7565@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox