Re: Estimation problem with a LIKE clause containing a / - Mailing list pgsql-performance

From Guillaume Smet
Subject Re: Estimation problem with a LIKE clause containing a /
Date
Msg-id 1d4e0c10711071532oc6ed9afq1cbf1b2e69ed49fd@mail.gmail.com
Whole thread Raw
In response to Re: Estimation problem with a LIKE clause containing a /  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-performance
On 11/7/07, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> I wanted the locale (lc_collate), not the encoding.

fr_FR.UTF-8

> That would optimize this particular query and probably pessimize
> a lot of others.

Sure but there aren't a lot of queries based on the ancestors field
and if they are a bit slower, it's not a problem. However having a
query taking forever is not acceptable as the content management app
is unaccessible.
So it can be an acceptable solution in this case, even if not perfect.

--
Guillaume

pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: Estimation problem with a LIKE clause containing a /
Next
From: "Guillaume Smet"
Date:
Subject: Re: Estimation problem with a LIKE clause containing a /