pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Matthew Terenzio <webmaster@localnotion.com>
To: pgsql-php@postgresql.org
Subject: Re: too many clients
Date: Wed, 29 Dec 2004 12:12:13 -0500
Message-ID: <C85319E3-59BC-11D9-B3B3-0003938BDF32@localnotion.com> (raw)
In-Reply-To: <330532b604122908387f7ffde2@mail.gmail.com>
References: <0DC9A380-59AB-11D9-B3B3-0003938BDF32@localnotion.com>
	<330532b604122908387f7ffde2@mail.gmail.com>


On Dec 29, 2004, at 11:38 AM, Mitch Pirtle wrote:

> You got a couple solutions, one of which is getting a connection
> pooler setup between apache(php) and postgres.  SQL Relay
> (sqlrelay.sf.net) could be a common candidate, as I have used it in
> the past with great results.

Yes, I have taken a look at that before. It might be a good time to try 
it.

I don't exactly understand the technical difference between pooled 
connections and persistent ones.

pg_pconnect() is grabbing an existing open connection if one is 
available.

How is  a connection pool more efficient in doing something along these 
lines?

Thanks,

Matt




view thread (15+ messages)  latest in thread

Message-ID: <C85319E3-59BC-11D9-B3B3-0003938BDF32@localnotion.com>
Permalink:  ../C85319E3-59BC-11D9-B3B3-0003938BDF32@localnotion.com/
Also on:    postgresql.org/message-id/C85319E3-59BC-11D9-B3B3-0003938BDF32@localnotion.com

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: webmaster@localnotion.com
  Subject: Re: too many clients
  In-Reply-To: <C85319E3-59BC-11D9-B3B3-0003938BDF32@localnotion.com>
  References: <0DC9A380-59AB-11D9-B3B3-0003938BDF32@localnotion.com> <330532b604122908387f7ffde2@mail.gmail.com> <C85319E3-59BC-11D9-B3B3-0003938BDF32@localnotion.com>

* 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