Re: Postgres PHP error

From: Richard Huxton <dev(at)archonet(dot)com>
To: Shaun Clements <ShaunC(at)relyant(dot)co(dot)za>
Cc: "'pgsql-general(at)postgresql(dot)org'" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Postgres PHP error
Date: 2005-05-23 13:47:41
Message-ID: 4291DEFD.7010703@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Shaun Clements wrote:
> Thanks. Great idea.
> I assume there is more than one connection per user.
> As judging by the scope of the system, more than one connection is made.
> Would you suggest I increase the size of the connections.
> What kind of performance decrease would I see, even if 100 isnt always used.

It doesn't cost a lot to have many idle connections.

However - I'd still be tempted to see if the PHP application can't be
tweaked to reduce the time it spends with an open connection. It's
probably a case that scripts are opening connections, making one short
query and leaving the connection open unnecessarily after they've
finished with it.

--
Richard Huxton
Archonet Ltd

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message joe 2005-05-23 13:52:20 Re: Postgresql .NET Data Provider for Visual Studio 2005
Previous Message Philippe Lang 2005-05-23 13:43:40 Re: Postgresql .NET Data Provider for Visual Studio 2005