Re: NOT LIKE much faster than LIKE? - Mailing list pgsql-performance

From Stephan Szabo
Subject Re: NOT LIKE much faster than LIKE?
Date
Msg-id 20060109185355.S36990@megazone.bigpanda.com
Whole thread Raw
In response to Re: NOT LIKE much faster than LIKE?  (Andrea Arcangeli <andrea@cpushare.com>)
List pgsql-performance
On Tue, 10 Jan 2006, Andrea Arcangeli wrote:

> I see. I can certainly fix it by stopping using LIKE. But IMHO this
> remains a bug, since until the statistics about the numberof matching
> rows isn't estimated well, you should not make assumptions on LIKE/NOT
> LIKE. I think you can change the code in a way that I won't have to
> touch anything, and this will lead to fewer surprises in the future IMHO.

I doubt it, since I would expect that this would be as large a
pessimization for a larger fraction of people than it is an optimization
for you.

pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: NOT LIKE much faster than LIKE?
Next
From: Andrea Arcangeli
Date:
Subject: Re: NOT LIKE much faster than LIKE?