Re: Fwd: index corruption in PG 8.3.13

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: Fwd: index corruption in PG 8.3.13
Дата
Msg-id AANLkTimZSyjWGOsNEHxdLanMv7K4BaGbhHnpxgz1V8hp@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Fwd: index corruption in PG 8.3.13  (Nikhil Sontakke <nikhil.sontakke@enterprisedb.com>)
Ответы Re: Fwd: index corruption in PG 8.3.13  (Nikhil Sontakke <nikhil.sontakke@enterprisedb.com>)
Re: Fwd: index corruption in PG 8.3.13  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Wed, Mar 9, 2011 at 11:28 PM, Nikhil Sontakke
<nikhil.sontakke@enterprisedb.com> wrote:
> "Other peculiarity in the index file is that we found a lot of zeroed
> out pages. Blocks from #279 to #518 are all completely zeroed out
> without any signs of even a page header. Any ideas on how we can get
> so many zeroed out blocks? Apart from the extend code path, I fail to
> see any other. And this is an unusually large number of zero pages"
>

What does stat say for the index data file? Are the Size and Blocks
values the same (modulo block size)? Or are these blocks actually not
allocated?

Postgres always forces blocks to be allocated but if they were lost
due to filesystem corruption maybe they're not allocated any more.

-- 
greg


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

Предыдущее
От: Gurjeet Singh
Дата:
Сообщение: Re: Fwd: psql include file using relative path
Следующее
От: Nikhil Sontakke
Дата:
Сообщение: Re: Fwd: index corruption in PG 8.3.13