Re: How much memory does postgresql require?

From: Jeremy Buchmann <jeremy(at)wellsgaming(dot)com>
To: "Gill, Jeffrey L" <jeffrey(dot)l(dot)gill(at)intel(dot)com>
Cc: "Pgsql Admin (E-mail)" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: How much memory does postgresql require?
Date: 2002-04-01 21:16:38
Message-ID: 3CA8CE36.5020301@wellsgaming.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Gill, Jeffrey L 2002-04-01 21:29:43 Re: [ic] Is Posgresql and Interchange multithreaded?
Previous Message Peter Eisentraut 2002-04-01 21:04:28 Re: Is Posgresql and Interchange multithreaded?