pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Lockhart <lockhart@alumni.caltech.edu>
To: jamexu <jamexu@telekbird.com.cn>
Cc: Mathijs Brands <mathijs@ilse.nl>
Cc: pgsql-hackers@postgresql.org
Cc: pgsql-sql@postgresql.org
Subject: Re: Re: why the DB file size does not reduce when 'delete'the data in DB?
Date: Wed, 07 Mar 2001 02:25:27 +0000
Message-ID: <3AA59C17.E2FDE23C@alumni.caltech.edu> (raw)
References: <Pine.BSF.4.33.0103020804370.88613-100000@mobile.hub.org>
	<008601c0a44f$0d657b20$cc01a8c0@xyf>
	<20010307004601.A51050@ilse.nl>
	<1828207391.20010307111045@telekbird.com.cn>

> do you really know the problem of PGSQL storage manager? it DOES NOT
> reuse deleted record space. it also grows database size when you just
> update but not insert record. it is a MS ACCESS like storage manager.
> it is a functional bug. there is logic bug, performance bug...

imho a designed-in feature can not be called a bug, even if you disagree
with its intent or implementation. The term "bug" should be reserved for
code which does not behave as designed.

You are not quite factually correct above, even given your definition of
"bug". PostgreSQL does reuse deleted record space, but requires an
explicit maintenance step to do this.

We have continuing discussions on how to evolve the performance and
behavior of PostgreSQL, and you can check the archives on these past
discussions.

Regards.

                     - Thomas



view thread (12+ messages)  latest in thread

Message-ID: <3AA59C17.E2FDE23C@alumni.caltech.edu>
Permalink:  ../3AA59C17.E2FDE23C@alumni.caltech.edu/
Also on:    postgresql.org/message-id/3AA59C17.E2FDE23C@alumni.caltech.edu

 · 

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-sql@postgresql.org
  Cc: lockhart@alumni.caltech.edu, jamexu@telekbird.com.cn, mathijs@ilse.nl, pgsql-hackers@postgresql.org
  Subject: Re: why the DB file size does not reduce when 'delete'the data in DB?
  In-Reply-To: <3AA59C17.E2FDE23C@alumni.caltech.edu>
  References: <Pine.BSF.4.33.0103020804370.88613-100000@mobile.hub.org> <008601c0a44f$0d657b20$cc01a8c0@xyf> <20010307004601.A51050@ilse.nl> <1828207391.20010307111045@telekbird.com.cn> <3AA59C17.E2FDE23C@alumni.caltech.edu>

* 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