Re: Large empty table, balanced INSERTs and DELETEs, not being vacuumed - Mailing list pgsql-general

From Vick Khera
Subject Re: Large empty table, balanced INSERTs and DELETEs, not being vacuumed
Date
Msg-id CALd+dceL2_YoQ2d0ccGDcJvVeCmGTmPsmW7Yvn2XB3RTJ7fDCw@mail.gmail.com
Whole thread Raw
In response to Large empty table, balanced INSERTs and DELETEs, not being vacuumed  (Jason Dusek <jason.dusek@gmail.com>)
Responses Re: Large empty table, balanced INSERTs and DELETEs, not being vacuumed
List pgsql-general
On Fri, Oct 21, 2016 at 4:53 PM, Jason Dusek <jason.dusek@gmail.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.


pgsql-general by date:

Previous
From: Jason Dusek
Date:
Subject: Large empty table, balanced INSERTs and DELETEs, not being vacuumed
Next
From: Tom Lane
Date:
Subject: Re: checkpoint write errors