Re: PostgreSQL limitation - Mailing list pgsql-performance

From Michael Paquier
Subject Re: PostgreSQL limitation
Date
Msg-id CAB7nPqSvjF7kssjmb+roobGRD71QWQmj8n0RuMRR9Q9b8mX1Mg@mail.gmail.com
Whole thread Raw
In response to PostgreSQL limitation  (FattahRozzaq <ssoorruu@gmail.com>)
List pgsql-performance
On Mon, Nov 2, 2015 at 7:52 PM, FattahRozzaq <ssoorruu@gmail.com> wrote:
> If I install the PostgreSQL on Linux (Debian),
> How much the limit of max_connections that PostgreSQL can take?
> How much the limit of max_prepared_transactions that PostgreSQL can take?

Per definition, those parameters have a max value of 2^23-1. For a
Postgres instance, a couple of hundred connections is already a lot,
and you'd want not really much more than the maximum number of
connections for max_prepared_transactions.

> How much the limit of max_files_per_process that PostgreSQL can take?

And this one has a maximum limit of 2^31-1. This can be helpful on
some platforms where kernel allows a process to open more files than
it can, like FreeBSD.
--
Michael


pgsql-performance by date:

Previous
From: FattahRozzaq
Date:
Subject: PostgreSQL limitation
Next
From: Tom Lane
Date:
Subject: Re: Slow query in trigger function