From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Daulat Ram <Daulat.Ram@exponential.com>
To: pgsql-performance@lists.postgresql.org <pgsql-performance@lists.postgresql.org>
Subject: Re: Max_connections limit
Date: Wed, 26 Jun 2019 11:05:11 +0200
Message-ID: <58da191b8fbd40c5361bcb332b1defe18f03bb5a.camel@cybertec.at> (raw)
In-Reply-To: <BL0PR01MB5187D60549AA20142C51891C9BE20@BL0PR01MB5187.prod.exchangelabs.com>
References: <BL0PR01MB5187D60549AA20142C51891C9BE20@BL0PR01MB5187.prod.exchangelabs.com>
Daulat Ram wrote:
> We have migrated our database from Oracle 12c to Postgres 11. I need your suggestions ,
> we have sessions limit in Oracle = 3024 . Do we need to set the same connection limit
> in Postgres as well. How we can decide the max_connections limit for postgres.
> Are there any differences in managing connections in Oracle and postgres.
I'd say that is way too high in both Oracle and PostgreSQL.
Set the value to 50 or 100 and get a connection pooler if the
application cannot do that itself.
Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com
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-performance@postgresql.org
Cc: laurenz.albe@cybertec.at, Daulat.Ram@exponential.com, pgsql-performance@lists.postgresql.org
Subject: Re: Max_connections limit
In-Reply-To: <58da191b8fbd40c5361bcb332b1defe18f03bb5a.camel@cybertec.at>
* 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