Re: [HACKERS] choose_bitmap_and again (was Re: Strangely Variable Query Performance)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] choose_bitmap_and again (was Re: Strangely Variable Query Performance)
Дата
Msg-id 4535.1176565965@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Strangely Variable Query Performance  (Steve <cheetah@tanabi.org>)
Список pgsql-performance
"Dann Corbit" <DCorbit@connx.com> writes:
> Instead of sorting, I suggest the quickselect() algorithm, which is
> O(n).

What for?  Common cases have less than half a dozen entries.  That is
not the place we need to be spending engineering effort --- what we
need to worry about is what's the choice algorithm, not implementation
details.

            regards, tom lane

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

Предыдущее
От: Bill Moran
Дата:
Сообщение: Re: Basic Q on superfluous primary keys
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Question about memory allocations