Re: 100 simultaneous connections, critical limit?

Поиск
Список
Период
Сортировка
От Shridhar Daithankar
Тема Re: 100 simultaneous connections, critical limit?
Дата
Msg-id 200401141831.00453.shridhar_daithankar@persistent.co.in
обсуждение исходный текст
Ответ на 100 simultaneous connections, critical limit?  (Jón Ragnarsson <jonr@physicallink.com>)
Список pgsql-performance
On Wednesday 14 January 2004 18:18, Jón Ragnarsson wrote:
> I am writing a website that will probably have some traffic.
> Right now I wrap every .php page in pg_connect() and pg_close().
> Then I read somewhere that Postgres only supports 100 simultaneous
> connections (default). Is that a limitation? Should I use some other
> method when writing code for high-traffic website?

Yes. You should rather investigate connection pooling.

I am no php expert but probably this could help you..

http://www.php.net/manual/en/function.pg-pconnect.php

 Shridhar



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

Предыдущее
От: Jón Ragnarsson
Дата:
Сообщение: 100 simultaneous connections, critical limit?
Следующее
От: Christopher Browne
Дата:
Сообщение: Re: 100 simultaneous connections, critical limit?