Re: Nested Loop "Killer" on 8.1

Поиск
Список
Период
Сортировка
От Mark Mielke
Тема Re: Nested Loop "Killer" on 8.1
Дата
Msg-id 4A43E4C6.5030506@mark.mielke.cc
обсуждение исходный текст
Ответ на Re: Nested Loop "Killer" on 8.1  (Greg Stark <gsstark@mit.edu>)
Список 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@mielke.cc>

В списке pgsql-performance по дате отправления:

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: Nested Loop "Killer" on 8.1
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Nested Loop "Killer" on 8.1