Re: How to get around LIKE inefficiencies?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: How to get around LIKE inefficiencies?
Дата
Msg-id 200011060353.WAA10742@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: How to get around LIKE inefficiencies?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: How to get around LIKE inefficiencies?
Список pgsql-hackers
I am adding a new TODO item:
* Add SET PERFORMANCE_TIPS option to suggest INDEX, VACUUM, VACUUM  ANALYZE, and CLUSTER

Seems we should be able to emit NOTICE messages suggesting performance
improvements.



> Philip Warner <pjw@rhyme.com.au> writes:
> > Could you trick it into not using the index (AND using the other strategy?)
> > by using a calculation:
> 
> >    AND ( (url.url || ' ') LIKE 'http://www.postgresql.org/% ');
> 
> > it's a bit nasty.
> 
> Looks like a great kluge to me ;-)
> 
>             regards, tom lane
> 


--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: The Hermit Hacker
Дата:
Сообщение: Re: How to get around LIKE inefficiencies?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: How to get around LIKE inefficiencies?