From: Mario Weilguni <roadrunner6@gmx.at>
To: pgsql-performance@postgresql.org
Subject: Re: auto vacuum, not working?
Date: Fri, 13 Jan 2012 15:26:08 +0100
Message-ID: <4F103F00.2080904@gmx.at> (raw)
In-Reply-To: <000301ccd1ec$167ab7d0$43702770$@devshock.com>
References: <000301ccd1ec$167ab7d0$43702770$@devshock.com>
Am 13.01.2012 13:08, schrieb Anibal David Acosta:
>
> Hi,
>
> yesterday I delete about 200 million rows of a table (about 150GB of
> data), after delete completes the autovacuum process start.
>
> The autovacuum is running for about 11 hours but no space is released
>
> Autovacuum parameters are with default values in postgresql.conf
>
> The postgres version is 9.0.3
>
> The pg activity reports:
>
> select (now()-query_start) as duration, waiting, current_query from
> pg_stat_activity where current_query ilike '%auto%'
>
> 10:42:19.829 f "autovacuum: VACUUM ANALYZE
> public.myTable"
>
> How can I release the space used by deleted rows? Without block the table.
>
> Thanks!
>
vacuum does not reclaim space, just marks tuples dead. You need vacuum full.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: roadrunner6@gmx.at
Subject: Re: auto vacuum, not working?
In-Reply-To: <4F103F00.2080904@gmx.at>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox