From: | Alan Hodgson <ahodgson(at)simkin(dot)ca> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: pg_Restore |
Date: | 2013-01-21 16:10:16 |
Message-ID: | 5339745.QdxrhJMicz@skynet.simkin.ca |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-support pgsql-general |
On Monday, January 21, 2013 08:40:05 PM bhanu udaya wrote:
> Hello,Thanks alot for all your replies. I tried all settings suggested, it
> did not work. pg_restore is very slow. It does not come out less than 1 1/2
> hour. Can you please let me know the procedure for Template. Will it
> restore the data also . Please update. I need the database (metadata +
> data) to be restored back after certain Java executions. Ex:- I have 9.5
> gb database (with 500 schemas + data). This is treated as base database and
> it needs to be restored every time after certain transactions.
Don't use pg_restore, do the backups/restorations outside of PostgreSQL:
- run on a server with a snapshot-capable volume manager, use that for quick
restores
- just try using rsync from a backup copy of the base data directory
(either of the above require PostgreSQL to not be running during the
restorations)
From | Date | Subject | |
---|---|---|---|
Next Message | bhanu udaya | 2013-01-21 16:15:32 | Re: pg_Restore |
Previous Message | Alban Hertroys | 2013-01-21 15:22:25 | Re: pg_Restore |
From | Date | Subject | |
---|---|---|---|
Next Message | Kevin Grittner | 2013-01-21 16:10:55 | Re: not(t_xmax = 0) |
Previous Message | Rich Shepard | 2013-01-21 15:59:24 | Re: Yet Another Timestamp Question: Time Defaults |