Re: Bitmap index scans use of filters on available columns

Поиск
Список
Период
Сортировка
От Antonin Houska
Тема Re: Bitmap index scans use of filters on available columns
Дата
Msg-id 20734.1446628341@localhost
обсуждение исходный текст
Ответ на Bitmap index scans use of filters on available columns  (Jeff Janes <jeff.janes@gmail.com>)
Ответы Re: Bitmap index scans use of filters on available columns
Список pgsql-hackers
While prefix expression

y like 'abc%'

can be converted to

y >= 'abc'

(see expand_indexqual_opclause()), I'm not sure any kind of expansion is
possible for '%abc%' which would result in a b-tree searchable condition.

Jeff Janes <jeff.janes@gmail.com> wrote:

> Is there a fundamental reason the filter on y is not being applied to
> the index scan, rather than the heap scan?

--
Antonin Houska
Cybertec Schönig & Schönig GmbH
Gröhrmühlgasse 26
A-2700 Wiener Neustadt
Web: http://www.postgresql-support.de, http://www.cybertec.at



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

Предыдущее
От: Fabien COELHO
Дата:
Сообщение: Re: extend pgbench expressions with functions
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: proposal: PL/Pythonu - function ereport