Re: how to investigate GIN fast updates and cleanup cycles?

From: Steve Kehlet <steve(dot)kehlet(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Forums postgresql <pgsql-general(at)postgresql(dot)org>
Subject: Re: how to investigate GIN fast updates and cleanup cycles?
Date: 2015-08-28 19:36:38
Message-ID: CA+bfosGLCKoVFEDszs3vN__XNUqjpO1X6+Qy0pHFitmHwtZKww@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Aug 28, 2015 at 10:27 AM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> Steve Kehlet <steve(dot)kehlet(at)gmail(dot)com> writes:
> > Yeah head scratch. That is really weird. Still gathering data, any way I
> > can see for sure when these cleanup cycles are occurring?
>
> contrib/pgstattuple has a function that can report the current size of the
> pending list for a GIN index. If you were to capture that every so often,
> it'd be pretty easy to confirm or refute whether these episodes are
> associated with list cleanup.
>

Thank you, I found it, this could be very helpful, we'll try it out on some
dev boxes.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Steve Kehlet 2015-08-28 19:42:55 Re: how to investigate GIN fast updates and cleanup cycles?
Previous Message Steve Kehlet 2015-08-28 19:25:08 Re: how to investigate GIN fast updates and cleanup cycles?