pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Charles R. Harwood <charles.harwood@zuerchertech.com>
To: Peter Geoghegan <pg@heroku.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #12718: Apparent LWlock Problem Perhaps With Page Cleanup
Date: Mon, 02 Feb 2015 11:27:10 -0600
Message-ID: <54CFB36E.9080608@zuerchertech.com> (raw)
In-Reply-To: <CAM3SWZQ0BZXwWQJW5EQ6N=P8=M6kn1PTp9yi3WKhVxjpXP7KXg@mail.gmail.com>
References: <20150130221445.2583.8173@wrigleys.postgresql.org>
	<CAM3SWZQ0BZXwWQJW5EQ6N=P8=M6kn1PTp9yi3WKhVxjpXP7KXg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Yes.  It was pg_upgrad-ed from 9.2 almost a year ago (2014-02-27). 
Unfortunately, I do not have the 9.2 data anymore.

It was pg_upgraded with the binaries in postgresql 9.3.1 which I
understand were affected by a bug related to leaving pg_multixact files
behind as per
http://www.postgresql.org/docs/9.4/static/release-9-3-5.html.  But the
query associated with the offsets/0000 bug, if I understand it, doesn't
seem to apply because offset 0000 doesn't exist in my case and therefore
the associated query returns False.

I'm afraid my grasp of MultiXacts isn't up to the task of understand
exactly what's going on.  By the time this issue is resolved I'm sure
I'll understand them better than I ever wanted to.  I'll attempt to
supply the same information as was requested in the referenced thread.



Here is the pg_controldata output:

pg_control version number:            937
Catalog version number:               201306121
Database system identifier:           5985061615841541596
Database cluster state:               in production
pg_control last modified:             Mon 02 Feb 2015 10:50:00 AM CST
Latest checkpoint location:           43A/607AD468
Prior checkpoint location:            43A/5DBA9040
Latest checkpoint's REDO location:    43A/5FF7A3C8
Latest checkpoint's REDO WAL file:    000000010000043A0000005F
Latest checkpoint's TimeLineID:       1
Latest checkpoint's PrevTimeLineID:   1
Latest checkpoint's full_page_writes: on
Latest checkpoint's NextXID:          0/487855284
Latest checkpoint's NextOID:          134556810
Latest checkpoint's NextMultiXactId:  1183038
Latest checkpoint's NextMultiOffset:  2584953
Latest checkpoint's oldestXID:        289465105
Latest checkpoint's oldestXID's DB:   16414
Latest checkpoint's oldestActiveXID:  487855284
Latest checkpoint's oldestMultiXid:   1
Latest checkpoint's oldestMulti's DB: 16414
Time of latest checkpoint:            Mon 02 Feb 2015 10:47:30 AM CST
Fake LSN counter for unlogged rels:   0/1
Minimum recovery ending location:     0/0
Min recovery ending loc's timeline:   0
Backup start location:                0/0
Backup end location:                  0/0
End-of-backup record required:        no
Current wal_level setting:            hot_standby
Current max_connections setting:      1000
Current max_prepared_xacts setting:   0
Current max_locks_per_xact setting:   128
Maximum data alignment:               8
Database block size:                  8192
Blocks per segment of large relation: 131072
WAL block size:                       8192
Bytes per WAL segment:                16777216
Maximum length of identifiers:        64
Maximum columns in an index:          32
Maximum size of a TOAST chunk:        1996
Date/time type storage:               64-bit integers
Float4 argument passing:              by value
Float8 argument passing:              by value
Data page checksum version:           0



leds=# SELECT datname, datfrozenxid, datminmxid FROM pg_database WHERE
datname = 'leds';
 datname | datfrozenxid | datminmxid
---------+--------------+------------
 leds    |    289465105 |          1
(1 row)



leds=# SELECT oid::regclass, relnamespace, relfrozenxid, relminmxid FROM
pg_class WHERE relname = 'addresses' AND relnamespace = 2200;
    oid    | relnamespace | relfrozenxid | relminmxid
-----------+--------------+--------------+------------
 addresses |         2200 |    354953499 |     261502



The oldest file in the cluster's pg_multixact/offsets directory is 0003
which as a modify time within an hour of pg_upgrade on 2014-02-27.

view thread (3+ messages)

Message-ID: <54CFB36E.9080608@zuerchertech.com>
Permalink:  ../54CFB36E.9080608@zuerchertech.com/
Also on:    postgresql.org/message-id/54CFB36E.9080608@zuerchertech.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: charles.harwood@zuerchertech.com, pg@heroku.com
  Subject: Re: BUG #12718: Apparent LWlock Problem Perhaps With Page Cleanup
  In-Reply-To: <54CFB36E.9080608@zuerchertech.com>
  References: <20150130221445.2583.8173@wrigleys.postgresql.org> <CAM3SWZQ0BZXwWQJW5EQ6N=P8=M6kn1PTp9yi3WKhVxjpXP7KXg@mail.gmail.com> <54CFB36E.9080608@zuerchertech.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox