Re: Upgrading a database dump/restore

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Theo Schlossnagle <jesus(at)omniti(dot)com>
Cc: Markus Schaber <schabi(at)logix-tt(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Upgrading a database dump/restore
Date: 2006-10-11 14:36:32
Message-ID: 22842.1160577392@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Theo Schlossnagle <jesus(at)omniti(dot)com> writes:
> The real problem with a "dump" of the database is that you want to be
> able to quickly switch back to a known working copy in the event of a
> failure. A dump is the furthest possible thing from a working copy
> as one has to rebuild the database (indexes, etc.) and in doing so,
> you (1) spend the better part of a week running pg_restore and (2)
> ANALYZE stats change, so your system's behavior changes in hard-to-
> understand ways.

Seems like you should be looking into maintaining a hot spare via PITR,
if your requirement is for a bit-for-bit clone of your database.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Teodor Sigaev 2006-10-11 14:45:36 Re: hstore isexists
Previous Message Andrew Dunstan 2006-10-11 14:29:56 Re: hstore isexists