Re: [GENERAL] Modified rows are not marked as dead and as such vacuum is unable to clean them up - Mailing list pgsql-general

From Tom Lane
Subject Re: [GENERAL] Modified rows are not marked as dead and as such vacuum is unable to clean them up
Date
Msg-id 30918.1499376325@sss.pgh.pa.us
Whole thread Raw
In response to [GENERAL] Modified rows are not marked as dead and as such vacuum is unable toclean them up  (Tamás András Kálmán <hello@tamaskalman.com>)
Responses Re: [GENERAL] Modified rows are not marked as dead and as such vacuumis unable to clean them up  (Tamás András Kálmán <hello@tamaskalman.com>)
List pgsql-general
=?UTF-8?B?VGFtw6FzIEFuZHLDoXMgS8OhbG3DoW4=?= <hello@tamaskalman.com> writes:
> we have a PostgreSQL 9.3.4 database with multiple large tables, that keep
> growing.
> Looking at the pg_stat of  the front runner table that is currently about 1
> Gb  big, it seems, that stale row data is not marked as dead after updates,

Have you checked for uncommitted prepared transactions?
If "select * from pg_prepared_xacts" finds anything, that's
probably your problem.

            regards, tom lane


pgsql-general by date:

Previous
From: Tamás András Kálmán
Date:
Subject: [GENERAL] Modified rows are not marked as dead and as such vacuum is unable toclean them up
Next
From: "David G. Johnston"
Date:
Subject: [GENERAL] psql doesn't pass on exported shell environment functions