pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew McMillan <andrew@catalyst.net.nz>
To: Brent R. Matzelle <bmatzelle@yahoo.com>
Cc: pgsql-php@postgresql.org
Subject: Re: persistent vs. non-persistent
Date: 03 Oct 2001 07:27:07 +1200
Message-ID: <1002050827.27536.7.camel@kant.mcmillan.net.nz> (raw)
In-Reply-To: <20011002142820.86294.qmail@web13004.mail.yahoo.com>
References: <20011002142820.86294.qmail@web13004.mail.yahoo.com>

On Wed, 2001-10-03 at 02:28, Brent R. Matzelle wrote:
> --- Andrew McMillan <andrew @ catalyst.net.nz> wrote:
> > Yes, I believe that is how it works.  For a more reasonable
> > approach to
> > this problem you should look into (something like) DBBalancer
> > (see
> > SourceForge for more info).
> 
> This DBBalancer is very impressive.  What type of performance
> gains have you gotten by using it?

Performance improvement very much depends on the sorts of queries you
do.  Gains are particularly evident for complex queries which return
only a few records, since query plans and data all end up being cached
in the client session.

DBBalancer seems to give about the same level of performance improvement
as persistent connections do, but without needing one PostgreSQL client
/ database / apache session.

Cheers,
					Andrew.
-- 
--------------------------------------------------------------------
Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington
WEB: http://catalyst.net.nz/        PHYS: Level 2, 150-154 Willis St
DDI: +64(4)916-7201    MOB: +64(21)635-694    OFFICE: +64(4)499-2267




view thread (14+ messages)  latest in thread

Message-ID: <1002050827.27536.7.camel@kant.mcmillan.net.nz>
Permalink:  ../1002050827.27536.7.camel@kant.mcmillan.net.nz/
Also on:    postgresql.org/message-id/1002050827.27536.7.camel@kant.mcmillan.net.nz

 · 

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: andrew@catalyst.net.nz, bmatzelle@yahoo.com
  Subject: Re: persistent vs. non-persistent
  In-Reply-To: <1002050827.27536.7.camel@kant.mcmillan.net.nz>
  References: <20011002142820.86294.qmail@web13004.mail.yahoo.com> <1002050827.27536.7.camel@kant.mcmillan.net.nz>

* 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