X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 49526D1B583 for ; Wed, 5 Nov 2003 13:49:30 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 44719-03 for ; Wed, 5 Nov 2003 09:49:01 -0400 (AST) Received: from dhcp-7-248.ma.lycos.com (waltham-nat.ma.lycos.com [209.202.205.1]) by svr1.postgresql.org (Postfix) with SMTP id 53070D1B95A for ; Wed, 5 Nov 2003 09:48:57 -0400 (AST) Received: (qmail 20058 invoked from network); 5 Nov 2003 13:52:46 -0000 Received: from dhcp-7-41.ma.lycos.com (HELO squeegit) (10.124.7.41) by dhcp-7-248.ma.lycos.com with SMTP; 5 Nov 2003 13:52:46 -0000 Date: Wed, 5 Nov 2003 08:48:52 -0500 From: Jeff To: Marek Florianczyk Cc: pgsql-admin@postgresql.org Subject: Re: performance problem - 10.000 databases Message-Id: <20031105084852.04d6cfb9.threshar@torgo.978.org> In-Reply-To: <1068039213.28814.116.camel@franki-laptop.tpi.pl> References: <1067594647.22286.57.camel@franki-laptop.tpi.pl> <9643.1067610219@sss.pgh.pa.us> <1068039213.28814.116.camel@franki-laptop.tpi.pl> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/52 X-Sequence-Number: 11040 On 05 Nov 2003 14:33:33 +0100 Marek Florianczyk wrote: > > During this test I was changing some parameters in postgres, and send > kill -HUP ( pg_ctl reload ). I still don't know what settings will be > best for me, except "shared buffers", and some kernel and shell > settings. > as far as I know, -HUP won't make things like shared buffer changes take. you need a full restart of PG. .. but your numbers are different... I guess it did take. huh. .. how much disk IO is going on during these tests? (vmstat 1) Any swapping (also shown in vmstat) Where any of these tables analyze'd? I see you used no indexes, so on each of your tables it must do a seq scan. Try adding an index to your test tables and rerun.. -- Jeff Trout http://www.jefftrout.com/ http://www.stuarthamm.net/