| От | Tom Lane |
|---|---|
| Тема | Re: How to get around LIKE inefficiencies? |
| Дата | |
| Msg-id | 1942.973480641@sss.pgh.pa.us обсуждение |
| Ответ на | Re: How to get around LIKE inefficiencies? (The Hermit Hacker <scrappy@hub.org>) |
| Ответы |
Re: How to get around LIKE inefficiencies?
|
| Список | pgsql-hackers |
The Hermit Hacker <scrappy@hub.org> writes:
> On Mon, 6 Nov 2000, Philip Warner wrote:
>> At 21:59 5/11/00 -0500, Tom Lane wrote:
>>>> Looks like a great kluge to me ;-)
>>
>> Hmph. I prefer to think of it as a 'user-defined optimizer hint'. ;-}
> Except, if we are telling it to get rid of using the index, may as well
> get rid of it altogether, as updates/inserts would be slowed down by
> having to update that too ...
Sure --- but do you have any other query types where the index *is*
useful? If so, Philip's idea will let you suppress use of the index
for just this one kind of query.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера