Re: LIKE search and performance

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: LIKE search and performance
Дата
Msg-id 46571825.30707@archonet.com
обсуждение исходный текст
Ответ на Re: LIKE search and performance  (PFC <lists@peufeu.com>)
Ответы Re: LIKE search and performance  (PFC <lists@peufeu.com>)
Список pgsql-performance
PFC wrote:
>
>> OK - any application that allows user-built queries: <choose column:
>> foo> <choose filter: contains> <choose target: "bar">
>>
>> Want another? Any application that has a "search by name" box - users
>> can (and do) put one letter in and hit enter.
>>
>> Unfortunately you don't always have control over the selectivity of
>> queries issued.
>
>     -*- HOW TO MAKE A SEARCH FORM -*-
>
>     Imagine you have to code the search on IMDB.
>
>     This is what a smart developer would do

All good domain-specific tips to provide users with a satisfying
search-experience.

None of which address the question of what plan PG should produce for:
SELECT * FROM bigtable WHERE foo LIKE 's%'

--
   Richard Huxton
   Archonet Ltd

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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: LIKE search and performance
Следующее
От: Arnau
Дата:
Сообщение: Re: How PostgreSQL handles multiple DDBB instances?