Unix Technical Forum

Best way to fix Error: could not access status of transaction?

This is a discussion on Best way to fix Error: could not access status of transaction? within the Pgsql General forums, part of the PostgreSQL category; --> Hi, I have a database (8.1.10 via Ubuntu) that has started reporting: <2008-01-08 08:51:14 EST|>ERROR: could not access status ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 12:17 AM
Paul McGarry
 
Posts: n/a
Default Best way to fix Error: could not access status of transaction?

Hi,

I have a database (8.1.10 via Ubuntu) that has started reporting:

<2008-01-08 08:51:14 EST|>ERROR: could not access status of
transaction 707406378
<2008-01-08 08:51:14 EST|>DETAIL: could not open file "pg_clog/02A2":
No such file or directory

when trying to do an autovacuum.

By vacuuming tables individually I have determined that the problem
occurs in a table that doesn't contain critical data (basically log
information that is kept for a month in case it is useful).

Posts I have found in the archive seem to advocate manually trying to
create the missing pg_clog file however I would prefer not to fiddle
with it manually if there is another way to clear the error.

Bearing in mind that I don't particularly need the data in that table
can I simply truncate it or drop/recreate it to clear the above error?

Paul

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-10-2008, 12:17 AM
Alvaro Herrera
 
Posts: n/a
Default Re: Best way to fix Error: could not access status oftransaction?

Paul McGarry wrote:

> Bearing in mind that I don't particularly need the data in that table
> can I simply truncate it or drop/recreate it to clear the above error?


Yes, truncate should work.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

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 09:44 PM.


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