Received: from sectorbase2.sectorbase.com (sectorbase2.sectorbase.com [63.88.121.62] (may be forged)) by postgresql.org (8.11.3/8.11.4) with SMTP id f95Jcgn13720 for ; Fri, 5 Oct 2001 15:38:42 -0400 (EDT) (envelope-from vmikheev@SECTORBASE.COM) Received: by sectorbase2.sectorbase.com with Internet Mail Service (5.5.2653.19) id ; Fri, 5 Oct 2001 12:38:40 -0700 Message-ID: <3705826352029646A3E91C53F7189E320167B6@sectorbase2.sectorbase.com> From: "Mikheev, Vadim" To: "'Tom Lane'" , Jeff Boes Cc: pgsql-admin@postgresql.org Subject: Re: Redo record at high number Date: Fri, 5 Oct 2001 12:38:30 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Archive-Number: 200110/91 X-Sequence-Number: 2337 > > 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