FW: RESTORE A TABLE

From: Jie Liang <jie(at)stbernard(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: FW: RESTORE A TABLE
Date: 2002-06-21 18:32:32
Message-ID: 7C760DAA511DC74B99E7D22189F786F101BF20E2@MAIL01.stbernard.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

I have serveral tables that they have more then 2 millions,
I want dump they out from one server and then restore them back on
another server every day, the questions are:
1. What is the fastest way to dump/restore my data, I am try to use:
pg_dump -aRt mytable -Fc -f mytable dbname
pg_restore -aRt mytable -d dbname mytable
but this takes too long to restore.
2. Is any way to disable unique index checking when loading, then enable
the index after restored?

Jie Liang

Browse pgsql-sql by date

  From Date Subject
Next Message Oleg Lebedev 2002-06-21 18:59:32 index problem
Previous Message Ian Lynagh 2002-06-21 18:10:06 Presenting consistent data