Re: table size in 8.3

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alex Vinogradovs <AVinogradovs(at)clearpathnet(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: table size in 8.3
Date: 2008-03-12 21:20:32
Message-ID: 852.1205356832@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Alex Vinogradovs <AVinogradovs(at)clearpathnet(dot)com> writes:
> I've created 2 sample tables with 1 column each - type
> char(1) and type integer. After inserting equal number
> of rows (4M or more) tablesizes are exactly the same, while
> I would expect table with char(1) to be slighly smaller...
> What's causing it ? Thanks!

Alignment padding ... rows are always padded out to a MAXALIGN multiple.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Peter Eisentraut 2008-03-12 21:35:18 Re: PostgreSQL user documentation wiki open for business
Previous Message David Wall 2008-03-12 21:08:45 Re: postgre vs MySQL