Re: [SQL] Re: why the DB file size does not reduce when 'delete'the data in DB? - Mailing list pgsql-hackers

From Thomas Lockhart
Subject Re: [SQL] Re: why the DB file size does not reduce when 'delete'the data in DB?
Date
Msg-id 3AA59C17.E2FDE23C@alumni.caltech.edu
Whole thread Raw
In response to Re: why the DB file size does not reduce when 'delete' the data in DB?  (The Hermit Hacker <scrappy@hub.org>)
List pgsql-hackers
> 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


pgsql-hackers by date:

Previous
From: The Hermit Hacker
Date:
Subject: Re[2]: [SQL] Re: why the DB file size does not reduce when 'delete'the data in DB?
Next
From: Tatsuo Ishii
Date:
Subject: Re: Re[2]: [SQL] Re: why the DB file size does not reduce when 'delete'the data in DB?