Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 8DE12475F5D for ; Tue, 13 Aug 2002 11:42:07 -0400 (EDT) Received: from news.hub.org (news.hub.org [64.49.215.80]) by postgresql.org (Postfix) with ESMTP id 32193475EDD for ; Tue, 13 Aug 2002 11:42:07 -0400 (EDT) Received: by news.hub.org (Postfix, from userid 8) id CFF9D3820DC; Tue, 13 Aug 2002 11:42:05 -0400 (EDT) From: Thomas O'Connell X-Newsgroups: comp.databases.postgresql.admin Subject: performance tuning: shared_buffers, sort_mem; swap Date: Tue, 13 Aug 2002 10:42:12 -0500 Organization: Monster Labs, Inc. Lines: 11 Message-ID: X-Complaints-To: news@hub.org User-Agent: MT-NewsWatcher/3.2 (PPC Mac OS X) To: pgsql-admin@postgresql.org X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200208/140 X-Sequence-Number: 5255 so a while back, i think i recall a post from Bruce Momjian describing an optimum setup for shared_buffers at 25% of available physical memory and sort_mem at 4% of available physical memory. the caveat was to watch for swap activity when these values were being set. so my question is, how much swapping is too much, and is there a way to determine whether postgres is the process causing the swapping? hmm. maybe that's two questions?... :) -tfo