Re: numeric data types

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: numeric data types
Дата
Msg-id 1084674467.25578.115.camel@tokyo
обсуждение исходный текст
Ответ на numeric data types  ("Jaime Casanova" <el_vigia_ec@hotmail.com>)
Список pgsql-performance
On Fri, 2004-05-14 at 17:08, Jaime Casanova wrote:
> is there any diff. in performance if i use smallint in place of integer?

Assuming you steer clear of planner deficiencies, smallint should be
slightly faster (since it consumes less disk space), but the performance
difference should be very small. Also, alignment/padding considerations
may mean that smallint doesn't actually save any space anyway.

-Neil



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: TPCH 100GB - need some help
Следующее
От: Duane Lee - EGOVX
Дата:
Сообщение: Hardware Platform