Re: vacuum toast loop?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: gleeco <gleeco(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: vacuum toast loop?
Date: 2017-01-10 13:04:28
Message-ID: 30625.1484053468@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

gleeco <gleeco(at)gmail(dot)com> writes:
> hello - i've a long-running manual vacuum on a big size table. It's many
> TB db that has some toast. What is odd is that it keeps looping back on
> the same toast / index, eg.

It's not looping ... it's filling up your maintenance_work_mem (which is
evidently set to 1GB) with dead TIDs and then pausing to do a cycle of
index cleaning. You have evidently let that table get, um, severely
bloated. Was autovacuum off?

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Sankaranarayanan, Srinivasan 2017-01-10 13:20:46 Ora2PG configuration
Previous Message gleeco 2017-01-10 08:53:06 vacuum toast loop?