pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: pgboy@guthrie.charm.net
To: mendola@bigfoot.com
To: pgsql-admin@postgresql.org
Cc: pgboy@guthrie.charm.net
Subject: Re: storage calculations
Date: Wed, 30 Jul 2003 07:43:17 -0400 (EDT)
Message-ID: <20030730114317.3F7E113E23@guthrie.charm.net> (raw)

sorry, when i referred to "disk space used" i meant the actual
amount used by live rows. if i insert 1000 rows then delete
999 of them, the disk file will be the size of the 100 row
container (make that 1000, not 100 - i cannot backspace here)
until i do a "vacuum full" - which does a table lock, which is
a bad thing.

given that, i'd like to try to be able to calculate the number of
bytes a row uses given its schema. i've seen this kind of 
documentation for other dbs, i just cannot seem to find it
in the postgresql docs.

thanks.
pg



view thread (8+ messages)  latest in thread

Message-ID: <20030730114317.3F7E113E23@guthrie.charm.net>
Permalink:  ../20030730114317.3F7E113E23@guthrie.charm.net/
Also on:    postgresql.org/message-id/20030730114317.3F7E113E23@guthrie.charm.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: pgboy@guthrie.charm.net, mendola@bigfoot.com
  Subject: Re: storage calculations
  In-Reply-To: <20030730114317.3F7E113E23@guthrie.charm.net>
  References: <20030730114317.3F7E113E23@guthrie.charm.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox