Re: persistent vs. non-persistent

From: Andrew McMillan <andrew(at)catalyst(dot)net(dot)nz>
To: "Brent R(dot) Matzelle" <bmatzelle(at)yahoo(dot)com>
Cc: pgsql-php(at)postgresql(dot)org
Subject: Re: persistent vs. non-persistent
Date: 2001-10-02 19:27:07
Message-ID: 1002050827.27536.7.camel@kant.mcmillan.net.nz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

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

In response to

Browse pgsql-php by date

  From Date Subject
Next Message Adam Lang 2001-10-04 13:01:40 Re: persistent vs. non-persistent
Previous Message Brent R. Matzelle 2001-10-02 16:06:33 Re: persistent vs. non-persistent