Re: max_connections

Поиск
Список
Период
Сортировка
От jam3
Тема Re: max_connections
Дата
Msg-id 1346878307201-5722899.post@n5.nabble.com
обсуждение исходный текст
Ответ на max_connections  ("Modumudi, Sireesha" <Sireesha.Modumudi@emc.com>)
Список pgsql-general
According to

http://www.postgresql.org/docs/8.3/static/kernel-resources.html

The maximum shared memory usage of a connection in bytes is

1800 + 270 * max_locks_per_transaction

max_locks_per_transaction default is 64

19080 Bytes

or .018 mb's per connection

or

1.819 mb at 100 default connections

With a Gig of Phsical Ram setting Shared Buffers to use 25% - 256 mb
dedicated to Postgres

default is using roughly 0.75% for connections

You can extrapolate this out taking into consideration all your specific
variables, total physical RAM, postgresql.conf settings etc but I wouldn;t
run off to use pgpool unless your in an extremly connection heavy
environment as it does add an additional layer within the client server
connection and is another component to config and admin.







--
View this message in context: http://postgresql.1045698.n5.nabble.com/max-connections-tp5722890p5722899.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


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

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: "Too far out of the mainstream"
Следующее
От: Edson Richter
Дата:
Сообщение: Re: "Too far out of the mainstream"