Re: How Big is Too Big for Tables? - Mailing list pgsql-general

From Stephen Frost
Subject Re: How Big is Too Big for Tables?
Date
Msg-id 20100728183826.GP21875@tamriel.snowman.net
Whole thread Raw
In response to Re: How Big is Too Big for Tables?  (P Kishor <punk.kish@gmail.com>)
Responses Re: How Big is Too Big for Tables?
List pgsql-general
* P Kishor (punk.kish@gmail.com) wrote:
> Three. At least, in my case, the overhead is too much. My data are
> single bytes, but the smallest data type in Pg is smallint (2 bytes).
> That, plus the per row overhead adds to a fair amount of overhead.

My first reaction to this would be- have you considered aggregating the
data before putting it into the database in such a way that you put more
than 1 byte of data on each row..?  That could possibly reduce the
number of rows you have by quite a bit and also reduce the impact of the
per-tuple overhead in PG..

    Thanks,

        Stephen

Attachment

pgsql-general by date:

Previous
From: Otandeka Simon Peter
Date:
Subject: Re: How Big is Too Big for Tables?
Next
From: P Kishor
Date:
Subject: Re: How Big is Too Big for Tables?