Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 644BC477338 for ; Fri, 21 Jun 2002 16:48:52 -0400 (EDT) Received: from MAIL01.stbernard.com (mail01.stbernard.com [64.154.93.162]) by postgresql.org (Postfix) with ESMTP id 610A14778ED for ; Fri, 21 Jun 2002 14:32:33 -0400 (EDT) Received: by MAIL01.stbernard.com with Internet Mail Service (5.5.2653.19) id ; Fri, 21 Jun 2002 11:32:33 -0700 Message-ID: <7C760DAA511DC74B99E7D22189F786F101BF20E2@MAIL01.stbernard.com> From: Jie Liang To: pgsql-sql@postgresql.org Subject: FW: RESTORE A TABLE Date: Fri, 21 Jun 2002 11:32:32 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Archive-Number: 200206/302 X-Sequence-Number: 8267 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