Re: [ADMIN] WARNING: database must be vacuumed within 8439472 transactions
От | Prabhjot Sheena |
---|---|
Тема | Re: [ADMIN] WARNING: database must be vacuumed within 8439472 transactions |
Дата | |
Msg-id | CAOf_bQZOzUfLSe9cQJ6hLJ9UuVhbCTQFGm=hm5df3GZoZnMcRg@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: [ADMIN] WARNING: database must be vacuumed within 8439472 transactions (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: [ADMIN] WARNING: database must be vacuumed within
8439472 transactions
Re: [ADMIN] WARNING: database must be vacuumed within 8439472 transactions |
Список | pgsql-general |
So this is what i did but my problem is still not going away.
i shutdown the database and started it in single user mode and issued command vacuum fullautovacuum: VACUUM public.hotel_site_market (to prevent wraparound)
caesius=# select relname, age(relfrozenxid) from pg_class where relkind = 'r' order by 2 desc;
WARNING: database "caesius" must be vacuumed within 1648680 transactions
HINT: To avoid a database shutdown, execute a full-database VACUUM in "caesius".
relname | age
----------------------------------------------------+------------
hotel_site_market | 2145834967
cc_table_data | 198017413
WARNING: database prod01 must be vacuumed within 1648687 transactions
On Mon, Jul 7, 2014 at 4:14 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
John R Pierce <pierce@hogranch.com> writes:Not only regular transactions, but prepared transactions:
> 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.
select * from pg_prepared_xacts;
8.3 was the last release in which max_prepared_transactions was nonzero
by default, thereby allowing people to shoot themselves in the foot
this way without having taken off the safety first :-(
regards, tom lane
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
В списке pgsql-general по дате отправления: