pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mikheev, Vadim <vmikheev@SECTORBASE.COM>
To: 'Tom Lane' <tgl@sss.pgh.pa.us>
To: Jeff Boes <jboes@nexcerpt.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Redo record at high number
Date: Fri, 5 Oct 2001 12:38:30 -0700
Message-ID: <3705826352029646A3E91C53F7189E320167B6@sectorbase2.sectorbase.com> (raw)

> > We have noticed this line in our server log:
> > Redo record at (5, 4209179252); Undo record at (0, 0); Shutdown TRUE
> 
> > That second number seems awfully high; should this give us cause for
> > concern?
> 
> Looks fishy to me too --- the offset shouldn't exceed 24 bits AFAIR.
> Vadim, what do you think?

Log record ptr is 4 bytes for log file ID and 4 bytes for record offset.
# of segmets in log file (2^32 - 1) / 2^24 = 255
Max offset *in segment* is 2^24 , but max offset *in log file*
is 255 * 2^24 = 4278190080

Vadim



view thread (5+ messages)  latest in thread

Message-ID: <3705826352029646A3E91C53F7189E320167B6@sectorbase2.sectorbase.com>
Permalink:  ../3705826352029646A3E91C53F7189E320167B6@sectorbase2.sectorbase.com/
Also on:    postgresql.org/message-id/3705826352029646A3E91C53F7189E320167B6@sectorbase2.sectorbase.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-admin@postgresql.org
  Cc: vmikheev@SECTORBASE.COM, tgl@sss.pgh.pa.us, jboes@nexcerpt.com
  Subject: Re: Redo record at high number
  In-Reply-To: <3705826352029646A3E91C53F7189E320167B6@sectorbase2.sectorbase.com>
  References: <3705826352029646A3E91C53F7189E320167B6@sectorbase2.sectorbase.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