Re: vacuumdb uses a lot of disk

From: Kevin Grittner <kgrittn(at)ymail(dot)com>
To: Alexander Shutyaev <shutyaev(at)gmail(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: vacuumdb uses a lot of disk
Date: 2013-08-15 14:32:57
Message-ID: 1376577177.22576.YahooMailNeo@web162905.mail.bf1.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Alexander Shutyaev <shutyaev(at)gmail(dot)com> wrote:

> We have the following issue. When we use vacuumdb (NOT full) on
> our postgres database (~320Gb) it takes up ~10Gb of disk space
> which is never returned. Why is the space not returned?

Does that happen every time?  (i.e., if you run vacuumdb 10 times
in a row while there is no other activity against the cluster, does
it take up 100GB more space?)  If not, you are probably doing an
initial build of information on tuple visibility, free space in the
tables, and column statistics.  The cluster can run without these,
but it won't be as efficient.  To minimize down time, this data is
built up opportunistically once the service is up and running.

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ivan Radovanovic 2013-08-15 14:37:49 Re: Getting list of supported types in Postgres
Previous Message Adrian Klaver 2013-08-15 14:30:17 Re: Getting list of supported types in Postgres