Re: Memory use

Поиск
Список
Период
Сортировка
От Fernando Hevia
Тема Re: Memory use
Дата
Msg-id CAGYT1XR0RKhM9mWxO9NQakx7AxuRZ7h6W8bMOqv=eDFo8LGXdw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Memory use  ("HEARNE, TIMOTHY S" <th1618@att.com>)
Список pgadmin-support


On Tue, Sep 15, 2015 at 12:28 PM, HEARNE, TIMOTHY S <th1618@att.com> wrote:

This is my second plea for assistance.  Can anyone assist me?  I have attempted to download a couple of different tools from the PostgreSQL site.  One would not compile on our server, pg_top-3.7.0, and another was targeted for PostgreSQL 9.3 and later.

If you have any questions, please feel free to contact me.


Tim, by looking at the top output:

top - 09:47:30 up 330 days, 23:12,  1 user,  load average: 2.79, 3.37, 3.14

Tasks: 1525 total,   3 running, 1520 sleeping,   0 stopped,   2 zombie

Cpu(s):  3.0%us,  0.3%sy,  0.0%ni, 96.4%id,  0.4%wa,  0.0%hi,  0.0%si,  0.0%st

Mem:  264114472k total, 193001540k used, 71112932k free,   497484k buffers

Swap: 16779852k total,   697304k used, 16082548k free, 179534676k cached 

I agree with your server guy in that the apps running on this server (including postgres) use about 14 GB RAM. The rest is used for caching filesystem's data.
The rough but simple math here is Mem used + Swap used - cached: 193 + ,7 - 179.5 = 14.2 GB 

I assume you want postgres to use more RAM directly (you should know it benefits a lot from the Linux disk cache but at a greater overhead cost).
Please, don't follow up here. Ask in the postgres Administration list and someone will be able to explain why your postgres DB configuration uses this amount of RAM.

Fernando.

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

Предыдущее
От: Michael Rasmussen
Дата:
Сообщение: Re: Memory use
Следующее
От: Vahdet Mert
Дата:
Сообщение: How to enable PgAdmin Query Tool Favorites