Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qprBm-007JUX-9J for pgsql-admin@arkaria.postgresql.org; Mon, 09 Oct 2023 14:24:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qprBk-00EaMH-3U for pgsql-admin@arkaria.postgresql.org; Mon, 09 Oct 2023 14:24:53 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qprAD-00EWKK-Kd for pgsql-admin@lists.postgresql.org; Mon, 09 Oct 2023 14:23:18 +0000 Received: from mailout.easymail.ca ([64.68.200.34]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qprAB-000nXB-OQ for pgsql-admin@lists.postgresql.org; Mon, 09 Oct 2023 14:23:17 +0000 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 105DC63E2E; Mon, 9 Oct 2023 14:22:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=elevated-dev.com; s=easymail; t=1696861333; bh=XoyzvaKNVlG8jxQuORLDMexUd8O28kmb7Jr5wRK8YRE=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=tBWGwP7SAryzAKM4N13lKx3sqoudAP8wyPscA6AhDFfjKt7X7ZzBHv7xs1jvheGGF QWOy0nlkzchPH7aspLR4+vGhPrhh0G+hee7tBKOrby8NTLUbSYcv07VZ2/FavSX6Wu iN2V+igExEfxKHeB62xKcfuloBRU9swtVzRu4JAOYCP7uMpFNT9+1o6V9R6nWckrFV F7gqxaCyJfhlLjzmfvRxvb0Gsiwro5d2DLpFUyARdPBsF82WEijZZDMYI1xap2PbnY Kyb6ywD8lxrOqHZOMuipzrcFSsS2jrMtPS7BXte46gaKTq+6hI0mHzx+XL0nH6VhlH c/6xp0IHs6UOQ== X-Virus-Scanned: Debian amavisd-new at emo07-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo07-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id T54khYo3fatr; Mon, 9 Oct 2023 14:22:12 +0000 (UTC) Received: from smtpclient.apple (unknown [165.140.184.195]) (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 67827638C4; Mon, 9 Oct 2023 14:22:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=elevated-dev.com; s=easymail; t=1696861332; bh=XoyzvaKNVlG8jxQuORLDMexUd8O28kmb7Jr5wRK8YRE=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=INnDglCGgGYrYWkglHG9/u/elRgn1enrT8SWPQmeM1jb+3urD6pi3HmtxGSasCK6V COWenUv04oImcVleeWtlNzJRKSpM7+6pQLaWvVzj4bbzksbWmIM5tUpEwMg77Hnxk4 6qbvHLw0UTRFBeMTanDQhsd41B0A0nbE5f8DzJkdbjkw+k9sphSO35xUFp6Gs/gCbm oO2NRWMfxjSF096Fnn9LGl+OT7UitmYKPRGAggcTXhkADHKk+hksdtBXZfhq2eLjV4 avF/RD3F+CHqddM8hyNfs/13xWhZ3sozU4FysNYHkX+zhEVDRnIY+RWEgIM+4Ad+/c gzclTmBX+QFYQ== Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.100.2.1.4\)) Subject: Re: Discard All in pgbouncer From: Scott Ribe In-Reply-To: Date: Mon, 9 Oct 2023 08:22:01 -0600 Cc: Pgsql-admin Content-Transfer-Encoding: quoted-printable Message-Id: <753F56B9-3E71-4CB7-91DC-70BF3C8E4EC7@elevated-dev.com> References: To: Rajesh Kumar X-Mailer: Apple Mail (2.3774.100.2.1.4) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On Oct 9, 2023, at 8:18=E2=80=AFAM, Rajesh Kumar = wrote: >=20 > Purpose of bouncer is handle idle connections right? Is there a time = period for the DISCARD ALL to go away? If so, how to configure? >=20 > The part I don't understand is if bunch of connections in the name of = Discard all is idle , what difference it make? DISCARD ALL is simply the last query executed. There is no time period = for it to "go away". It is the last query executed on that connection, = and will remain the last query executed on that connection until another = query is executed on that connection.