Re: ERROR: could not read block

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ERROR: could not read block
Дата
Msg-id 1278.1305990969@sss.pgh.pa.us
обсуждение исходный текст
Ответ на ERROR: could not read block  (Diego Fernández Slezak <dfslezak@gmail.com>)
Ответы Re: ERROR: could not read block  (Diego Fernández Slezak <dfslezak@gmail.com>)
Список pgsql-admin
=?ISO-8859-1?Q?Diego_Fern=E1ndez_Slezak?= <dfslezak@gmail.com> writes:
> Hello everybody,
> I had a hard drive failure last week. After lots of effort I've been able to
> backup a 700GB database, with only one file with corruption.

> When I do some big queries, it throws me errors on this faulty file:
> could not read block 390041 of relation 1663/350994/351212: read only 0 of
> 8192 bytes

I'm guessing this is the result of an index entry pointing to a block
that's not there --- either the index is corrupted, or you lost some
data.  In any case, reindexing the table ought to get rid of this error.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Who is causing all this i/o?
Следующее
От: Syed Khan
Дата:
Сообщение: shutdown procedure warm standby