Re: [HACKERS] why the DB file size does not reduce when 'delete' the data in DB?

From: The Hermit Hacker <scrappy(at)hub(dot)org>
To: Jaruwan Laongmal <jaruwan(at)gits(dot)net(dot)th>
Cc: <pgsql-hackers(at)postgresql(dot)org>, <pgsql-sql(at)postgresql(dot)org>
Subject: Re: [HACKERS] why the DB file size does not reduce when 'delete' the data in DB?
Date: 2001-03-02 12:04:45
Message-ID: Pine.BSF.4.33.0103020804370.88613-100000@mobile.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-sql

On Fri, 2 Mar 2001, Jaruwan Laongmal wrote:

> I had deleted a very large number of records out of my SQL table in order to
> decrease the harddisk space. But after I use command 'ls -l
> /usr/local/pgsql/data/base/', it is found that the size of concerning files
> do not reduce due to the effect of 'delete' SQL command. What should I do
> if I would like to decrease the harddisk space?

VACUUM

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Martin A. Marques 2001-03-02 12:36:02 Re: why the DB file size does not reduce when 'delete' the data in DB?
Previous Message Ned Lilly 2001-03-02 02:03:27 7.2 tools (was: WAL's single point of failure: latest CHECKPOINT record)

Browse pgsql-sql by date

  From Date Subject
Next Message Martin A. Marques 2001-03-02 12:36:02 Re: why the DB file size does not reduce when 'delete' the data in DB?
Previous Message Laurent 2001-03-02 10:34:50 lo_import for storing Blobs