pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedVACUMM problem
2+ messages / 2 participants
[nested] [flat]
* VACUMM problem
@ 2005-09-03 13:21 Marek Dabrowski <marek.dabrowski@infor.pl>
0 siblings, 1 reply; 2+ messages in thread
From: Marek Dabrowski @ 2005-09-03 13:21 UTC (permalink / raw)
To: pgsql-admin
Hello
I didn't do VACUUM long time and now I have problem:
WARNING: some databases have not been vacuumed in over 2 billion
transactions
DETAIL: You may have already suffered transaction-wraparound data loss.
What I have to do to resolve this problem?
Regards
Marek
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: VACUMM problem
@ 2005-09-03 14:01 Robert Treat <xzilla@users.sourceforge.net>
parent: Marek Dabrowski <marek.dabrowski@infor.pl>
0 siblings, 0 replies; 2+ messages in thread
From: Robert Treat @ 2005-09-03 14:01 UTC (permalink / raw)
To: pgsql-admin; +Cc: Marek Dabrowski <marek.dabrowski@infor.pl>
On Saturday 03 September 2005 09:21, Marek Dabrowski wrote:
> Hello
>
> I didn't do VACUUM long time and now I have problem:
>
> WARNING: some databases have not been vacuumed in over 2 billion
> transactions
> DETAIL: You may have already suffered transaction-wraparound data loss.
>
> What I have to do to resolve this problem?
>
I would recommend you go through each database in your cluster and run "vacuum
verbose;" any tables that have a high number of unused tuples in the
output (say more unused than used) should have vacuum full <tablename> run on
them. Also at the end of each vacuum run, it will tell you how many free
pages you need... write this down and adjust your postgresql.conf
accordingly. Finally I would suggest you set up an automated process to run
vaccum for you, or enable autovacuum if it is available. The docs can help
you with specifics on most of these items.
--
Robert Treat
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2005-09-03 14:01 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-09-03 13:21 VACUMM problem Marek Dabrowski <marek.dabrowski@infor.pl>
2005-09-03 14:01 ` Robert Treat <xzilla@users.sourceforge.net>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox