Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1km6o6-0005gr-0P for pgsql-admin@arkaria.postgresql.org; Mon, 07 Dec 2020 03:03:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1km6o4-0001EM-NO for pgsql-admin@arkaria.postgresql.org; Mon, 07 Dec 2020 03:03:20 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1km6o4-0001DU-G5 for pgsql-admin@lists.postgresql.org; Mon, 07 Dec 2020 03:03:20 +0000 Received: from mailout.easymail.ca ([64.68.200.34]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1km6nx-0000dX-5x for pgsql-admin@postgresql.org; Mon, 07 Dec 2020 03:03:19 +0000 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 45AE0BFC63; Mon, 7 Dec 2020 03:03:10 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo04-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo04-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TqpcBMmm9FPO; Mon, 7 Dec 2020 03:03:10 +0000 (UTC) Received: from shr-macbook-pro.local (unknown [4.28.96.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 9055EBF95F; Mon, 7 Dec 2020 03:03:08 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: idle transactions vs memory From: Scott Ribe In-Reply-To: Date: Sun, 6 Dec 2020 19:58:07 -0700 Cc: pgsql-admin Content-Transfer-Encoding: quoted-printable Message-Id: <10CEA2EF-210C-48F3-AC4C-F035292E6CAD@elevated-dev.com> References: To: Atul Kumar X-Mailer: Apple Mail (2.3608.120.23.2.4) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk > On Dec 6, 2020, at 7:29 PM, Atul Kumar wrote: >=20 > I have a basic query that do idle transactions (idle more than 5 > minutes) occupy system memory (RAM) or CPU usage ? Actual idle transaction? Or just idle connections not currently in = transactions?