Re: persistent connection

Поиск
Список
Период
Сортировка
От K Parker
Тема Re: persistent connection
Дата
Msg-id BNBBJDEAOMEHAAAA@shared1-mail.whowhere.com
обсуждение исходный текст
Список pgsql-general
>Of course, if that _is_ true, then PHP is all but useless as a layer
>between PostgreSQL and the Web, since the latency in starting a
>pg_Connect is truly horrible.

I haven't found that to be the case at all.  I started out with pg_pconnect() just assuming that I needed to save the
overhead,but we noticed no perceptible-to-the-user difference after we switched to plain pg_connect().  In case it
matters,apache and pgsql are on the same box in our case, so the connection is via unix-domain sockets rather than
tcp/ip.



Join 18 million Eudora users by signing up for a free Eudora Web-Mail account at http://www.eudoramail.com

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

Предыдущее
От: Jason Earl
Дата:
Сообщение: Re: binary data and TEXT
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: 7.0 vs. 7.1 (was: latest version?)