pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedDiagnose Database Corruption
3+ messages / 3 participants
[nested] [flat]
* Diagnose Database Corruption
@ 2003-06-05 23:38 Alex.H.Pollock@WellsFargo.COM
0 siblings, 1 reply; 3+ messages in thread
From: Alex.H.Pollock@WellsFargo.COM @ 2003-06-05 23:38 UTC (permalink / raw)
To: pgsql-admin
Does PostgreSQL have a tool to diagnose and fix database corruption? Is
there any kind of database consistency checker? I couldn't find anything in
the doc...
Thanks!
Alex Pollock
WFSC Data Services District
Database Administration
MAC A0186-032
( 415) 243-5931
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Diagnose Database Corruption
@ 2003-06-09 01:21 Bruce Momjian <pgman@candle.pha.pa.us>
parent: Alex.H.Pollock@WellsFargo.COM
0 siblings, 1 reply; 3+ messages in thread
From: Bruce Momjian @ 2003-06-09 01:21 UTC (permalink / raw)
To: Alex.H.Pollock@WellsFargo.COM; +Cc: pgsql-admin
We don't have a checker because if it is corrupt, it will mention
something in the server logs or correct it automatically. Corruption is
very rare, usually hardware flakiness.
---------------------------------------------------------------------------
Alex.H.Pollock@WellsFargo.COM wrote:
> Does PostgreSQL have a tool to diagnose and fix database corruption? Is
> there any kind of database consistency checker? I couldn't find anything in
> the doc...
>
> Thanks!
>
> Alex Pollock
> WFSC Data Services District
> Database Administration
> MAC A0186-032
> ( 415) 243-5931
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Diagnose Database Corruption
@ 2003-06-09 10:56 Mendola Gaetano <mendola@bigfoot.com>
parent: Bruce Momjian <pgman@candle.pha.pa.us>
0 siblings, 0 replies; 3+ messages in thread
From: Mendola Gaetano @ 2003-06-09 10:56 UTC (permalink / raw)
To: Bruce Momjian <pgman@candle.pha.pa.us>; Alex.H.Pollock@WellsFargo.COM; +Cc: pgsql-admin
"Bruce Momjian" <pgman@candle.pha.pa.us> wrote:
> We don't have a checker because if it is corrupt, it will mention
> something in the server logs or correct it automatically. Corruption is
> very rare, usually hardware flakiness.
I agree about the fact that corruption is very rare but sometimes I got
a "duplicate primary key" and the only solution was dump the DB,
edit the dump and restore the DB.
If the dump is uge ( like 400 MB ) is a lot of down time :-(
The problem disappeared after removing the reindex on that table
scheduled each morning.
Regards
Gaetano Mendola.
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2003-06-09 10:56 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-06-05 23:38 Diagnose Database Corruption Alex.H.Pollock@WellsFargo.COM
2003-06-09 01:21 ` Bruce Momjian <pgman@candle.pha.pa.us>
2003-06-09 10:56 ` Mendola Gaetano <mendola@bigfoot.com>
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