pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #5976: Corrupted pages on the production database
4+ messages / 3 participants
[nested] [flat]
* BUG #5976: Corrupted pages on the production database
@ 2011-04-13 03:52 Vlad Arkhipov <arhipov@dc.baikal.ru>
0 siblings, 1 reply; 4+ messages in thread
From: Vlad Arkhipov @ 2011-04-13 03:52 UTC (permalink / raw)
To: pgsql-bugs
The following bug has been logged online:
Bug reference: 5976
Logged by: Vlad Arkhipov
Email address: arhipov@dc.baikal.ru
PostgreSQL version: 9.0.3
Operating system: Red Hat 4.1.2-48, 64-bit
Description: Corrupted pages on the production database
Details:
I have recently encounter a problem with the production database. Eventually
pg_dump could not be done.
pg_dump: SQL command failed
pg_dump: Error message from server: ERROR: could not access status of
transaction 3499806839
DETAIL: Could not open file "pg_clog/0D09": No such file or directory.
pg_dump: The command was: COPY rolap.agg_lab_invests_registration_month
(service, invest, sampling_place, material, status, rejection_reason,
registration_month, container_type, device, registration_period_1,
execution_period_1, authorization_period_1, overdue_period_1,
completion_period_1, fact_count, quantity, profile_count, service_count,
container_count, reg_period, exec_period, auth_period, over_period,
comp_period) TO stdout;
A simple SELECT * FROM rolap.agg_lab_invests_registration_month raises the
same error.
There is also a stand-by server (streaming replication) which does not have
this error. I've elaborated on this issue a bit and found 2 corrupted pages
in the file of relation. The first one is semi-corrupted, one half of it is
correct, but another part contains data from another database table. The
second one is completely corrupted and contains data from the same table as
the corrupted part of the first page.
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: BUG #5976: Corrupted pages on the production database
@ 2011-04-13 05:37 Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
parent: Vlad Arkhipov <arhipov@dc.baikal.ru>
0 siblings, 0 replies; 4+ messages in thread
From: Heikki Linnakangas @ 2011-04-13 05:37 UTC (permalink / raw)
To: Vlad Arkhipov <arhipov@dc.baikal.ru>; +Cc: pgsql-bugs
On 13.04.2011 06:52, Vlad Arkhipov wrote:
> There is also a stand-by server (streaming replication) which does not have
> this error. I've elaborated on this issue a bit and found 2 corrupted pages
> in the file of relation. The first one is semi-corrupted, one half of it is
> correct, but another part contains data from another database table. The
> second one is completely corrupted and contains data from the same table as
> the corrupted part of the first page.
Sounds like broken hardware..
--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: BUG #5976: Corrupted pages on the production database
@ 2011-04-13 11:48 Kevin Grittner <Kevin.Grittner@wicourts.gov>
0 siblings, 1 reply; 4+ messages in thread
From: Kevin Grittner @ 2011-04-13 11:48 UTC (permalink / raw)
To: arhipov@dc.baikal.ru; pgsql-bugs
"Vlad Arkhipov" wrote:
> PostgreSQL version: 9.0.3
> pg_dump: SQL command failed
> pg_dump: Error message from server: ERROR: could not access status
> of transaction 3499806839
> DETAIL: Could not open file "pg_clog/0D09": No such file or
> directory.
Did you get to 9.0 using pg_upgrade?
http://archives.postgresql.org/pgsql-announce/2011-04/msg00007.php
-Kevin
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: BUG #5976: Corrupted pages on the production database
@ 2011-04-13 13:07 Vlad Arkhipov <arhipov@dc.baikal.ru>
parent: Kevin Grittner <Kevin.Grittner@wicourts.gov>
0 siblings, 0 replies; 4+ messages in thread
From: Vlad Arkhipov @ 2011-04-13 13:07 UTC (permalink / raw)
To: pgsql-bugs
13.04.2011 20:48, Kevin Grittner wrote:
> "Vlad Arkhipov" wrote:
>
>
>> PostgreSQL version: 9.0.3
>>
>
>
>> pg_dump: SQL command failed
>> pg_dump: Error message from server: ERROR: could not access status
>> of transaction 3499806839
>> DETAIL: Could not open file "pg_clog/0D09": No such file or
>> directory.
>>
>
> Did you get to 9.0 using pg_upgrade?
>
> http://archives.postgresql.org/pgsql-announce/2011-04/msg00007.php
>
> -Kevin
>
>
No. We have upgraded to 9.0 several months ago and daily pg_dump worked
well until 10 April 2011. Also the corrupted table truncates and filled
with data every hour, so pg_upgrade could not affect it.
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2011-04-13 13:07 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-04-13 03:52 BUG #5976: Corrupted pages on the production database Vlad Arkhipov <arhipov@dc.baikal.ru>
2011-04-13 05:37 ` Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
2011-04-13 11:48 Re: BUG #5976: Corrupted pages on the production database Kevin Grittner <Kevin.Grittner@wicourts.gov>
2011-04-13 13:07 ` Re: BUG #5976: Corrupted pages on the production database Vlad Arkhipov <arhipov@dc.baikal.ru>
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