Re: database server crash und how can i check all tables

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Re: database server crash und how can i check all tables
Дата
Msg-id A737B7A37273E048B164557ADEF4A58B50F665F0@ntex2010a.host.magwien.gv.at
обсуждение исходный текст
Ответ на Re: database server crash und how can i check all tables  (<Holger.Friedrich-Fa-Trivadis@it.nrw.de>)
Список pgsql-admin
Holger Friedrich wrote:
> Muthana AL-Temimi wrote on Friday, June 19, 2015 12:33 PM:

>> But I want to check all the tables if everything is ok. Is there a command for such problem
>> (check).

> I keep hearing that pgdump is good at detecting database corruption, i.e. if pgdump runs into a
> problem you definitely have corruption.  (Not sure if the converse is also true.)

Restoring the dump somewhere else gives you even more confidence in the integrity
of your data.

But if you really want to know if everything is ok, you should have used the "-k"
option for initdb to enable block checksums.  Then a pg_dump would definitely tell
you if something is wrong.

Unfortunately checksums can only be enabled at initdb time, not later.

Yours,
Laurenz Albe

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

Предыдущее
От:
Дата:
Сообщение: Re: database server crash und how can i check all tables
Следующее
От: Albe Laurenz
Дата:
Сообщение: Re: database server crash und how can i check all tables