X-Original-To: pgsql-performance-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 9BEAE9FB300 for ; Wed, 20 Sep 2006 19:05:18 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 09415-04 for ; Wed, 20 Sep 2006 22:05:06 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from noel.decibel.org (noel.decibel.org [67.100.216.10]) by postgresql.org (Postfix) with ESMTP id DBCDE9FB2F8 for ; Wed, 20 Sep 2006 19:05:05 -0300 (ADT) Received: by noel.decibel.org (Postfix, from userid 1001) id 8412A56431; Wed, 20 Sep 2006 17:05:03 -0500 (CDT) Received: (hashcash-sendmail, from uid 1001); Wed, 20 Sep 2006 17:05:02 -0500 Date: Wed, 20 Sep 2006 17:05:02 -0500 From: "Jim C. Nasby" To: Chris Mair Cc: Nuno Alves , pgsql-performance@postgresql.org Subject: Re: running benchmark test on a 50GB database Message-ID: <20060920220502.GE28987@nasby.net> References: <350f2a20609200828k7c16da77i8933a238e9de847b@mail.gmail.com> <1158767261.18229.139.camel@ultra.home.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1158767261.18229.139.camel@ultra.home.lan> X-Operating-System: FreeBSD 6.0-RELEASE-p4 amd64 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.11 X-Hashcash: 1:20:060920:chrisnospam@1006.org::XFPknXeOoWkyzVfC:00000000000000000 0000000000000000000000002Yd6 X-Hashcash: 1:20:060920:nuno.alexandre.alves@gmail.com::sUwc11HBjh3udVdu:0000000 0000000000000000000000007al8 X-Hashcash: 1:20:060920:pgsql-performance@postgresql.org::Wze3MRhTc/CQ5WlY:00000 0000000000000000000000000zeR X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200609/274 X-Sequence-Number: 20960 On Wed, Sep 20, 2006 at 05:47:41PM +0200, Chris Mair wrote: > > > I am running bechmark test in a 50 GB postgresql database. > > I have the postgresql.conf with all parameters by default. > > In this configuration the database is very, very slow. > > > > Could you please tell which is the best configuration? > > > > My system: > > Pentium D 3.0Ghz > > RAM: 1GB > > HD: 150GB SATA > > We don't know what your database looks like, what the > queries are you're running, what "very, very > slow" means for you and what version of PostgreSQL > on what OS this is :/ > > The two links are a good starting point to tuning your DB: > http://www.postgresql.org/docs/8.1/static/performance-tips.html > http://www.powerpostgresql.com/PerfList/ Also, 1G is kinda light on memory for a 50G database. -- Jim Nasby jim@nasby.net EnterpriseDB http://enterprisedb.com 512.569.9461 (cell)