Re: bigint integers up to 19 digits.

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: bigint integers up to 19 digits.
Дата
Msg-id 20100204200929.GG5698@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: bigint integers up to 19 digits.  (Jochen Erwied <jochen@pgsql-performance.erwied.eu>)
Список pgsql-performance
Jochen Erwied escribió:

> Maybe using 'numeric(19)' instead of bigint is an alternative. I actually
> don't know how these numbers are stored internally (some kind of BCD, or as
> base-100?), but IMHO they should be faster than strings, although not as
> fast as 'native' types.

base 10000 in the current implementation

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

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

Предыдущее
От: Jochen Erwied
Дата:
Сообщение: Re: bigint integers up to 19 digits.
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Slow query: table iteration (8.3)