Re: Decimal vs. Bigint memory usage

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: Decimal vs. Bigint memory usage
Дата
Msg-id 4E855B07.2090300@ringerc.id.au
обсуждение исходный текст
Ответ на Re: Decimal vs. Bigint memory usage  (Marti Raudsepp <marti@juffo.org>)
Список pgsql-general
On 29/09/2011 9:13 PM, Marti Raudsepp wrote:


>> How does decimal store the number internally,

Numeric is stored as binary-coded decimal. This isn't fast.

I'd say using a bigint is a no-brainer unless you think there's a chance
you might exceed the maximum size for a 64-bit integer.

--
Craig Ringer

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

Предыдущее
От: John R Pierce
Дата:
Сообщение: Re: Deadlock of REINDEX and SELECT queries in PostgresSQL 7.4
Следующее
От: Venkat Balaji
Дата:
Сообщение: Re: could not access file "$libdir/pg_buffercache": No such file or directory