Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Tx2fM-0003Lk-FD for pgadmin-support@arkaria.postgresql.org; Sun, 20 Jan 2013 21:43:00 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1Tx2fL-0002dm-Kh for pgadmin-support@arkaria.postgresql.org; Sun, 20 Jan 2013 21:42:59 +0000 Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Tx2fK-0002dg-Tx for pgadmin-support@postgresql.org; Sun, 20 Jan 2013 21:42:58 +0000 Received: from 88-190-26-230.rev.dedibox.fr ([88.190.26.230] helo=sd-30687.dedibox.fr) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Tx2fH-0001az-F3 for pgadmin-support@postgresql.org; Sun, 20 Jan 2013 21:42:58 +0000 Received: from [192.168.10.5] (AMontsouris-652-1-205-102.w86-212.abo.wanadoo.fr [86.212.80.102]) by sd-30687.dedibox.fr (Postfix) with ESMTPSA id 77527641B6D; Sun, 20 Jan 2013 22:42:54 +0100 (CET) Message-ID: <1358718174.2081.30.camel@localhost.localdomain> Subject: Re: pg_Restore From: Guillaume Lelarge To: bhanu udaya Cc: "pgadmin-support@postgresql.org" Date: Sun, 20 Jan 2013 22:42:54 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.4.4 (3.4.4-2.fc17) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -0.9 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgadmin-support Precedence: bulk Sender: pgadmin-support-owner@postgresql.org On Mon, 2013-01-21 at 00:03 +0530, bhanu udaya wrote: > Hello, Greetings !I am new to postgres and recently got migrated from oracle.I am trying to restore 9.5G database (1GB dumpfile) which has 500 schemas with 1 lakh rows in each schema. Could take the data dump using pg_dump and it takes around 40 minutes. I tried to use pg_restore to restore this dump, but it takes hours to restore the dump. I have used the configurations parameters as below: shared_buffers = 1024MB work_mem = 512MBmaintenance_work_mem = 512MBwal_buffers = 100MB I have used command to restore as below:pg_Restore -d newdb -j2 e:\file.dmp My machine configurations are as below:Windows Core I5 with 4GB Ram. Thanks for your help. Thanks and RegardsRadha Krishna You should better look for help on the pgsql-* mailing lists (for example pgsql-general). Anyway, from what you say, you should probably take a look at your checkpoint settings. They probably hurt you more than you think. -- Guillaume http://blog.guillaume.lelarge.info http://www.dalibo.com -- Sent via pgadmin-support mailing list (pgadmin-support@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-support