Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 2F6F39FBB35 for ; Tue, 8 May 2007 13:09:30 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 46214-01-2 for ; Tue, 8 May 2007 13:09:26 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 0E08D9FBD3C for ; Tue, 8 May 2007 13:09:25 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id l48G9Gxs002211; Tue, 8 May 2007 12:09:17 -0400 (EDT) To: Alvaro Herrera cc: Susan Russo , sgunderson@bigfoot.com, harvsys@morgan.harvard.edu, pgsql-performance@postgresql.org Subject: Re: specific query (not all) on Pg8 MUCH slower than Pg7 In-reply-to: <20070508153415.GJ4685@alvh.no-ip.org> References: <200705081519.l48FJtsT028597@larrys.harvard.edu> <20070508153415.GJ4685@alvh.no-ip.org> Comments: In-reply-to Alvaro Herrera message dated "Tue, 08 May 2007 11:34:15 -0400" Date: Tue, 08 May 2007 12:09:16 -0400 Message-ID: <2210.1178640556@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200705/129 X-Sequence-Number: 24519 Alvaro Herrera writes: > Susan Russo wrote: >> Next step is to initdb w/C Locale (tonight) (Thanks Tom et al.!). > That's alternative to the pattern_ops index; it won't help you obtain a > plan faster than this one. No, but since their old DB was evidently running in C locale, this seems like a prudent thing to do to avoid other surprising changes in behavior. regards, tom lane