From: | Richard Huxton <dev(at)archonet(dot)com> |
---|---|
To: | Saranya Sivakumar <sarlavk(at)yahoo(dot)com> |
Cc: | pgsqlperform <pgsql-performance(at)postgresql(dot)org>, pgsqlnovice <pgsql-novice(at)postgresql(dot)org> |
Subject: | Re: [PERFORM] 7.3.2 pg_restore very slow |
Date: | 2006-08-07 09:55:50 |
Message-ID: | 44D70E26.9020804@archonet.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice pgsql-performance |
Saranya Sivakumar wrote:
> Hi All,
>
> I am trying to back up a full copy of one of our databases (14G) and
> restore it on another server. Both databases run 7.3.2 version.
> Though the restore completed successfully, it took 9 hours for the
> process to complete. The destination server runs Fedora Core 3 with
> 512 MB RAM and has 1 processor. I have also deferred referential
> intergrity checks during the restore. I tried to tune some parameters
> in the config file, but it still takes 9 hours.
Firstly, you should upgrade to the most recent version of 7.3.x (7.3.15)
- that's a *lot* of bug-fixes you are missing
Then, I would temporarily disable fsync and increase sort_mem and
checkpoint_segments. What you're trying to do is make a single process
run as fast as possible, so allow it to grab more resources than you
normally would.
--
Richard Huxton
Archonet Ltd
From | Date | Subject | |
---|---|---|---|
Next Message | Srinivas Iyyer | 2006-08-07 15:19:00 | Did I wipe off my database -- please help - urgent |
Previous Message | Tom Lane | 2006-08-07 04:24:29 | Re: Scheduling data input from tab delimited file via php |
From | Date | Subject | |
---|---|---|---|
Next Message | Markus Schaber | 2006-08-07 11:51:23 | Re: Disk writes |
Previous Message | Pit M. | 2006-08-07 09:48:50 | Re: Migrating data from DB2 to SQL Server |