X-Original-To: pgsql-performance@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id A54C3475EFD for ; Tue, 22 Apr 2003 04:30:57 -0400 (EDT) Received: from flake.decibel.org (flake.decibel.org [66.93.216.19]) by postgresql.org (Postfix) with SMTP id 8BE19475EEE for ; Tue, 22 Apr 2003 04:30:56 -0400 (EDT) Received: (qmail 38845 invoked by uid 1001); 22 Apr 2003 08:30:58 -0000 Date: Tue, 22 Apr 2003 03:30:58 -0500 From: "Jim C. Nasby" To: "scott.marlowe" Cc: Matthew Nuzum , Pgsql-Performance Subject: Re: choosing the right platform Message-ID: <20030422033058.B37876@flake.decibel.org> Reply-To: jim@nasby.net References: <20030409185843.X31861@flake.decibel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from scott.marlowe@ihs.com on Thu, Apr 10, 2003 at 10:42:35AM -0600 X-Operating-System: FreeBSD 4.7-RELEASE-p3 i386 X-Distributed: Join the Effort! http://www.distributed.net X-Spam-Status: No, hits=-38.6 required=5.0 tests=BAYES_10,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,SIGNATURE_SHORT_SPARSE, USER_AGENT_MUTT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/188 X-Sequence-Number: 1694 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?"