Re: Performance Question - Table Row Size

Поиск
Список
Период
Сортировка
От Douglas McNaught
Тема Re: Performance Question - Table Row Size
Дата
Msg-id 87hco9njxk.fsf@suzuka.mcnaught.org
обсуждение исходный текст
Ответ на Re: Performance Question - Table Row Size  (Mike <akiany@gmail.com>)
Список pgsql-general
Mike <akiany@gmail.com> writes:

> I see. Thank you for the elaborate response. I have a clearer idea of
> what is going on now. In designing my application I was thinking of
> storing pieces of my data as serialized python data structures into a
> binary field (no more than 15KB), while a friend was arguing I should
> store the data in other tables and relate the tables together. He was
> arguing storing binary data on a table, even though, it is not queried
> slows down other queries and with this.

A 15KB column value is going to be stored out-of-line in the TOAST
table anyway, so your table tuple will just contain a pointer to it,
which isn't very big.  If you don't use that column value in a given
query its effect will be minimal.

-Doug

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

Предыдущее
От: Robert Treat
Дата:
Сообщение: Re: Force SSL / username combination
Следующее
От: Jorge Godoy
Дата:
Сообщение: Re: Accent-insensitive search