From: Guillaume Lelarge <guillaume@lelarge.info>
To: bhanu udaya <udayabhanu1984@hotmail.com>
Cc: pgadmin-support@postgresql.org <pgadmin-support@postgresql.org>
Subject: Re: pg_Restore
Date: Sun, 20 Jan 2013 22:42:54 +0100
Message-ID: <1358718174.2081.30.camel@localhost.localdomain> (raw)
In-Reply-To: <COL002-W91D920E81B347335FEE275D3100@phx.gbl>
References: <COL002-W91D920E81B347335FEE275D3100@phx.gbl>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgadmin-support>
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.infohttp://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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: guillaume@lelarge.info, udayabhanu1984@hotmail.com, pgadmin-support@postgresql.org
Subject: Re: pg_Restore
In-Reply-To: <1358718174.2081.30.camel@localhost.localdomain>
References: <COL002-W91D920E81B347335FEE275D3100@phx.gbl> <1358718174.2081.30.camel@localhost.localdomain>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox