Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Tx8i8-0008IP-6p for pgsql-general@arkaria.postgresql.org; Mon, 21 Jan 2013 04:10:16 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1Tx8i6-0002Sd-MH for pgsql-general@arkaria.postgresql.org; Mon, 21 Jan 2013 04:10:14 +0000 Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Tx8i5-0002RZ-A7 for pgsql-general@postgresql.org; Mon, 21 Jan 2013 04:10:13 +0000 Received: from col0-omc2-s16.col0.hotmail.com ([65.55.34.90]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Tx8i2-0000nN-IO for pgsql-general@postgresql.org; Mon, 21 Jan 2013 04:10:11 +0000 Received: from COL002-W61 ([65.55.34.73]) by col0-omc2-s16.col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 20 Jan 2013 20:10:08 -0800 X-EIP: [JfCvbHFe046TcDFI2baCxWujT4oSvmy3buUkT7GeT0A=] X-Originating-Email: [udayabhanu1984@hotmail.com] Message-ID: Content-Type: multipart/alternative; boundary="_dc1fe7f6-8940-449f-a9a1-bf0888d9e647_" From: bhanu udaya To: "pgsql-general@postgresql.org" Subject: Re: pg_Restore Date: Mon, 21 Jan 2013 09:40:08 +0530 Importance: Normal In-Reply-To: References: MIME-Version: 1.0 X-OriginalArrivalTime: 21 Jan 2013 04:10:08.0817 (UTC) FILETIME=[3362BA10:01CDF78D] X-Pg-Spam-Score: -1.6 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org --_dc1fe7f6-8940-449f-a9a1-bf0888d9e647_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello=2C =20 Greetings ! I am new to postgres and recently got migrated from oracle. I am using post= gresql 9.2 version. I am trying to restore 9.5G database (1GB dumpfile) which has 500 schemas w= ith 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= =2C but it takes hours to restore the dump. I have used the configurations = parameters as below: =20 shared_buffers =3D 1024MB =20 work_mem =3D 512MB maintenance_work_mem =3D 512MB wal_buffers =3D 100MB =20 I have used command to restore as below: pg_Restore -d newdb -j2 e:\file.dmp =20 My machine configurations are as below: Windows Core I5 with 4GB Ram. =20 Thanks for your help. =20 Thanks and Regards Radha Krishna = --_dc1fe7f6-8940-449f-a9a1-bf0888d9e647_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello=2C
 =3B
Greeting= s !
I am new to postgres and recently got migrated from oracle. I am usi= ng postgresql 9.2 version.
I am trying to restore 9.5G database (1GB dum= pfile) which has 500 schemas with 1 lakh rows in each schema. Could take th= e data dump using pg_dump and it takes around 40 minutes. I tried to use pg= _restore to restore this dump=2C but it takes hours to restore the dump. I = have used the configurations parameters as below:
 =3B
shared_buf= fers =3D 1024MB =3B =3B =3B
work_mem =3D 512MB
maintenanc= e_work_mem =3D 512MB
wal_buffers =3D 100MB
 =3B
I have used co= mmand to restore as below:
pg_Restore -d newdb -j2 e:\file.dmp
 = =3B
My machine configurations are as below:
Windows Core I5 with 4GB = Ram.
 =3B
Thanks for your help.
 =3B
Thanks and Regards=
Radha Krishna

= --_dc1fe7f6-8940-449f-a9a1-bf0888d9e647_--