Skip site navigation (1) Skip section navigation (2)

why the DB file size does not reduce when 'delete' the data in DB?

From: "Jaruwan Laongmal" <jaruwan(at)gits(dot)net(dot)th>
To: <pgsql-hackers(at)postgresql(dot)org>, <pgsql-sql(at)postgresql(dot)org>
Subject: why the DB file size does not reduce when 'delete' the data in DB?
Date: 2001-03-02 12:40:42
Message-ID: 000f01c0a315$ff81a0e0$6d9a96cb@ntl (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-sql
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?

I am looking forward to your response.  Thank you very much for any help.
-
Jaruwan


Responses

pgsql-hackers by date

Next:From: Thomas LockhartDate: 2001-03-02 13:30:38
Subject: Re: [HACKERS] why the DB file size does not reduce when 'delete' the data in DB?
Previous:From: Martin A. MarquesDate: 2001-03-02 12:36:02
Subject: Re: why the DB file size does not reduce when 'delete' the data in DB?

pgsql-sql by date

Next:From: Thomas LockhartDate: 2001-03-02 13:30:38
Subject: Re: [HACKERS] why the DB file size does not reduce when 'delete' the data in DB?
Previous:From: Martin A. MarquesDate: 2001-03-02 12:36:02
Subject: Re: why the DB file size does not reduce when 'delete' the data in DB?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group