Re: pgstattuple triggered checkpoint failure and database outage?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgstattuple triggered checkpoint failure and database outage?
Дата
Msg-id 28154.1238464772@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pgstattuple triggered checkpoint failure and database outage?  (Stuart Bishop <stuart@stuartbishop.net>)
Ответы Re: pgstattuple triggered checkpoint failure and database outage?  (Stuart Bishop <stuart@stuartbishop.net>)
Список pgsql-general
Stuart Bishop <stuart@stuartbishop.net> writes:
> I just had a brief outage on a production server running 8.3.6, which
> I suspect was triggered by me running a table bloat report making lots
> of pgstattuple calls.

> The first I got of it was the script I'd just kicked off died:

> could not open segment 1 of relation 1663/16409/11088101 (target block
> 131292): No such file or directory
> CONTEXT:  writing block 131292 of relation 1663/16409/11088101
> ...
> Doing an immediate shutdown and restart seems to have brought
> everything back online.

What's the actual size of that relation now?  Is it growing rapidly?
(I'm trying to figure out whether those writes *should* have succeeded,
or whether the block numbers were corrupt in memory.)

            regards, tom lane

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

Предыдущее
От: Ow Mun Heng
Дата:
Сообщение: partial TEXT search on an index
Следующее
От: Tom Lane
Дата:
Сообщение: Re: running two servers on one machine