Hallo Lists,
yesterday our database-server crashed (raid-error). After reparing the filesystem (ext2) we have a problem with our lagest table in the database.
vaccuum aborts with the following meassage (sorry it is in German):
DEBUG: vacuume »messungen.massendaten«
HINWEIS: Relation »massendaten« TID 211540/73: DeleteTransactionInProgress 16785658 --- kann Relation nicht verkleinern (cannot shrink relation)
DEBUG: AbortCurrentTransaction
FEHLER: ungültiger Seitenkopf in Block 354500 von Relation »massendaten« (unvalid pagehead in block ...)
All other operations using ctid 211540/73 give:
FEHLER: konnte auf den Status von Transaktion 16785658 nicht zugreifen (could not get status of transaction ...) DETAIL: konnte Datei »/var/lib/pgsql/data/pg_clog/0010« nicht öffnen: Datei oder Verzeichnis nicht gefunden
Is there a way to repair the database?
Help welcome!
Regards
Stefan
-- ----------------------------- Dr. Stefan Holzheu Tel.: 0921/55-5720 Fax.: 0921/55-5799 BITOeK Wiss. Sekretariat Universitaet Bayreuth D-95440 Bayreuth -----------------------------
---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend