From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Bhushan Pathak <bhushan(dot)pathak02(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: PostgreSQL 9.2.4 using large amount of memory |
Date: | 2014-01-28 17:32:00 |
Message-ID: | 20140128173200.GA20891@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Mon, Jan 27, 2014 at 12:12:13PM -0500, Tom Lane wrote:
> Bhushan Pathak <bhushan(dot)pathak02(at)gmail(dot)com> writes:
> > In 9.1.3, this usage was upto 25MB with the same load on the same server.
> > With 9.2.4 it has jumped upto ~580 MB. We are monitoring the RES column
> > from top output to get the memory usage.
>
> On most versions of "top", examining RES alone gives a completely
> misleading impression of what's happening. RES minus SHR is a better
> estimate of what the process has really consumed. I don't know why the
> behavior changed from 9.1 to 9.2, but this measurement alone is not
> evidence that you have an actual problem.
These blog entries cover memory consuption analysis:
http://momjian.us/main/blogs/pgblog/2012.html#January_30_2012
http://momjian.us/main/blogs/pgblog/2012.html#February_1_2012
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ Everyone has their own god. +
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2014-01-28 17:33:41 | Re: problem with grant all privileges |
Previous Message | Merlin Moncure | 2014-01-28 14:16:25 | Re: Prepared statements and cursors |