From: | Alban Hertroys <haramrae(at)gmail(dot)com> |
---|---|
To: | Carl von Clausewitz <clausewitz45(at)gmail(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: corrupted statistics file "pg_stat_tmp/pgstat.stat" |
Date: | 2012-08-15 13:32:45 |
Message-ID: | CAF-3MvODOsPe+Fq_0t=9A7AZ6P2kKcZ0Uh0pfKpgDak3O1QgKQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 15 August 2012 09:57, Carl von Clausewitz <clausewitz45(at)gmail(dot)com> wrote:
> I’ve restored from TAR backup our databases, and everything looked fine.
What exactly is in that TAR backup? Is that a tar/gzipped PG dump or a
file-system snapshot?
If the latter:
- did you halt the database while creating the snapshot or at least
force a checkpoint?
- is the version of PG that you're restoring to exactly the same (same
CPU type, same major/minor version of PG) as the one that the backup
is from?
I suspect that you restored a database with corrupt statistics and
that those only get found out once the corrupted statistics are
needed.
--
If you can't see the forest for the trees,
Cut the trees and you'll see there is no forest.
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2012-08-15 13:34:24 | Re: corrupted statistics file "pg_stat_tmp/pgstat.stat" |
Previous Message | Amitabh Kant | 2012-08-15 13:19:13 | Re: corrupted statistics file "pg_stat_tmp/pgstat.stat" |