Table size with page layout
I'm using PostgreSQL 9.2 on Oracle Linux Server release 6.3. According to the storage layout documentation , a page layout holds: PageHeaderData(24 byte) n number of points to item(index item / table item) AKA ItemIdData(4 byte) free space n number of items special space I tested it to make some formula to estimate table size anticipated...(TOAST concept might be ignored.) postgres=# \d t1; Table "public.t1" Column ',' Type ',' Modifiers ---------------+------------------------+------------------------------ code |character varying(8) |not null name |character varying(100) |not null act_yn