Re: Large empty table, balanced INSERTs and DELETEs, not being vacuumed

From: Vick Khera <vivek(at)khera(dot)org>
To: Jason Dusek <jason(dot)dusek(at)gmail(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Large empty table, balanced INSERTs and DELETEs, not being vacuumed
Date: 2016-10-21 21:02:01
Message-ID: CALd+dceL2_YoQ2d0ccGDcJvVeCmGTmPsmW7Yvn2XB3RTJ7fDCw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Oct 21, 2016 at 4:53 PM, Jason Dusek <jason(dot)dusek(at)gmail(dot)com> wrote:
> This is really only a temporary fix, though. We can have a cron job running
> in the background running TRUNCATE ONLY ... but this seems like the kind of
> thing that auto-vacuuming should have handled for us, before the problem got
> “too large”. Are there auto-vacuum settings that we can set, globally or on
> the table, to address this situation?

Did auto-vacuum actually succeed in vacuuming this table? Check your
logs. You may need to make auto vacuum more log-verbose first.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2016-10-22 00:33:17 Re: checkpoint write errors
Previous Message Jason Dusek 2016-10-21 20:53:49 Large empty table, balanced INSERTs and DELETEs, not being vacuumed