X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id D43F7D1C9DC for ; Wed, 30 Jul 2003 11:53:51 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 49651-10 for ; Wed, 30 Jul 2003 08:52:53 -0300 (ADT) Received: from guthrie.charm.net (guthrie.charm.net [209.143.110.37]) by svr1.postgresql.org (Postfix) with ESMTP id C4771D1C990 for ; Wed, 30 Jul 2003 08:53:49 -0300 (ADT) Received: by guthrie.charm.net (Postfix, from userid 503) id 3F7E113E23; Wed, 30 Jul 2003 07:43:17 -0400 (EDT) To: mendola@bigfoot.com, pgsql-admin@postgresql.org Subject: Re: storage calculations Cc: pgboy@guthrie.charm.net Message-Id: <20030730114317.3F7E113E23@guthrie.charm.net> Date: Wed, 30 Jul 2003 07:43:17 -0400 (EDT) From: pgboy@guthrie.charm.net X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/321 X-Sequence-Number: 9661 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