Re: [HACKERS] Re: PHPBuilder article -- Postgres vs MySQL

From: The Hermit Hacker <scrappy(at)hub(dot)org>
To: Charles Tassell <ctassell(at)isn(dot)net>
Cc: Adam Lang <aalang(at)rutgersinsurance(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: [HACKERS] Re: PHPBuilder article -- Postgres vs MySQL
Date: 2000-11-16 17:33:08
Message-ID: Pine.BSF.4.21.0011151825070.1069-100000@thelab.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Wed, 15 Nov 2000, Charles Tassell wrote:

> Just a note, I've been using Postgres 7.02 and PHP 4.02 or 4.03 for about a
> month in a couple sites, and haven't experienced any problems with
> persistent connections. Problem might have been fixed in one of the point
> releases, or maybe I just don't have enough different db connections to
> trigger it.

I run PHP4 and IMP (http://www.horde.org) and we've gotten then to remove
the useof pg_pconnect() since it is broken. Broken how, you might
ask? Well, I ran on a standalone machine, no other web users but myself,
to test, and each tim eI hit the database with IMP,. it opened a new
backend, but it never reused old, idle ones ... eventually, you run out of
the ability to connect since you've locked up all connections ...

> >
> At 02:05 PM 11/15/00, Adam Lang wrote:
> >PHP 4 was having problems with persistent connections (not sure if with just
> >pgsql or all dbs). Maybe that is why they didn't use it.
> >
> >Adam Lang
> >Systems Engineer
> >Rutgers Casualty Insurance Company
> >----- Original Message -----
> >From: <joseph(at)randomnetworks(dot)com>
> >To: "carl garland" <carlhgarland(at)hotmail(dot)com>
> >Cc: <martin(at)math(dot)unl(dot)edu(dot)ar>; <RDNELSON(at)co(dot)centre(dot)pa(dot)us>;
> ><davidb(at)vectormath(dot)com>; <mfork(at)toledolink(dot)com>; <poulc(at)cs(dot)auc(dot)dk>;
> ><pgsql-general(at)postgresql(dot)org>; <pgsql-hackers(at)postgresql(dot)org>
> >Sent: Wednesday, November 15, 2000 12:28 PM
> >Subject: Re: [HACKERS] Re: [GENERAL] PHPBuilder article -- Postgres vs MySQL
> >
> >
> > >
> > > On Wed, 15 Nov 2000, carl garland wrote:
> > >
> > > # >perhaps why, even at 5 clients, the page views he shows never went
> > > # >significantly above 10/sec?
> > > #
> > > # I think alot of it has to do with the web server/db setup not pg. They
> >are
> > > # using Apache/PHP and looking at their code every page has the additional
> > > # overhead of making the db connection. Now if they had used AOLserver
> >with
> > > # its persistent db connecction pooling scheme they may have faired better
> >;)
> > >
> > > I haven't actually looked at their code they used to test with to
> > > see if they are actually using it, but Apache/PHP has the ability to do
> > > persistent db connections. I would be surprised that someone like Tim (
> > > who seems to have done a fair bit of php with db stuff) would not make use
> > > of such a feature.
> > >
> > > If you can point out an example of where they are not using this
> > > feature I will gladly stand corrected.
> > >
> > > --------------------------------------------------------------------
> > > | Joseph Scott The Office Of Water Programs |
> > > | joseph(at)randomnetworks(dot)com joseph(dot)scott(at)owp(dot)csus(dot)edu |
> > > --------------------------------------------------------------------
>
>

Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy
Systems Administrator @ hub.org
primary: scrappy(at)hub(dot)org secondary: scrappy(at){freebsd|postgresql}.org

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Stephan Szabo 2000-11-16 17:39:28 Re: Help with pg_trigger
Previous Message turing2000 2000-11-16 16:27:03

Browse pgsql-hackers by date

  From Date Subject
Next Message Zeugswetter Andreas SB 2000-11-16 17:51:15 AW: AW: AW: Coping with 'C' vs 'newC' function language nam esh
Previous Message Alfred Perlstein 2000-11-16 17:32:10 Re: RE: [COMMITTERS] pgsql/src/backend/access/transam ( xact.c xlog.c)