Re: corrupted statistics file "pg_stat_tmp/pgstat.stat"

Поиск
Список
Период
Сортировка
От Alban Hertroys
Тема Re: corrupted statistics file "pg_stat_tmp/pgstat.stat"
Дата
Msg-id CAF-3MvODOsPe+Fq_0t=9A7AZ6P2kKcZ0Uh0pfKpgDak3O1QgKQ@mail.gmail.com
обсуждение исходный текст
Ответ на corrupted statistics file "pg_stat_tmp/pgstat.stat"  ("Carl von Clausewitz" <clausewitz45@gmail.com>)
Ответы Re: corrupted statistics file "pg_stat_tmp/pgstat.stat"  ("Carl von Clausewitz" <clausewitz45@gmail.com>)
Список pgsql-general
On 15 August 2012 09:57, Carl von Clausewitz <clausewitz45@gmail.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.


В списке pgsql-general по дате отправления:

Предыдущее
От: Amitabh Kant
Дата:
Сообщение: Re: corrupted statistics file "pg_stat_tmp/pgstat.stat"
Следующее
От: Tom Lane
Дата:
Сообщение: Re: corrupted statistics file "pg_stat_tmp/pgstat.stat"