Re: auto vacuum, not working? - Mailing list pgsql-performance

From Mario Weilguni
Subject Re: auto vacuum, not working?
Date
Msg-id 4F103F00.2080904@gmx.at
Whole thread Raw
In response to auto vacuum, not working?  ("Anibal David Acosta" <aa@devshock.com>)
Responses Re: auto vacuum, not working?
List pgsql-performance
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.

pgsql-performance by date:

Previous
From: "Anibal David Acosta"
Date:
Subject: auto vacuum, not working?
Next
From: "Kevin Grittner"
Date:
Subject: Re: auto vacuum, not working?