Why pg_toast table not get auto vacuumed?

From: jlliu <jlliu(at)avaya(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Why pg_toast table not get auto vacuumed?
Date: 2014-07-16 19:05:28
Message-ID: 1405537528090-5811788.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

PostgreSQL version: 9.1.16. Linux: RHEL6.

After a heavy traffic run, a huge pg_toast table is seen. Its size is ~3G.
There also exist other pg_toast tables in a much smaller size, for example,
~100M. The problem is that that huge pg_toast table never gets auto vacuumed
while other small pg_toast tables do get auto vacuumed, as shown in pg logs.
If running traffic again, the huge pg_toast table grows again.

We have another system with the same setup but we only run light traffic on
it. The pg_toast table from the same parent table also exists. But this
pg_toast table only has a size ~50M and it gets auto vacuumed from time to
time as shown in pg_logs.

Why does not the huge pg_toast table in the first case get auto vacuumed?
Are there anything we can do?

Thanks,
JL

--
View this message in context: http://postgresql.1045698.n5.nabble.com/Why-pg-toast-table-not-get-auto-vacuumed-tp5811788.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Thomas Kellerer 2014-07-16 20:21:27 Obsolete ToDo Item?
Previous Message Shaun Thomas 2014-07-16 15:30:45 Re: We've been affected by a pg_upgrade bug. What do we do next?