Re: vacuum full fills up disk - Mailing list pgsql-general

From Tom Lane
Subject Re: vacuum full fills up disk
Date
Msg-id 6816.1048085815@sss.pgh.pa.us
Whole thread Raw
In response to vacuum full fills up disk  ("Moritz Lennert" <mlennert@club.worldonline.be>)
Responses Re: vacuum full fills up disk  ("Thiago Lima " <thiagolima@webforce.com.br>)
Re: vacuum full fills up disk  ("Moritz Lennert" <mlennert@club.worldonline.be>)
Re: vacuum full fills up disk  ("Moritz Lennert" <mlennert@club.worldonline.be>)
List pgsql-general
"Moritz Lennert" <mlennert@club.worldonline.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

pgsql-general by date:

Previous
From: "Moritz Lennert"
Date:
Subject: vacuum full fills up disk
Next
From: "Thiago Lima "
Date:
Subject: Re: vacuum full fills up disk