Re: Postgres Performance Tuning

Поиск
Список
Период
Сортировка
От Adarsh Sharma
Тема Re: Postgres Performance Tuning
Дата
Msg-id 4D9B1705.2030601@orkash.com
обсуждение исходный текст
Ответ на Re: Postgres Performance Tuning  (Scott Marlowe <scott.marlowe@gmail.com>)
Ответы Re: Postgres Performance Tuning  (Scott Marlowe <scott.marlowe@gmail.com>)
Список pgsql-performance
Scott Marlowe wrote:
On Tue, Apr 5, 2011 at 1:33 AM, Adarsh Sharma <adarsh.sharma@orkash.com> wrote: 
[root@s8-mysd-2 ~]# free -m
           total       used       free     shared    buffers     cached
Mem:         15917      15826         90          0        101      15013
-/+ buffers/cache:        711      15205
Swap:        16394        143      16250

It means 15 GB memory is cached.   
Note that the kernel takes all otherwise unused memory and uses it for
cache.  If, at any time a process needs more memory, the kernel just
dumps some cached data and frees up the memory and hands it over, it's
all automatic.  As long as cache is large, things are OK.  You need to
be looking to see if you're IO bound or CPU bound first.  so, vmstat
(install the sysstat package) is the first thing to use. 
Thanks a lot , Scott. :-)



Best Regards , Adarsh


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

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: Postgres Performance Tuning
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: Postgres Performance Tuning