pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedRedo record at high number
5+ messages / 3 participants
[nested] [flat]
* Redo record at high number
@ 2001-10-05 16:13 Jeff Boes <jboes@nexcerpt.com>
0 siblings, 1 reply; 5+ messages in thread
From: Jeff Boes @ 2001-10-05 16:13 UTC (permalink / raw)
To: pgsql-admin
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?
--
Jeff Boes vox 616.226.9550
Database Engineer fax 616.349.9076
Nexcerpt, Inc. jboes@nexcerpt.com
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Redo record at high number
@ 2001-10-05 17:18 Mikheev, Vadim <vmikheev@SECTORBASE.COM>
0 siblings, 0 replies; 5+ messages in thread
From: Mikheev, Vadim @ 2001-10-05 17:18 UTC (permalink / raw)
To: 'Jeff Boes' <jboes@nexcerpt.com>; pgsql-admin
> 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?
You'll see (6, <small number>) soon.
Vadim
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Redo record at high number
@ 2001-10-05 19:20 Tom Lane <tgl@sss.pgh.pa.us>
parent: Jeff Boes <jboes@nexcerpt.com>
0 siblings, 0 replies; 5+ messages in thread
From: Tom Lane @ 2001-10-05 19:20 UTC (permalink / raw)
To: Jeff Boes <jboes@nexcerpt.com>; +Cc: pgsql-admin@postgresql.org, Vadim Mikheev <vmikheev@sectorbase.com>
"Jeff Boes" <jboes@nexcerpt.com> writes:
> 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?
regards, tom lane
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Redo record at high number
@ 2001-10-05 19:38 Mikheev, Vadim <vmikheev@SECTORBASE.COM>
0 siblings, 1 reply; 5+ messages in thread
From: Mikheev, Vadim @ 2001-10-05 19:38 UTC (permalink / raw)
To: 'Tom Lane' <tgl@sss.pgh.pa.us>; Jeff Boes <jboes@nexcerpt.com>; +Cc: pgsql-admin
> > 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
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Redo record at high number
@ 2001-10-05 19:44 Tom Lane <tgl@sss.pgh.pa.us>
parent: Mikheev, Vadim <vmikheev@SECTORBASE.COM>
0 siblings, 0 replies; 5+ messages in thread
From: Tom Lane @ 2001-10-05 19:44 UTC (permalink / raw)
To: Mikheev, Vadim <vmikheev@SECTORBASE.COM>; +Cc: Jeff Boes <jboes@nexcerpt.com>; pgsql-admin
"Mikheev, Vadim" <vmikheev@SECTORBASE.COM> writes:
>> Looks fishy to me too --- the offset shouldn't exceed 24 bits AFAIR.
> 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
You're right, I'm wrong, it's a false alarm. Sorry for the noise.
regards, tom lane
^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2001-10-05 19:44 UTC | newest]
Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-10-05 16:13 Redo record at high number Jeff Boes <jboes@nexcerpt.com>
2001-10-05 19:20 ` Tom Lane <tgl@sss.pgh.pa.us>
2001-10-05 17:18 Re: Redo record at high number Mikheev, Vadim <vmikheev@SECTORBASE.COM>
2001-10-05 19:38 Re: Redo record at high number Mikheev, Vadim <vmikheev@SECTORBASE.COM>
2001-10-05 19:44 ` Tom Lane <tgl@sss.pgh.pa.us>
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