Re: Creating indexes

Поиск
Список
Период
Сортировка
От Alan Hodgson
Тема Re: Creating indexes
Дата
Msg-id 200805081252.33830@hal.medialogik.com
обсуждение исходный текст
Ответ на Creating indexes  (Rauan Maemirov <rauan1987@gmail.com>)
Список pgsql-performance
On Thursday 08 May 2008, Rauan Maemirov <rauan1987@gmail.com> wrote:
> Hi, all. I want to ask what type of index is better to create for
> bigint types. I have table with bigint (bigserial) primary key. What
> type is better to use for it? I tried btree and hash, but didn't
> notice any differences in execution time.

A primary key is a unique btree index, and it's as about as good as it gets
for a bigint.

--
Alan

Вложения

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

Предыдущее
От: Rauan Maemirov
Дата:
Сообщение: Creating indexes
Следующее
От: Asche
Дата:
Сообщение: Re: Creating indexes