Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 326439FBE58 for ; Fri, 3 Aug 2007 14:55:04 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 61647-04 for ; Fri, 3 Aug 2007 14:54:58 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from davinci.ethosmedia.com (server227.ethosmedia.com [209.128.84.227]) by postgresql.org (Postfix) with ESMTP id AF7D49FBEAE for ; Fri, 3 Aug 2007 14:54:59 -0300 (ADT) X-EthosMedia-Virus-Scanned: no infections found Received: from [64.81.245.111] (account josh@agliodbs.com HELO [192.168.1.27]) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.1.8) with ESMTP-TLS id 12829314; Fri, 03 Aug 2007 10:59:08 -0700 From: Josh Berkus Reply-To: josh@agliodbs.com Organization: Aglio Database Solutions To: pgsql-performance@postgresql.org Subject: Re: Performance problems with large telemetric datasets on 7.4.2 Date: Fri, 3 Aug 2007 10:56:23 -0700 User-Agent: KMail/1.8 Cc: "Sven Clement" References: <881035ea0708030652r37b25a86g61e88e1f5e95eab2@mail.gmail.com> In-Reply-To: <881035ea0708030652r37b25a86g61e88e1f5e95eab2@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200708031056.23569.josh@agliodbs.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200708/22 X-Sequence-Number: 26152 Sven, > The hardware is a IBM X306m Server, 3.2 GHz HT (Pentium IV), 1 GB RAM > and 2x 250 GB HDD (SATA-II) with ext3 fs, one of the HDD is dedicated to > database. OS is Debian 3.1 Sarge with PostgreSQL 7.4.7 (7.4.7-6sarge1) > with the libpq frontend library. Note that 7.4.7 is not the current bugfix version of 7.4.x. It is 5 or 6 patches behind. > So I'm asking me if it is useful to update to the actual 8.2 version and > if we could experience performance improvement only by updating. 8.2 will give you a number of features which should greatly improve your performance situation: 1) partitioning: break up your main data table into smaller easier-to-maintain segments (this will require some application changes) 2) VACUUM delay, which lowers the impact of vacuum on concurrent queries 3) AUTOVACUUM, which helps keep your tables in reasonable maintenance. -- --Josh Josh Berkus PostgreSQL @ Sun San Francisco