On 11/14/2012 06:12 AM, Aaron Bono
wrote:
If I recall correctly, RSS is charged against a PostgreSQL back-end when it touches `shared_buffers`. So that doesn't necessarily mean that the back-end is using the full amount of memory listed as RSS. Yes, measuring how much memory Pg uses is seriously frustrating because OS accounting for shared memory is so bad. See http://www.depesz.com/2012/06/09/how-much-ram-is-postgresql-using/ -- Craig Ringer http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services |