Re: RAM of Postgres Server - Mailing list pgsql-general

From Ben Chobot
Subject Re: RAM of Postgres Server
Date
Msg-id 7CD622A9-195B-47AB-9F53-E3DE47E424A7@silentmedia.com
Whole thread Raw
In response to Re: RAM of Postgres Server  (Sachin Srivastava <ssr.teleatlas@gmail.com>)
List pgsql-general
On Jan 7, 2016, at 10:32 PM, Sachin Srivastava <ssr.teleatlas@gmail.com> wrote:
>
>
> Dear John,
>
> We are looking at more like 500-600 connections simultaneously in 1 day and I want to say we get 10000 to 12000
connectionsa day per db. 


Unless you have 300 cores to service those 500-600 simultaneous connections, you are really going to want to put your
databasebehind a connection pooler such as pgBouncer. A connection pooler is a proxy that decreases the concurrency on
thedatabase, letting the database see only a few of the connections that clients want to make, and thereby increasing
overallquery throughput. 

If it works for your application, pgBouncer has wonderful mode called transaction pooling, which automatically rotates
clientsinto an open database slot on transaction boundaries.  

pgsql-general by date:

Previous
From: Sachin Srivastava
Date:
Subject: Re: RAM of Postgres Server
Next
From: Sachin Srivastava
Date:
Subject: Function error