X-Original-To: pgsql-performance-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id E3C279FA13E for ; Tue, 13 Jun 2006 18:36:08 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 32666-02 for ; Tue, 13 Jun 2006 18:36:01 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail.leapfrogonline.com (mail.leapfrogonline.com [69.36.35.239]) by postgresql.org (Postfix) with ESMTP id 12FE59F9316 for ; Tue, 13 Jun 2006 18:36:00 -0300 (ADT) Received: from leapfrogonlinecom-MTA by mail.leapfrogonline.com with Novell_GroupWise; Tue, 13 Jun 2006 16:35:50 -0500 Message-Id: <448EE95D.8F27.00A9.0@leapfrogonline.com> X-Mailer: Novell GroupWise Internet Agent 7.0.1 Beta Date: Tue, 13 Jun 2006 16:35:41 -0500 From: "Shaun Thomas" To: "Jim C. Nasby" Cc: ,"Tom Lane" Subject: Re: Confirmation of bad query plan generated by 7.4 References: <9119.1150222168@sss.pgh.pa.us> <448EDFC4.8F27.00A9.0@leapfrogonline.com> <20060613211347.GB34196@pervasive.com> In-Reply-To: <20060613211347.GB34196@pervasive.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/210 X-Sequence-Number: 19567 >>> On 6/13/2006 at 4:13 PM, "Jim C. Nasby" wrote: > Is there some compelling reason to stick with 7.4? In my experience > you'll see around double (+100%) the performance going to 8.1... Not really. We *really* want to upgrade, but we're in the middle of buying the new machine right now. There's also the issue of migrating 37GB of data which I don't look forward to, considering we'll need to set up a slony replication for the entire thing to avoid the hours of downtime necessary for a full dump/restore. > What's your stats target set to for that table? Not sure what you mean by that. It's just that this table has 27M rows extending over 4 years, and I'm not quite sure how to hint to that. An index scan for a few days would be a tiny fraction of the entire table, so PG being insistent on the sequence scans was confusing the hell out of me. -- Shaun Thomas Database Administrator Leapfrog Online 807 Greenwood Street Evanston, IL 60201 Tel. 847-440-8253 Fax. 847-570-5750 www.leapfrogonline.com Confidentiality Note: The document(s) accompanying this e-mail transmission, if any, and the e-mail transmittal message contain information from Leapfrog Online Customer Acquisition, LLC is confidential or privileged. The information is intended to be for the use of the individual(s) or entity(ies) named on this e-mail transmission message. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this e-mail is prohibited. If you have received this e-mail in error, please immediately delete this e-mail and notify us by telephone of the error