Unix Technical Forum

VACUMM problem

This is a discussion on VACUMM problem within the pgsql Admins forums, part of the PostgreSQL category; --> Hello I didn't do VACUUM long time and now I have problem: WARNING: some databases have not been vacuumed ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Admins

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 06:12 AM
Marek Dabrowski
 
Posts: n/a
Default VACUMM problem

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

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-10-2008, 06:12 AM
Robert Treat
 
Posts: n/a
Default Re: VACUMM problem

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

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:08 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com