Re: Table partitioning for maximum speed?

Поиск
Список
Период
Сортировка
Искать
От
Joe Conway
Тема
Re: Table partitioning for maximum speed?
Дата
Msg-id
3F871E44.4030104@joeconway.com
Ответ на
Список
Дерево обсуждения
Re: Table partitioning for maximum speed? Vivek Khera <khera@kcilink.com>
Bruno Wolff III wrote:
> The data format change suggested by someone else may be worth trying
> as well. In addition to their suggestions, you might experiment with
> keeping the hash in either 4 ints or 2 bigints. If you use bigints,
> you could probably just use an index on one of the bigints and have
> only a small chance of finding more than one row that matches.
> 

This is an interesting idea. Alternatively just use bytea and store the 
16 bytes directly (i.e. no hex or base64 encoding). There is b-tree 
index support for bytea.

Joe


В списке pgsql-general по дате отправления
От: Greg Stark
Дата:
От: Nigel J. Andrews
Дата:
FAQ