Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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
===========================================


pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group