Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id A046D9FA0EF for ; Sun, 10 Dec 2006 21:02:50 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-new, port 10024) with ESMTP id 17519-09 for ; Sun, 10 Dec 2006 21:02:41 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.181]) by postgresql.org (Postfix) with ESMTP id 1C75E9F9386 for ; Sun, 10 Dec 2006 21:02:45 -0400 (AST) Received: by py-out-1112.google.com with SMTP id a73so321478pye for ; Sun, 10 Dec 2006 17:02:44 -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=rtO+IRH4B6EpOjkNJytD3xvPRZOGv5J/Zjb5IpekrMgcXHshDy5zl0ITiYZkO8jLHD6+mY5p8webJ4C0j88czvhvS32GPfpEA++in2Em6+kiRAxpT7OdsnYLjCMKkQOz66+CaBz+hz7ZfCRZXDu2YxLBIBRMkm6ZkTQW18cSZ9s= Received: by 10.65.185.13 with SMTP id m13mr9883571qbp.1165798964516; Sun, 10 Dec 2006 17:02:44 -0800 (PST) Received: by 10.65.215.20 with HTTP; Sun, 10 Dec 2006 17:02:44 -0800 (PST) Message-ID: <8a0c7af10612101702i49b5a533v4a2300d90d9dae6b@mail.gmail.com> Date: Sun, 10 Dec 2006 23:02:44 -0200 From: "Daniel van Ham Colchete" To: pgsql-performance@postgresql.org Subject: Re: New to PostgreSQL, performance considerations In-Reply-To: <430d92a20612101336r3de8862coe618277fccb4006a@mail.gmail.com> 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> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/192 X-Sequence-Number: 22248 Hi Gene, at my postgresql.conf, the only non-comented lines are: fsync = off lc_messages = 'C' lc_monetary = 'C' lc_numeric = 'C' lc_time = 'C' max_connections = 100 shared_buffers = 5000 temp_buffers = 1000 work_mem = 4096 The only two values I changed are shared_buffers and work_mem. *** BUT *** I'm using Gentoo Linux, so all my libraries (including glibc that is very important to PostgreSQL), and all my softwares are compiled with good CFLAG options to my processor ("-O2 march=athlon-xp (...)"). My Linux is not an Intel-AMD binary compatible turtle like Fedora/RedHat/SUSE/... It's really important to have your GLIBC compiled for your processor. It is essencial for performance. I can't imagine anyone buying a $1k-dollar quad-core XEON and using an i585 compatible distro that doesn't even know what the fudge is SSE/SSE2/vectorized instructions. Best regards, Daniel Colchete On 12/10/06, Gene wrote: > I have a similar type application, I'm partitioning using constraint > exclusion so queries only have to look at a few tables. I've found that > there is some overhead to using partitioning so you should test to see how > many partitions you want to create. Could I check out you postgresql.conf > parameters to compare? thanks > > > Gene Hart