int8 vs int4

Поиск
Список
Период
Сортировка
От mljv@planwerk6.de
Тема int8 vs int4
Дата
Msg-id 200707171741.02460.mljv@planwerk6.de
обсуждение исходный текст
Ответы Re: int8 vs int4  (Richard Huxton <dev@archonet.com>)
Список pgsql-general
I use int8 types in most PK or FK columns in a pg 8.1 database.

Would int4 instead of int8 speed up creation of an index?

int4 will reduze the size of the table, of course. Would this reduce size of
index, too? By the same amount?

How much speed up will i gain on queries? Postgresql Doc mentions a speed-up.
Is it more like 0,1%, 1% or 10% speed-up?

kind regards
Janning


--
kind regards,
janning


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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: yet another image: db or filesystem ? question
Следующее
От: Steve Atkins
Дата:
Сообщение: Re: yet another image: db or filesystem ? question