X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (developer.postgresql.org [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id 8E8B3B43160 for ; Tue, 8 Jul 2003 05:01:50 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 82340-01 for ; Tue, 8 Jul 2003 02:01:38 -0300 (ADT) Received: from mail.libertyrms.com (unknown [209.167.124.227]) by svr1.postgresql.org (Postfix) with ESMTP id DE888B430D7 for ; Tue, 8 Jul 2003 02:01:37 -0300 (ADT) Received: from [10.1.2.130] (helo=dba2) by mail.libertyrms.com with esmtp (Exim 3.22 #3 (Debian)) id 19Zkbh-0006YH-00 for ; Tue, 08 Jul 2003 01:01:37 -0400 Received: by dba2 (Postfix, from userid 1019) id CD7D6D75A; Tue, 8 Jul 2003 01:02:00 -0400 (EDT) Date: Tue, 8 Jul 2003 01:02:00 -0400 From: Andrew Sullivan To: pgsql-admin@postgresql.org Subject: Re: PostgreSQL settings for 12GB RAM Message-ID: <20030708050200.GF11964@libertyrms.info> Mail-Followup-To: Andrew Sullivan , pgsql-admin@postgresql.org References: <20030707190246.A30074@psychofx.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/84 X-Sequence-Number: 9425 On Mon, Jul 07, 2003 at 04:01:12PM -0600, scott.marlowe wrote: > > This increase in buffers isn't free, since it will now cost Postgresql the > overhead of manageing said buffers, plus they're in unix shared memory, > which isn't all that fast compared to kernel level cache. Also, I learned through painful experience that it gets slower as it has to manage large data sets. After some testing, we attempted a 2G buffer size once, on the grounds that we had 12 G. At first, we saw some happy results, but after a couple days, things got painfully slow. I eventually concluded that once the buffer was full, managing it was making the system crawl. A -- ---- Andrew Sullivan 204-4141 Yonge Street Liberty RMS Toronto, Ontario Canada M2P 2A8 +1 416 646 3304 x110