Hello,
Greetings ! I tried with all the below options. It approximatly takes 1 hour 30 minutes for restoring a 9GB database. This much time can not be affordable as the execution of test cases take only 10% of this whole time and waiting 1 hour 30 minutes after every test case execution is alot for the team. Kindly let me know if we can reduce the database restoration time . Thanks and Regards Radha Krishna Date: Mon, 21 Jan 2013 08:15:47 +0100 Subject: Re: pg_Restore From: magnus@xxxxxxxxxxxx To: udayabhanu1984@xxxxxxxxxxx CC: francois@xxxxxxxxxxx; pgsql-general@xxxxxxxxxxxxxx
Try running pg_restore with the -1 option. If that doesn't help, try -m4 or something like that (you'll have to remove the first option then, can't use both at once) But it's going to be pushing it anyway. Your scenario is going to create thousands of files (assuming you have multiple tables in each of your schemas as is normal), and that's just not something ntfs does very fast. Once the files are there, I bet loading the data is reasonably fast since it can't be all that big.... /Magnus |