Can't Vacuum/Analyze (Windows XP)

Experiencing technical difficulties? Think you've found a problem with PokerTracker 3? Report it here.

Moderator: Moderators

Can't Vacuum/Analyze (Windows XP)

Postby A Loaf Of Bread » Mon Oct 10, 2011 11:29 am

I am unable to vacuum or analyze my database and as a result it is starting to run very slowly. I have tried both version 3.1 and 3.11.5 beta, neither will work.

I get this message:

"Unable to execute query: VACUUM;; Reason: Fatal Error
(ERROR: invalid page header in block 5 of relation
"tourney_holdem_hand_summary")
Unable to execute query: ANALYZE;; Reason: Fatal Error
(ERROR: invalid page header in block 5 of relation
"tourney_holdem_hand_summary")"

What is the problem? I can send more data if needed.

EDIT: As a side note, my Mac version works like a charm.
A Loaf Of Bread
 
Posts: 4
Joined: Mon Sep 20, 2010 3:28 am

Re: Can't Vacuum/Analyze (Windows XP)

Postby kraada » Mon Oct 10, 2011 12:15 pm

There are two main reasons for this error. The first is a result of data corruption from a computer crash that requires reindexing your database. You can reindex your database from the Housekeeping menu.

The second reason for this error is a result of faulty hardware. You can set PostgreSQL to ignore these errors by clicking Start --> Programs --> PostgreSQL --> Configuration Files --> Edit postgresql.conf. In the configuration file that appears, go to the bottom of the file and add the text "zero_damaged_pages = on" on a new line and then save and close the file. Click Start --> Programs --> PostgreSQL --> Reload Configuration and PostgreSQL will ignore the damaged data. If you continue to have problems with that hard drive, you should consider replacing it.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY


Return to Technical Support / Bug Reports [Read Only]

Who is online

Users browsing this forum: No registered users and 0 guests