Re: How to get around LIKE inefficiencies?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: How to get around LIKE inefficiencies?
Дата
Msg-id 200011060236.VAA08519@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?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Sorry to be getting in here late.  Have you tried CLUSTER?  If it is
using an index scan, and it is slow, cluster often helps, especially
when there are several duplicate matches, as there is with LIKE.  Let me
know how that works.

> A brute-force answer would be to remove the url_url index ;-)
> dunno if that would slow down other queries, however.
> 
>             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 по дате отправления:

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