Re: Nested Loop "Killer" on 8.1

From: Mark Mielke <mark(at)mark(dot)mielke(dot)cc>
To: Greg Stark <gsstark(at)mit(dot)edu>
Cc: Dave North <DNorth(at)signiant(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Nested Loop "Killer" on 8.1
Date: 2009-06-25 20:57:42
Message-ID: 4A43E4C6.5030506@mark.mielke.cc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On 06/25/2009 04:36 PM, Greg Stark wrote:
>> AND
>> web_user_property_directory_outbox.prop_key like
>> 'location_node_directory_outbox'
>>
>
> Why use "like" for a constant string with no % or _ characters? If you
> used = the planner might be able to come up with a better estimate

Any reason why "like" with a constant string without % or _ is not
optimized to = today?

Cheers,
mark

--
Mark Mielke<mark(at)mielke(dot)cc>

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Tom Lane 2009-06-25 21:05:30 Re: Nested Loop "Killer" on 8.1
Previous Message Greg Stark 2009-06-25 20:36:43 Re: Nested Loop "Killer" on 8.1