Re: bitmap AM design

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: bitmap AM design
Дата
Msg-id 27526.1109950104@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: bitmap AM design  (pgsql@mohawksoft.com)
Ответы Re: bitmap AM design  (pgsql@mohawksoft.com)
Список pgsql-hackers
pgsql@mohawksoft.com writes:
> Anyway, IMHO, hash indexes would be dramatically improved if you could
> specify your own hashing function

That's called a custom operator class.

> and declare initial table size.

It would be interesting to see if setting up the hashtable with about
the right number of buckets initially would make CREATE INDEX enough
faster to be a win ... but that doesn't mean I want to make the user
deal with it.  We could probably hack hashbuild() to estimate the
size of the parent table using the same code that the planner is now
using (ie, actual size in pages times a possibly-dead-reckoning rows
per page estimate).
        regards, tom lane


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

Предыдущее
От: Bostjan Potocnik
Дата:
Сообщение: db cluster ?
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: Solving hash table overrun problems