Re: [SQL] "SELECT IN" Still Broken in 7.4b

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [SQL] "SELECT IN" Still Broken in 7.4b
Дата
Msg-id 29873.1061504275@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [SQL] "SELECT IN" Still Broken in 7.4b  (Joe Conway <mail@joeconway.com>)
Список pgsql-hackers
Joe Conway <mail@joeconway.com> writes:
> Tom Lane wrote:
>> I'm toying with the notion of ripping out that logic and instead
>> building an in-memory hashtable of already-returned TIDs.  This could
>> theoretically run out of memory if the multiple indexscan returns enough
>> tuples, but I think in practice that wouldn't happen because the planner
>> wouldn't choose an indexscan when very large numbers of tuples are being
>> selected.

> I thought with your recent changes, you could use dynahash, which 
> already spills to disk instead of consuming all memory?

I was going to use dynahash, but it doesn't spill to disk.  You're
confusing that with the HashJoin mechanism, which is quite different and
only really useful for joins.
        regards, tom lane


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

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: [SQL] "SELECT IN" Still Broken in 7.4b
Следующее
От: Manfred Koizar
Дата:
Сообщение: Re: Decent VACUUM (was: Buglist)