Clog/Transaction problems

Поиск
Список
Период
Сортировка
От Logan Bowers
Тема Clog/Transaction problems
Дата
Msg-id 85CE4E3FD2EC2C4E8AAE39916AC1A38306BE6AF4@ms07.mse2.exchange.ms
обсуждение исходный текст
Ответы Re: Clog/Transaction problems  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Список pgsql-general

Hello,

 

I have a really weird problem; queries against a very large table are failing against a very large table with a strange error.  Case in point:

 

dqfull=# vacuum freeze mytable;

ERROR:  could not access status of transaction 538989714

DETAIL:  could not open file "/srv/db/postgresql/pg_clog/0202": No such file or directory

 

WTF?  The only activity this table has seen is a massive data import of around ~40M rows.  Is there a way to fix clog info and make it think all transactions on it have committed?  (Note: I tried a VACUUM FREEZE after other commands were failing)  What’s a good strategy to fix this table.  I’d prefer to not have to reload it since that will take over 1 day. 

 

Logan Bowers

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

Предыдущее
От: Pascual De Ruvo
Дата:
Сообщение: Re: How to join function with a table?
Следующее
От: Yudie Pg
Дата:
Сообщение: Re: How to join function with a table?