Re: vacuum full fills up disk

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: mlennert(at)club(dot)worldonline(dot)be
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: vacuum full fills up disk
Date: 2003-03-19 14:56:55
Message-ID: 6816.1048085815@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Moritz Lennert" <mlennert(at)club(dot)worldonline(dot)be> writes:
> I have a table with about 10 million tuples of which you can find the
> definition below. I just did an update which filled in the ss_trav_tot
> field for every tuple. Since the database will be read only (no updates),
> I decided to reclaim disk space by running a vacuum full. However, the
> process is slowly but surely filling up my disk. Does vacuum full make a
> copy of the data, or why is this happening ?

It has to temporarily make duplicate index entries for each row it
moves.

You might consider dropping the indexes, vacuum full, rebuild indexes.
(You might also ask yourself if you really need all those indexes...)

regards, tom lane

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Thiago Lima 2003-03-19 15:04:03 Re: vacuum full fills up disk
Previous Message Nigel J. Andrews 2003-03-19 14:43:45 Re: ssl