pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
How much memory does postgresql require?
2+ messages / 2 participants
[nested] [flat]

* How much memory does postgresql require?
@ 2002-04-01 17:48  Gill, Jeffrey L <jeffrey.l.gill@intel.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Gill, Jeffrey L @ 2002-04-01 17:48 UTC (permalink / raw)
  To: pgsql-admin

How much memory does postgresql itself require?  How is memory allocated?
Is memory allocated when client connections are made to specific databases
and is it released when the connection has ended?   Is ps or top the best
way to monitor memory usage?  Are there any tuning recommendations for
memory?  

Specs: RH 7.2, Postgresql  7.2, Interchange 4.8.

Trying to learn Linux, Postgres and IC.   

Thanks,
Jeff



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: How much memory does postgresql require?
@ 2002-04-01 21:16  Jeremy Buchmann <jeremy@wellsgaming.com>
  parent: Gill, Jeffrey L <jeffrey.l.gill@intel.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Jeremy Buchmann @ 2002-04-01 21:16 UTC (permalink / raw)
  To: Gill, Jeffrey L <jeffrey.l.gill@intel.com>; +Cc: pgsql-admin

Gill, Jeffrey L wrote:
> How much memory does postgresql itself require?  How is memory allocated?

Well, this is going to depend on what kind of queries you're doing, how much
data you need sift through, etc.  Databases of any useful size typically
suck a lot of memory.  I think the default shared memory size is 32MB.

> Is memory allocated when client connections are made to specific databases
> and is it released when the connection has ended?

When a connection is made, a process is created which uses memory.  When the
connection ends, the process ends and the memory is released.

> Is ps or top the best way to monitor memory usage?

Whatever you like better, they show the same thing.

> Are there any tuning recommendations for memory?  

Yes.  In the manual.  On the website.

http://www.postgresql.org/   (and then choose a local mirror)

--Jeremy




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2002-04-01 21:16 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-04-01 17:48 How much memory does postgresql require? Gill, Jeffrey L <jeffrey.l.gill@intel.com>
2002-04-01 21:16 ` Jeremy Buchmann <jeremy@wellsgaming.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox