pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Murthy Kambhampaty <murthy.kambhampaty@goeci.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: Matt <matt@ymogen.net>
Cc: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: LVM snapshots
Date: Fri, 4 Apr 2003 17:32:08 -0500
Message-ID: <2D92FEBFD3BE1346A6C397223A8DD3FC0921D1@THOR.goeci.com> (raw )
Tom Lane [mailto:tgl@sss.pgh.pa.us] writes:
>> NOTICE: Rel tbl2: Uninitialized page 'nnnnn' - fixing
>Hmm. This amounts to testing what happens after a Postgres crash (the
>copied PGDATA will look exactly like the system had gone down at the
>instant of the freeze). In that scenario zeroed pages aren't too
>improbable, although I wouldn't expect to see a large number of them.
It turns out there aren't many of them, after all, and they seem to be
truncated by vacuum.
Here's the vacuum report from the log, for the two files "afftected":
2003-04-02 18:33:46 [4657] DEBUG: --Relation tbl2--
2003-04-02 18:34:33 [4657] NOTICE: Rel tbl2: Uninitialized page 54300 -
fixing
2003-04-02 18:34:33 [4657] NOTICE: Rel tbl2: Uninitialized page 54301 -
fixing
2003-04-02 18:34:33 [4657] NOTICE: Rel tbl2: Uninitialized page 54302 -
fixing
2003-04-02 18:34:33 [4657] NOTICE: Rel tbl2: Uninitialized page 54303 -
fixing
2003-04-02 18:34:33 [4657] NOTICE: Rel tbl2: Uninitialized page 54304 -
fixing
2003-04-02 18:34:33 [4657] NOTICE: Rel tbl2: Uninitialized page 54305 -
fixing
2003-04-02 18:34:33 [4657] NOTICE: Rel tbl2: Uninitialized page 54306 -
fixing
2003-04-02 18:34:33 [4657] NOTICE: Rel tbl2: Uninitialized page 54307 -
fixing
2003-04-02 18:34:33 [4657] NOTICE: Rel tbl2: Uninitialized page 54308 -
fixing
2003-04-02 18:34:34 [4657] DEBUG: Removed 49173 tuples in 3946 pages.
CPU 0.27s/1.07u sec elapsed 1.34 sec.
2003-04-02 18:34:34 [4657] DEBUG: Pages 54309: Changed 54300, Empty 0;
Tup 620366: Vac 49173, Keep 0, UnUsed 0.
Total CPU 9.78s/2.35u sec elapsed 47.74 sec.
2003-04-02 18:34:35 [4657] DEBUG: Truncated 54309 --> 50355 pages.
CPU 0.38s/0.07u sec elapsed 0.44 sec.
2003-04-02 18:34:55 [4657] DEBUG: --Relation tbl3--
2003-04-02 18:35:31 [4657] NOTICE: Rel tbl3: Uninitialized page 33172 -
fixing
2003-04-02 18:35:31 [4657] NOTICE: Rel tbl3: Uninitialized page 33173 -
fixing
2003-04-02 18:35:31 [4657] NOTICE: Rel tbl3: Uninitialized page 33174 -
fixing
2003-04-02 18:35:31 [4657] NOTICE: Rel tbl3: Uninitialized page 33175 -
fixing
2003-04-02 18:35:32 [4657] DEBUG: Removed 38874 tuples in 3230 pages.
CPU 0.20s/0.88u sec elapsed 1.08 sec.
2003-04-02 18:35:32 [4657] DEBUG: Pages 33176: Changed 33172, Empty 0;
Tup 354316: Vac 38874, Keep 0, UnUsed 0.
Total CPU 5.66s/1.71u sec elapsed 36.95 sec.
2003-04-02 18:35:32 [4657] DEBUG: Truncated 33176 --> 29943 pages.
CPU 0.41s/0.02u sec elapsed 0.42 sec.
>Are you running with a nondefault WAL_BUFFERS setting?
WAL_BUFFERS=64
> [ Snip ]
Thanks for the explanation, and for taking a second look ;-)
view thread (35+ messages) latest in thread
Message-ID: <2D92FEBFD3BE1346A6C397223A8DD3FC0921D1@THOR.goeci.com>
Permalink: ../2D92FEBFD3BE1346A6C397223A8DD3FC0921D1@THOR.goeci.com/
Also on: postgresql.org/message-id/2D92FEBFD3BE1346A6C397223A8DD3FC0921D1@THOR.goeci.com
copy link · copy postgr.es
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: murthy.kambhampaty@goeci.com, tgl@sss.pgh.pa.us, matt@ymogen.net, peter_e@gmx.net
Subject: Re: LVM snapshots
In-Reply-To: <2D92FEBFD3BE1346A6C397223A8DD3FC0921D1@THOR.goeci.com>
References: <2D92FEBFD3BE1346A6C397223A8DD3FC0921D1@THOR.goeci.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