Re: Fwd: index corruption in PG 8.3.13

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Fwd: index corruption in PG 8.3.13
Дата
Msg-id 1299717506-sup-7371@alvh.no-ip.org
обсуждение исходный текст
Ответ на 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>)
Список pgsql-hackers
Excerpts from Nikhil Sontakke's message of mié mar 09 20:28:19 -0300 2011:

> While I rummage around the code more, does anyone have any theories on
> the below?
> 
> "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"

Well, if you see the root block child pointers, they go to pages
2, 4-277,522-524.  So pages 278 to 521 seem unused for some reason,
which is rather strange.  But apparently only page 523 is zeroed and
shouldn't be.

It seems hard to believe that there would be 245 unsuccessful attempts
at extending the file.

Page 522 is suspect too ... why does it have a single item?  Note its
LSN is very close to the one on page 521.

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


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

Предыдущее
От: David Fetter
Дата:
Сообщение: Re: Fwd: psql include file using relative path
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: WAL segments pile up during standalone mode