pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedCheck for logical / physical corruption
2+ messages / 2 participants
[nested] [flat]
* Check for logical / physical corruption
@ 2018-01-25 12:30 flumbador@virgilio.it
2018-01-25 16:37 ` Re: Check for logical / physical corruption Laurenz Albe <laurenz.albe@cybertec.at>
0 siblings, 1 reply; 2+ messages in thread
From: flumbador@virgilio.it @ 2018-01-25 12:30 UTC (permalink / raw)
To: pgsql-admin@lists.postgresql.org
Hi all,
I need to check that my database has not physical / logical corruption.
I think that "vacuumdb -all -freeze -analyze" will do this for me.
Am I right?
Are there other command / utility that I should do to check corruptions?
Thanks in advance
Regards
Gabriele Fagnani
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Check for logical / physical corruption
2018-01-25 12:30 Check for logical / physical corruption flumbador@virgilio.it
@ 2018-01-25 16:37 ` Laurenz Albe <laurenz.albe@cybertec.at>
0 siblings, 0 replies; 2+ messages in thread
From: Laurenz Albe @ 2018-01-25 16:37 UTC (permalink / raw)
To: flumbador@virgilio.it; pgsql-admin@lists.postgresql.org
flumbador@virgilio.it wrote:
> I need to check that my database has not physical / logical corruption.
> I think that "vacuumdb -all -freeze -analyze" will do this for me.
> Am I right?
> Are there other command / utility that I should do to check corruptions?
The only good test is to run a pg_dumpall and restore the dump into a new
PostgreSQL cluster.
Yours,
Laurenz Albe
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2018-01-25 16:37 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-01-25 12:30 Check for logical / physical corruption flumbador@virgilio.it
2018-01-25 16:37 ` Laurenz Albe <laurenz.albe@cybertec.at>
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