Received: from mobile.hub.org (mobile.acadiau.ca [131.162.137.70]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f22Cmex01839; Fri, 2 Mar 2001 07:48:40 -0500 (EST) (envelope-from scrappy@hub.org) Received: from localhost (scrappy@localhost) by mobile.hub.org (8.11.1/8.11.1) with ESMTP id f22C4j716411; Fri, 2 Mar 2001 08:04:49 -0400 (AST) (envelope-from scrappy@hub.org) X-Authentication-Warning: mobile.hub.org: scrappy owned process doing -bs Date: Fri, 2 Mar 2001 08:04:45 -0400 (AST) From: The Hermit Hacker To: Jaruwan Laongmal cc: , Subject: Re: [HACKERS] why the DB file size does not reduce when 'delete' the data in DB? In-Reply-To: <000f01c0a315$ff81a0e0$6d9a96cb@ntl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200103/16 X-Sequence-Number: 1658 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