Re: Autovacuum of pg_database

From: "Vicky Soni - Quipment India" <vicky(dot)soni(at)quipment(dot)nl>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Ondřej Světlík <osvetlik(at)flexibee(dot)eu>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Autovacuum of pg_database
Date: 2016-05-05 15:49:01
Message-ID: 3732a9f6d3d04295b4389a55de43fa15@Strand.quipment.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hello,

I have observed that after upgrading from 9.3 to 9.4 on windows, autovacuum keep running again and again.

In 9.3 this was not true. Any recommendations?

Thanks & Regards,
Vicky Soni
Database Administrator

-----Original Message-----
From: pgsql-admin-owner(at)postgresql(dot)org [mailto:pgsql-admin-owner(at)postgresql(dot)org] On Behalf Of Alvaro Herrera
Sent: 05 May 2016 21:14
To: Ondřej Světlík <osvetlik(at)flexibee(dot)eu>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: [ADMIN] Autovacuum of pg_database

Ondřej Světlík wrote:
> Dne 5.5.2016 v 17:19 Ondřej Světlík napsal(a):
> >Dne 5.5.2016 v 17:16 Ondřej Světlík napsal(a):
> >>Hello again,
> >>
> >>we have another strange problem with autovacuum. The process goes
> >>well until it reaches the table pg_database (in some databases, not
> >>all), then it loops over it forever (until I run vacuum full
> >>analyze on that table, simple vacuum doesn't help):
> >>
> >>2016-05-05 17:13:33 CEST 34818LOG: automatic vacuum of table
> >>"somedatabase.pg_catalog.pg_database": index scans: 0
> >> pages: 0 removed, 233 remain
> >> tuples: 0 removed, 5817 remain, 0 are dead but not yet removable
> >> buffer usage: 87 hits, 0 misses, 0 dirtied
>
> And now the same goes for pg_authid. Sorry for spamming, I hope this
> is the last one.

These are all shared catalogs. There are others, so you may still see more. We got another report for pg_database https://www.postgresql.org/message-id/A9D40BB7-CFD6-46AF-A0A1-249F04878A2A%40amazon.com
so I suppose there really is a bug. I don't know what's going on there.

--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

--
Sent via pgsql-admin mailing list (pgsql-admin(at)postgresql(dot)org) To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Alvaro Herrera 2016-05-05 15:51:26 Re: Autovacuum of pg_database
Previous Message Alvaro Herrera 2016-05-05 15:43:41 Re: Autovacuum of pg_database