Calculating memory allocaiton per process - Mailing list pgsql-general

From David Kerr
Subject Calculating memory allocaiton per process
Date
Msg-id 20110414183105.GB33793@mr-paradox.net
Whole thread Raw
Responses Re: Calculating memory allocaiton per process
List 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

pgsql-general by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: SSDs with Postgresql?
Next
From: Tomas Vondra
Date:
Subject: Re: Replication: slave is in permanent startup 'recovery'