Re: Performance Question - Table Row Size - Mailing list pgsql-general

From Douglas McNaught
Subject Re: Performance Question - Table Row Size
Date
Msg-id 87hco9njxk.fsf@suzuka.mcnaught.org
Whole thread Raw
In response to Re: Performance Question - Table Row Size  (Mike <akiany@gmail.com>)
List 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 by date:

Previous
From: Robert Treat
Date:
Subject: Re: Force SSL / username combination
Next
From: Jorge Godoy
Date:
Subject: Re: Accent-insensitive search