Re: moving from MySQL to pgsql

Поиск
Список
Период
Сортировка
От Vineet Deodhar
Тема Re: moving from MySQL to pgsql
Дата
Msg-id CAP5=7opXTot-k_8Gmxm5SGATyCdjt10pzoLASL5b9A-UuFdojw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: moving from MySQL to pgsql  (Craig Ringer <ringerc@ringerc.id.au>)
Ответы Re: moving from MySQL to pgsql  (Vineet Deodhar <vineet.deodhar@gmail.com>)
Список pgsql-general
On Thu, Oct 11, 2012 at 3:04 PM, Craig Ringer <ringerc@ringerc.id.au> wrote:

AFAIK in most situations alignment requirements will mean you won't gain any space in those situations anyway.

I would be truly amazed if you saw more than something like a 1% difference in size due to this; it'll be *massively* outweighed by all the other differences. You're optimising prematurely. See if it's a problem in practice, and if it is look into using a custom data type (warning: lots of work) or some other approach.
--
Craig Ringer



OK.
As per your advise, let me put smallint into practice and analyze the storage requirement.
Thanks a lot.

-- Vineet
--
Best regards,
 
Vineet Deodhar

0 9270012422    ( Sales)
0 9420 6767 41 / 0 844 6268 488  (Service)
0233-2300136   (Back-Office)

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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: auto-increment field : in a simple way
Следующее
От: Vineet Deodhar
Дата:
Сообщение: Re: moving from MySQL to pgsql