Re: page is uninitialized --- fixing

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: page is uninitialized --- fixing
Дата
Msg-id 28007.1244578639@sss.pgh.pa.us
обсуждение исходный текст
Ответ на page is uninitialized --- fixing  (Simon Riggs <simon@2ndQuadrant.com>)
Ответы Re: page is uninitialized --- fixing  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-hackers
Simon Riggs <simon@2ndQuadrant.com> writes:
> A couple of people in recent years have had a problem with "page X is
> uninitialised -- fixing" messages.

> I have a case now with 569357 consecutive pages that required fixing in
> pg_attribute. We looked at pages by hand and they really are
> uninitialised, but otherwise what we would expect for size, name etc..

> Clearly this is way too many pages to be easily explainable.

It's probably too late to tell now, but I wonder if those pages actually
existed or were just a "hole" in the file.  A perhaps-plausible
mechanism for them to appear is that the FSM spits out some ridiculously
large page number as being the next place to insert something into
pg_attribute, the system plops down a new tuple into that page, and
behold you have a large hole that reads as zeroes.

Another interesting question is whether the range began or ended at a
1GB segment boundary, in which case something in or around the
segmenting logic could be at fault.  (Hmm ... actually 1GB is only
131072 pages anyway, so your "hole" definitely spanned several segments.
That seems like the next place to look.)
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: postmaster recovery and automatic restart suppression
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Problem with listen_addresses = '*' on 8.4beta2 on AIX