Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id 841E52E004E for ; Tue, 29 Apr 2008 06:09:53 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 83697-01 for ; Tue, 29 Apr 2008 06:09:50 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from qb-out-0506.google.com (qb-out-0506.google.com [72.14.204.231]) by developer.postgresql.org (Postfix) with ESMTP id 62F382E0038 for ; Tue, 29 Apr 2008 06:09:50 -0300 (ADT) Received: by qb-out-0506.google.com with SMTP id o12so7037701qba.17 for ; Tue, 29 Apr 2008 02:09:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=GIiOZlPBpWL3HGDfu7VuNAbv/NCtfZT0qt7xF+7SOrM=; b=wtjyXR+E6cl6iss3yX9Cyfp9am3b2IIgo6pOWu+G9DtV83wnpnM55spkZnu7ZMMxaCNYCnZHl6MNC1O1PtsWhtI2hNUx0CcBrRVRaUdR8Zn0ui/OPlLYrKQesBJrK7fY1qVkulpS9bFSac7f3pnNamSCvrkGfS1wxfs5x6Ymp2Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DO7bCXjMdNnbAWEt0ZkCWeNuMZP1b3eImMmnuMepwffNj/g/W688gzyxotNKnYsmU+qJcX/4LpC54JPf3nDKlVzKMr/Tmi+JqhqPofRvOZ3C8qD8721oMG94zSrIHCrtBbTMswFJ1QigrSEy1VOrK2/EdvhN1BjqasrGdRa10mg= Received: by 10.114.180.1 with SMTP id c1mr7667762waf.121.1209460188673; Tue, 29 Apr 2008 02:09:48 -0700 (PDT) Received: by 10.114.125.17 with HTTP; Tue, 29 Apr 2008 02:09:48 -0700 (PDT) Message-ID: Date: Tue, 29 Apr 2008 11:09:48 +0200 From: "A B" To: pgsql-performance@postgresql.org Subject: Re: Where do a novice do to make it run faster? In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200804/428 X-Sequence-Number: 29921 Here is some more information. Size of database: du -sh /var/lib/pgsql/data/base/* 4,1M /var/lib/pgsql/data/base/1 4,1M /var/lib/pgsql/data/base/10792 4,1M /var/lib/pgsql/data/base/10793 9,1M /var/lib/pgsql/data/base/16388 11M /var/lib/pgsql/data/base/19233 1,6G /var/lib/pgsql/data/base/20970 I'm not sure what the size acctually is... But I can't imagine that it is 1,6 GB!!! I'd say I have 11MB of data in it... Cpu is Intel CoreDuo E6750, 4 GB RAM Harddiscs are two Segate 320 GB SATA discs. running software raid (!!), raid-1.Yes, this might be a big performance hit, but that is what I have right now, in the future I can throw more money on hardware. Will I see a general improvement in performance in 8.3.X over 8.1.11? 2008/4/29 A B : > Right now, version 8.1.11 on centos.x86-64, intel dual core cpu with 2 > sata discs (mirror raid) > > The queries are most select/inserts.. I guess... I'm not sure exactly > what to answer on that. > "explain analyze" is something I have not read about yet. > > > 2008/4/28 Claus Guttesen : > > > > > 1) hardware > > > 2) rewriting my queries and table structures > > > 3) using more predefined queries > > > 4) tweek parameters in the db conf files > > > > > > Of these points: > > > 1) is nothing I can do about right now, but in the future perhaps. > > > 2) will be quite hard right now since there is more code than time. > > > 3) almost like 2 but perhaps more do-able with the current constraints. > > > 4) This seems to be the easiest one to start with... > > > > > > So what should I do/read concerning point 4? > > > If you have other good suggestions I'd be very interested in that. > > > > > > Thank you :-) > > > > You can provide information postgresql-version, what type of queries > > you're running, some explain analyze of those, and what type of > > hardware you're running and what OS is installed. > > > > -- > > regards > > Claus > > > > When lenity and cruelty play for a kingdom, > > the gentlest gamester is the soonest winner. > > > > Shakespeare > > >