Received: from bush.rutgersinsurance.com (rutgersinsurance.com [38.138.71.194]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id eBQDeVL33006 for ; Tue, 26 Dec 2000 08:40:31 -0500 (EST) (envelope-from aalang@rutgersinsurance.com) Received: from 6014cwpza006 ([10.10.10.51]) by bush.rutgersinsurance.com (8.9.3/8.9.3) with SMTP id IAA16047 for ; Tue, 26 Dec 2000 08:45:07 -0500 Message-ID: <003e01c06f41$f8637980$330a0a0a@6014cwpza006> From: "Adam Lang" Cc: References: <69F195289743D411B428009027E293C402671096@CLTEXCH1> Subject: Re: PG on a web-server...issues..and some general questions on PG deployment Date: Tue, 26 Dec 2000 08:44:29 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Archive-Number: 200012/217 X-Sequence-Number: 563 I understand what Tom is saying though. I guess whenever someone asks about connection pooling, it is not a yes or no answer. You have to explain the difference. :) Adam Lang Systems Engineer Rutgers Casualty Insurance Company http://www.rutgersinsurance.com ----- Original Message ----- From: "Clark, Joel" To: "'Tom Samplonius'" ; "Adam Lang" Cc: Sent: Friday, December 22, 2000 2:33 PM Subject: RE: [INTERFACES] PG on a web-server...issues..and some general questions on PG deployment > I think you get a persistent connection per httpd process, no? If this > really is the case, you could then limit your connection count by limiting > the number of times that apache will spawn a new process (10 is default, > IIRC) This isn't exactly true pooling, but should be flexible enough to > meet the intent... :) > > Joel > > -----Original Message----- > From: Tom Samplonius [mailto:tom@sdf.com] > Sent: Friday, December 22, 2000 11:39 AM > To: Adam Lang > Cc: pgsql-interfaces@postgresql.org > Subject: Re: [INTERFACES] PG on a web-server...issues..and some general > questions on PG deployment > > > > On Fri, 22 Dec 2000, Adam Lang wrote: > > > > 3. Is PHP/Postgres module capable of server side connection pooling? > > > > Yes. > > The PHP docs are very clear to not referr to it is pooling, but > persistant connections. They are very different things. PHP as a whole > is not capable of pooling, because a separate instance of PHP runs in each > httpd process, and those instances can not shared database connections > between them. > > Tom