Calculating memory allocaiton per process

From: David Kerr <dmk(at)mr-paradox(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Calculating memory allocaiton per process
Date: 2011-04-14 18:31:05
Message-ID: 20110414183105.GB33793@mr-paradox.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Howdy,

Is there a doc somewhere that has a formula for how much memory PG backend process will use?

I'm looking to get something like total_mem = max_connections * ( work_mem + temp_buffers )
// I know it's more complicated than that, which is why I'm asking =)

Something similar to Table 17-2 here: http://www.postgresql.org/docs/9.0/interactive/kernel-resources.html
would be awesome.

Dave

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tomas Vondra 2011-04-14 18:43:40 Re: Replication: slave is in permanent startup 'recovery'
Previous Message Scott Marlowe 2011-04-14 18:27:34 Re: SSDs with Postgresql?