Re: can't shrink relation

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: can't shrink relation
Дата
Msg-id 23610.1011280565@sss.pgh.pa.us
обсуждение исходный текст
Ответ на can't shrink relation  (Gavin Sherry <swm@linuxworld.com.au>)
Список pgsql-hackers
Gavin Sherry <swm@linuxworld.com.au> writes:
> I am getting a NOTICE in logs about once a day:
> NOTICE:  Rel s: TID 212/16: DeleteTransactionInProgress 0 - can't
> shrink relation

AFAICT, the only way to get that message is if you have a tuple with
good (committed) t_xmin, but t_xmax is 0, and yet HEAP_XMAX_INVALID
is not set.  Bizarre.  Does the tuple appear valid otherwise?
(Try "select * from s where ctid = '(212,16)'" to view it.)

> Moreover, this error is occuring in the same database I reported as
> saying 'Relation pg_shadow does not exist' the other day.

You've got something mighty weird going on there.  Possibly time for
a dump/initdb/reload.  Possibly time to run some memory & disk
diagnostics.
        regards, tom lane


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

Предыдущее
От: Gavin Sherry
Дата:
Сообщение: can't shrink relation
Следующее
От: Jan Wieck
Дата:
Сообщение: Re: CREATE OR REPLACE VIEW / TRIGGER