Re: High SYS CPU - need advise

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: High SYS CPU - need advise
Дата
Msg-id 50A40BE2.3010504@hogranch.com
обсуждение исходный текст
Ответ на High SYS CPU - need advise  (Vlad <marchenko@gmail.com>)
Ответы Re: High SYS CPU - need advise  (Vlad <marchenko@gmail.com>)
Список pgsql-general
On 11/14/12 1:13 PM, Vlad wrote:
> Postgresql 9.1.6.
> Postgres usually has 400-500 connected clients, most of them are idle.
> Database is over 1000 tables (across 5 namespaces), taking ~150Gb on disk.

thats a really high client connection count for a 8 core system.

I'd consider implementing a connection pool (like pgbouncer), and
rewriting your client applications to connect, do a transaction,
disconnect, so the actual number of postgres connections is much lower,
say in the 16-48 range.


--
john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Failed Login Attempts parameter
Следующее
От: Vlad
Дата:
Сообщение: Re: High SYS CPU - need advise