pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Recommended number of connections
3+ messages / 3 participants
[nested] [flat]

* Recommended number of connections
@ 2008-09-17 17:01  M C <shimeee@yahoo.com>
  0 siblings, 2 replies; 3+ messages in thread

From: M C @ 2008-09-17 17:01 UTC (permalink / raw)
  To: pgsql-admin

What are the "maximum" amount of "connections" allowed to "postgres"? and what would be a resonable amount of connection/processes to see based on user connections?



      

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Recommended number of connections
@ 2008-09-17 17:30  Tomeh, Husam <HTomeh@facorelogic.com>
  parent: M C <shimeee@yahoo.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Tomeh, Husam @ 2008-09-17 17:30 UTC (permalink / raw)
  To: M C <shimeee@yahoo.com>; pgsql-admin

The maximum number of Postgres connections you can have may be
controlled by adjusting the max_connections PG parameter based on your
anticipated connections needs and requirements.  

 

Make sure that your Kernel's related parameters are also configured
properly to accommodate your max_connections settings (e.g, in Linux,
SEM* kernel's parameters) when increasing the max_connections parameter.

 

http://www.postgresql.org/docs/8.2/static/runtime-config-connection.html
<http://www.postgresql.org/docs/8.2/static/runtime-config-connection.htm
l> 

http://www.postgresql.org/docs/8.2/static/kernel-resources.html#SYSVIPC
<http://www.postgresql.org/docs/8.2/static/kernel-resources.html#SYSVIPC
> 

 

Regards,

      Husam 

________________________________

From: pgsql-admin-owner@postgresql.org
[mailto:pgsql-admin-owner@postgresql.org] On Behalf Of M C
Sent: Wednesday, September 17, 2008 10:01 AM
To: pgsql-admin@postgresql.org
Subject: [ADMIN] Recommended number of connections

 

What are the "maximum" amount of "connections" allowed to "postgres"?
and what would be a resonable amount of connection/processes to see
based on user connections?

 


**********************************************************************
This message contains confidential information intended only for the use of the addressee(s) named above and may contain information that is legally privileged.  If you are not the addressee, or the person responsible for delivering it to the addressee, you are hereby notified that reading, disseminating, distributing or copying this message is strictly prohibited.  If you have received this message by mistake, please immediately notify us by replying to the message and delete the original message immediately thereafter.

Thank you.

                                   FADLD Tag
**********************************************************************

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Recommended number of connections
@ 2008-09-17 17:39  Scott Marlowe <scott.marlowe@gmail.com>
  parent: M C <shimeee@yahoo.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Scott Marlowe @ 2008-09-17 17:39 UTC (permalink / raw)
  To: M C <shimeee@yahoo.com>; +Cc: pgsql-admin

On Wed, Sep 17, 2008 at 11:01 AM, M C <shimeee@yahoo.com> wrote:
> What are the "maximum" amount of "connections" allowed to "postgres"? and
> what would be a resonable amount of connection/processes to see based on
> user connections?

That really depends on what you're doing with it.  If each connection
is doing a simple transaction on a small indexed set, then you can
probably have hundreds of connections open on an even modest machine.
OTOH, if you're running reports across hundreds of megs with a large
work_mem setting then you might be best with only a few dozen or so
connections.

So, what are ya doing and how many users are you supporting at once?



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2008-09-17 17:39 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2008-09-17 17:01 Recommended number of connections M C <shimeee@yahoo.com>
2008-09-17 17:30 ` Tomeh, Husam <HTomeh@facorelogic.com>
2008-09-17 17:39 ` Scott Marlowe <scott.marlowe@gmail.com>

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