Re: more corruption - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: more corruption
Date
Msg-id 200007100336.XAA10105@candle.pha.pa.us
Whole thread Raw
In response to Re: more corruption  (Tim Perdue <tperdue@valinux.com>)
Responses Re: more corruption  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
You have recreated what pg_upgrade does.  It is for upgrading system
tables.  If only your system tables were hosed, you are fine now.


> The Hermit Hacker wrote:
> > just a quick thought ... have you tried shutting down and restrating the
> > postmaster?  basically, "reset" the shared memory?  v7.x handles
> > corruptions like that alot cleaner, but previous versions caused odd
> > results if shared memory got corrupted ...
> 
> Well, I've rebooted twice. In fact, it was a hard lock that caused the
> problems. When the machine was brought back up, the db was foobar.
> 
> I'm doing something really really evil to avoid losing the last days'
> data:
> 
> -I created a new db
> -used the old db schema to create all new blank tables
> -copied the physical table files from the old data directory into the
> new database directory
> -currently vacuuming the new db - nothing is barfing yet
> -now hopefully I can create my indexes and be back in business
> 
> Tim
> 
> -- 
> Founder - PHPBuilder.com / Geocrawler.com
> Lead Developer - SourceForge
> VA Linux Systems
> 408-542-5723
> 


--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Philip Warner
Date:
Subject: Re: Re: [GENERAL] PostgreSQL vs. MySQL
Next
From: Philip Warner
Date:
Subject: pg_backup symlink?