Re: Netflix Prize data

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Netflix Prize data
Дата
Msg-id 24803.1160007491@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Netflix Prize data  ("Mark Woodward" <pgsql@mohawksoft.com>)
Ответы Re: Netflix Prize data  ("Mark Woodward" <pgsql@mohawksoft.com>)
Список pgsql-hackers
"Mark Woodward" <pgsql@mohawksoft.com> writes:
> The rating, however, is one char 1~9. Would making it a char(1) buy anything?

No, that would actually hurt because of the length word for the char
field.  Even if you used the "char" type, which really is only one byte,
you wouldn't win anything because of alignment issues.  Personally I'd
just go for three ints and a date, rather than trying to be cute with
the rating.
        regards, tom lane


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

Предыдущее
От: "Mark Woodward"
Дата:
Сообщение: Re: Netflix Prize data
Следующее
От: "Mark Woodward"
Дата:
Сообщение: Re: Netflix Prize data