| From: | bhanu udaya <udayabhanu1984(at)hotmail(dot)com> |
|---|---|
| To: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: pg_Restore |
| Date: | 2013-01-21 04:10:08 |
| Message-ID: | COL002-W617531EF00D8D476E3F90CD3170@phx.gbl |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgadmin-support pgsql-general |
Hello,
Greetings !
I am new to postgres and recently got migrated from oracle. I am using postgresql 9.2 version.
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 = 512MB
maintenance_work_mem = 512MB
wal_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 Regards
Radha Krishna
| From | Date | Subject | |
|---|---|---|---|
| Next Message | François Beausoleil | 2013-01-21 04:19:44 | Re: pg_Restore |
| Previous Message | Guillaume Lelarge | 2013-01-20 21:42:54 | Re: pg_Restore |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | François Beausoleil | 2013-01-21 04:12:20 | Re: Understanding TIMESTAMP WITH TIME ZONE |
| Previous Message | Chris Travers | 2013-01-21 03:55:01 | Re: Re: [HACKERS] Overly strict casting rules? (was: proposal: fix corner use case of variadic fuctions usage) |