Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 2F3CF9FA0EE for ; Mon, 11 Dec 2006 09:17:35 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-new, port 10024) with ESMTP id 22011-06 for ; Mon, 11 Dec 2006 09:17:18 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from nz-out-0102.google.com (nz-out-0506.google.com [64.233.162.224]) by postgresql.org (Postfix) with ESMTP id 37CDC9F931E for ; Mon, 11 Dec 2006 09:17:18 -0400 (AST) Received: by nz-out-0102.google.com with SMTP id i11so757385nzh for ; Mon, 11 Dec 2006 05:17:16 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=pzn816tasSl3CHTWZz0PYw2Jb82wj/QzfUAb/KaKYWQBBw4bmuE4hIEZMoqVey9ZvGsIN0EANxJ3P93ov23TYKHDdE5bdQ3vxolXbcxAMSurelY523d1jzKUXtT0b3ZfNsWsvmAiH88HdSY1JRUb2opR70iZbNHaLmKYNhEb610= Received: by 10.65.219.6 with SMTP id w6mr2319128qbq.1165843026484; Mon, 11 Dec 2006 05:17:06 -0800 (PST) Received: by 10.65.215.20 with HTTP; Mon, 11 Dec 2006 05:17:06 -0800 (PST) Message-ID: <8a0c7af10612110517v26025645i3d191b9e7e5ab742@mail.gmail.com> Date: Mon, 11 Dec 2006 11:17:06 -0200 From: "Daniel van Ham Colchete" To: pgsql-performance@postgresql.org Subject: Re: New to PostgreSQL, performance considerations In-Reply-To: <20061211121547.GF16692@mathom.us> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <8a0c7af10612101141n2c7727c3r2f92345753960808@mail.gmail.com> <430d92a20612101336r3de8862coe618277fccb4006a@mail.gmail.com> <8a0c7af10612101702i49b5a533v4a2300d90d9dae6b@mail.gmail.com> <20061211021847.GE16692@mathom.us> <8a0c7af10612110305u305124b2v3d63491b5f57a86b@mail.gmail.com> <20061211121547.GF16692@mathom.us> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/222 X-Sequence-Number: 22278 This is very very very true :-)! I just remebered one case with MySQL. When I changed the distro from Conectiva 10 (rpm-based ended brazilian distro) to Gentoo, a MySQL operation that usually took 2 minutes to run, ended in 47 seconds. This is absolutely vage. I don't have how to prove it to you. The old situation doesn't even exists anymore because I used the same hardware on the upgrade. And I can't mesure how each factor helped: compiling glibc and Mysql with good cflags, rebuilding my database in a ordered way, never kernel, etc.. All I know is that this process still runs with less than 1 minute (my database is larger now). I used the very same hardware: P4 3.0Ghz SATA disk without RAID. And I only upgraded because Conectiva's support to their version 10 ended and I need to keep my system up with the security patches. Best, Daniel On 12/11/06, Michael Stone wrote: > On Mon, Dec 11, 2006 at 09:05:56AM -0200, Daniel van Ham Colchete wrote: > >unfortunally I don't have any benchmarks right now. > > That's fairly normal for gentoo users pushing their compile options. > > Mike Stone