pg 8.0: Restoring the catalog after disk corruption: it's possible?

From: Francesco Dalla Ca' <f(dot)dallaca(at)cineca(dot)it>
To: pgsql-admin(at)postgresql(dot)org
Subject: pg 8.0: Restoring the catalog after disk corruption: it's possible?
Date: 2005-06-23 08:11:16
Message-ID: 42BA6EA4.1070806@cineca.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

With Pg 8.0.x, with the capability of tablespace, it's possible to
create a Database that relie on many tbs.
Scenario:
I create the catalog (schemes pg_catalog, information_schema, obviously
except the tables/view that relies in tbs "pg_global") on the tablespace
"tbs1" and all other user objects on a different tbs "tbs2".
tbs1 and tbs2 stand on different volumes (v1 and v2).
After a v1 crash and subsequent tbs1 and catalog lost, there are some
ways (scripts?) to restore the catalog on a freshly new "tbs1"? (without
creating a DB and restarting from the last backup?).

Best regards.

--
===========================================
CINECA Via Magnanelli 6/3
40033 Casalecchio di Reno (Bologna)

Settore Gestione Sistemi

Francesco Dalla Ca'
Email f(dot)dallaca(at)cineca(dot)it
===========================================

Browse pgsql-admin by date

  From Date Subject
Next Message KÖPFERL Robert 2005-06-23 13:04:29 Re: Periodic bottle-neck in high load app
Previous Message Paul Keyes 2005-06-22 20:02:24 moving database to diff. server