Re: Memory usage per session

Поиск
Список
Период
Сортировка
От Achilleas Mantzios
Тема Re: Memory usage per session
Дата
Msg-id 577FBB32.5030306@matrix.gatewaynet.com
обсуждение исходный текст
Ответ на Re: Memory usage per session  (AMatveev@bitec.ru)
Список pgsql-general
On 08/07/2016 17:07, AMatveev@bitec.ru wrote:
> Hi
>
>>>>> The test performs about 11K lines of code
>>>>> Oracle: about 5M
>>>>> postgreSql: about 160М
>
>> Do you have 100 CPUs on this system which apparently doesn't have 16G
>> of RAM available for PG to use?
> We can say at fact:
> We currently  work at oracle.
> Our code base about 4000 k line of code
> In out last project we have:
> 3000 current connection
> 200 active session
> So 16g it's very optimistic.
> Of course  we think about buy hardware or software.
> It's other question.
> So with this memory consumption it can be really cheaper to by Oracle.
>> If not, you should probably consider connection pooling to reduce the
>> number of PG sessions to something approaching the number of CPUs/cores
>> you have in the system.
> It's  possible only  with  application  server,

No, you can deploy PgPool or PgBouncer.
Apart from that, I just checked in my system. User sessions have size of 16M. Not 160M.

> for local network thick client has reasonable advantages.
>   We just can't implement today all functions on thin client.
>
>
>


--
Achilleas Mantzios
IT DEV Lead
IT DEPT
Dynacom Tankers Mgmt



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pasting a lot of commands to psql
Следующее
От: AMatveev@bitec.ru
Дата:
Сообщение: Re: Memory usage per session