Re: BUG #11264: Auto vacuum wraparound job blocking everything

From: Dinesh Bhandary <dbhandary(at)switchfly(dot)com>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #11264: Auto vacuum wraparound job blocking everything
Date: 2014-08-27 15:42:25
Message-ID: 33085ff949d9484f8d3e6a1b86d15717@CO2PR05MB569.namprd05.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi Alvaro,

We did manual vacuum and reindex of room_contract_service_code and it finished quickly. We still have auto vacuum disabled.

1 ) select oid::regclass, relfrozenxid, relminmxid from pg_class where relname = 'room_contract_service_code'; select datname, datfrozenxid, datminmxid from pg_database where datname = 'jetblue';

jetblue=# select oid::regclass, relfrozenxid, relminmxid from pg_class where relname = 'room_contract_service_code'
jetblue-# ;
oid | relfrozenxid | relminmxid
----------------------------+--------------+------------
room_contract_service_code | 953567787 | 20784
(1 row)

jetblue=# select datname, datfrozenxid, datminmxid from pg_database where datname = 'jetblue';
datname | datfrozenxid | datminmxid
---------+--------------+------------
jetblue | 870700471 | 1
(1 row)

2) Latest checkpoint's NextMultiXactId: 23431
Latest checkpoint's NextMultiOffset: 5678
Latest checkpoint's oldestMultiXid: 1
Latest checkpoint's oldestMulti's DB: 16423

It says the oldest multi is 1, so the database should not have any values between 1 and 23431 that correspond to pg_upgrade'd multixact values ... so what is going on here? Unless the recent mucking with pg_upgrade to handle multixact's got something wrong.

We used psotgres 9.3.4 to pg_upgrade from 9.1. We just upgraded binaries to 9.3.5 just last week ? Would this cause any issues with MultiXid issue.

Thanks
Dinesh

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2014-08-27 15:48:00 Re: BUG #11264: Auto vacuum wraparound job blocking everything
Previous Message Alvaro Herrera 2014-08-27 15:39:23 Re: BUG #11264: Auto vacuum wraparound job blocking everything