Re: Persistent connections in PHP

Поиск
Список
Период
Сортировка
От Josh Trutwin
Тема Re: Persistent connections in PHP
Дата
Msg-id 20070813095522.07d453bc@prokofiev.trutwins.homeip.net
обсуждение исходный текст
Ответ на Re: Persistent connections in PHP  (Erik Jones <erik@myemma.com>)
Ответы Re: Persistent connections in PHP
Список pgsql-general
On Mon, 13 Aug 2007 09:44:26 -0500
Erik Jones <erik@myemma.com> wrote:

> I'll agree with Scott on this one.  (Not that I can recall
> specifically ever disagreeing with him before...).  Unless you
> know all of the potential caveats associated with php's persisent
> postgres connections and have a use case that fits them, don't use
> them.  If you need something to pool connections, look at pgpool.

Could elaborate a little on the problems with using php's persistent
connections?

Personally I use ADODB php abstraction library (adodb.sf.net) for my
database stuff and I think there's a way to enable persistent
connections though I just use the default connection.

I've heard before that php's persistent connections are to be
avoided, was just curious as to why though?

Thanks!

Josh

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: non superuser creating flat files
Следующее
От: Erik Jones
Дата:
Сообщение: Re: non superuser creating flat files