pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jim C. Nasby <jim@nasby.net>
To: scott.marlowe <scott.marlowe@ihs.com>
Cc: Matthew Nuzum <cobalt@bearfruit.org>
Cc: Pgsql-Performance <pgsql-performance@postgresql.org>
Subject: Re: choosing the right platform
Date: Tue, 22 Apr 2003 03:30:58 -0500
Message-ID: <20030422033058.B37876@flake.decibel.org> (raw)
In-Reply-To: <Pine.LNX.4.33.0304100858260.23398-100000@css120.ihs.com>
References: <20030409185843.X31861@flake.decibel.org>
	<Pine.LNX.4.33.0304100858260.23398-100000@css120.ihs.com>

On Thu, Apr 10, 2003 at 10:42:35AM -0600, scott.marlowe wrote:
> The difference between SIZE and SHARE is the delta, which is only 
> something like 3 or 4 megs for the initial select * from logs, but the 
> second one is only 1 meg.  On average, the actual increase in memory usage 
> for postgresql isn't that great, usually about 1 meg.
> 
> Running out of memory isn't really a problem with connections<=200 and 1 
> gig of ram, as long as sort_mem isn't too high.  I/O contention is the 
> killer at that point, as is CPU load.
 
Except you should consider what you could be doing with that 200M, ie:
caching data. Even something as small as 1M per connection starts to add
up.
-- 
Jim C. Nasby (aka Decibel!)                    jim@nasby.net
Member: Triangle Fraternity, Sports Car Club of America
Give your computer some brain candy! www.distributed.net Team #1828

Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming, or what?"




view thread (14+ messages)

Message-ID: <20030422033058.B37876@flake.decibel.org>
Permalink:  ../20030422033058.B37876@flake.decibel.org/
Also on:    postgresql.org/message-id/20030422033058.B37876@flake.decibel.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: jim@nasby.net, scott.marlowe@ihs.com, cobalt@bearfruit.org
  Subject: Re: choosing the right platform
  In-Reply-To: <20030422033058.B37876@flake.decibel.org>
  References: <20030409185843.X31861@flake.decibel.org> <Pine.LNX.4.33.0304100858260.23398-100000@css120.ihs.com> <20030422033058.B37876@flake.decibel.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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