Solved

WARNING some databases have not been vacuumed

Posted on 2007-03-20
1
500 Views
Last Modified: 2008-02-01
I just got this email from root, what can I do about this?

Reloading httpd: [  OK  ]
/etc/cron.daily/vacuumdb:

WARNING:  some databases have not been vacuumed in over 2 billion transactions
DETAIL:  You may have already suffered transaction-wraparound data loss.
0
Comment
Question by:Sabrin
1 Comment
 
LVL 32

Accepted Solution

by:
Daniel Wilson earned 500 total points
ID: 18754806
PostgreSQL?  What version?

http://www.postgresql.org/docs/8.1/static/maintenance.html

Is the vacuumdb routine running daily?  (As I read your message it appears to be, but I'm trying to confirm.)

Are some DB's busy enough that they are getting more than 2 billion transactions in a day?  Can you schedule the maintenance routine more frequently, say every 3 hours?

Hopefully this will get you started ... and somebody who know PostgreSQL & Linux better than I can help more!
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
centos linux 65 159
How to use question mark (?) in filename with html 25 73
How to mount nfs share on this CentOS server? 6 43
Moving from Mcrypt to OpenSSL 18 48
This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question