Re: Way to avoid expensive Recheck Cond in index lookup?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Way to avoid expensive Recheck Cond in index lookup?
Дата
Msg-id 5795.1198016646@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Way to avoid expensive Recheck Cond in index lookup?  ("Matt Magoffin" <postgresql.org@msqr.us>)
Ответы Re: Way to avoid expensive Recheck Cond in index lookup?
Re: Way to avoid expensive Recheck Cond in index lookup?
Список pgsql-general
"Matt Magoffin" <postgresql.org@msqr.us> writes:
> The problem for me is, the Recheck Cond is then on the xpath() function
> used by the function-based index. My understanding is that then the
> database must actually call the xpath() function again on all matches from
> the index lookup.

This is mistaken.  It only happens if there are so many hits that the
bitmap becomes lossy (which you can control to some extent anyway by
adjusting work_mem).

            regards, tom lane

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

Предыдущее
От: "Matt Magoffin"
Дата:
Сообщение: Way to avoid expensive Recheck Cond in index lookup?
Следующее
От: "Matt Magoffin"
Дата:
Сообщение: Re: Way to avoid expensive Recheck Cond in index lookup?