Re: [ADMIN] WARNING: database must be vacuumed within 8439472 transactions

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: [ADMIN] WARNING: database must be vacuumed within 8439472 transactions
Дата
Msg-id 53BB25E4.5080400@hogranch.com
обсуждение исходный текст
Ответ на Re: [ADMIN] WARNING: database must be vacuumed within 8439472 transactions  (Prabhjot Sheena <prabhjot.sheena@rivalwatch.com>)
Ответы Re: [ADMIN] WARNING: database must be vacuumed within 8439472 transactions  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On 7/7/2014 2:14 PM, Prabhjot Sheena wrote:
> i will run full vacuum than and see how it goes.

do make sure there aren't any OLD pending transactions hanging around.
if you have any stalled client connections that have left a transaction
open for weeks/months, vacuum can't free any tuples newer than the
oldest transaction.

select * from pg_stat_activity where xact_start < now()-interval '1 hour';

will list all connections with transactions over 1 hour old.







--
john r pierce                                      37N 122W
somewhere on the middle of the left coast



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [ADMIN] WARNING: database must be vacuumed within 8439472 transactions
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [ADMIN] WARNING: database must be vacuumed within 8439472 transactions