Re: Optimizing Update with WHERE x IN (id1,id2,...)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Optimizing Update with WHERE x IN (id1,id2,...)
Дата
Msg-id 5294.1293031407@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Optimizing Update with WHERE x IN (id1,id2,...)  (Michael Monnerie <michael.monnerie@is.it-management.at>)
Список pgsql-admin
Michael Monnerie <michael.monnerie@is.it-management.at> writes:
> I just saw this EXPLAIN in PostgreSQL 8.3.12:
> [ just like any other bitmap index scan ]
> And it seems to me that could be optimized to skip the "Recheck Cond" as
> that is already checked by the Index Scan?  Should save some CPU cycles.

You evidently don't understand what that's for.  In typical cases it's
not rechecked.  The recheck condition is only applied if the index scan
becomes lossy.

            regards, tom lane

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

Предыдущее
От: Viktor Bojović
Дата:
Сообщение: Re: how made procedure returned different types of value?
Следующее
От: Snoop
Дата:
Сообщение: Re: PostgreSQL in Shared Disk Failover mode on FreeBSD+CARP+RAIDZ