Re: 12 hour table vacuums

Поиск
Список
Период
Сортировка
От Harald Fuchs
Тема Re: 12 hour table vacuums
Дата
Msg-id pumyu8zxwk.fsf@srv.protecting.net
обсуждение исходный текст
Ответ на 12 hour table vacuums  (Ron St-Pierre <ron.pgsql@shaw.ca>)
Список pgsql-performance
In article <471E26E4.7040804@shaw.ca>,
Ron St-Pierre <ron.pgsql@shaw.ca> writes:

>> For what it's worth NUMERIC columns take more space than you might expect.
>> Figure a minimum of 12 bytes your rows are at about 1.5k each even if the
>> non-numeric columns aren't large themselves. What are the other columns?

> The NUMERIC columns hold currency related values, with values ranging
> from a few cents to the billions, as well as a few negative numbers.

What's the required precision? If it's just cents (or maybe tenths
thereof), you could use BIGINT to store the amount in this precision.
This would give you exact values with much less space.

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: 12 hour table vacuums
Следующее
От: "Giulio Cesare Solaroli"
Дата:
Сообщение: Finalizing commit taking very long