Re: [SQL] making 'like' queries quicker

Поиск
Список
Период
Сортировка
От admin
Тема Re: [SQL] making 'like' queries quicker
Дата
Msg-id Pine.BSF.4.10.9912181451230.11925-100000@server.b0x.com
обсуждение исходный текст
Ответ на Re: [SQL] making 'like' queries quicker  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: [SQL] making 'like' queries quicker  ("tjk@tksoft.com" <tjk@tksoft.com>)
Список pgsql-sql
Whatabout queries which only end with a wildcard? is there any way to
accelerate such a query?

> > Is there a way to make queries using the 'like' operator quicker, more
> > specifically for queries that look like:
> > select name from table where name like '%abc%';
> 
> These kinds of queries (where the search string starts with a wildcard)
> never use indexes, so you're stuck with the sequential scan. A faster
> computer is probably your best option. :(



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: [SQL] count() question
Следующее
От: "tjk@tksoft.com"
Дата:
Сообщение: Re: [SQL] making 'like' queries quicker