Re: auto vacuum, not working?
Mario Weilguni <roadrunner6@xxxxxx> wrote:
>> yesterday I delete about 200 million rows of a table
>> How can I release the space used by deleted rows?
>> Without block the table.
> vacuum does not reclaim space, just marks tuples dead. You need
> vacuum full.
VACUUM FULL will lock the table, blocking all other access, and it
can run for quite a while. If you expect to be adding 200 million
new rows to the table in the foreseeable future, a regular VACUUM
(or autovacuum) will make that space available for reuse by that
table. The space won't show in the file system; it will still be
allocated to the database but available for new rows.
-Kevin
--
Sent via pgsql-performance mailing list (pgsql-performance@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance
[Postgresql General]
[Postgresql PHP]
[PHP Users]
[PHP Home]
[PHP on Windows]
[Kernel Newbies]
[PHP Classes]
[PHP Books]
[PHP Databases]
[Home]
[Yosemite]