Re: Fastest pq_restore? - Mailing list pgsql-performance

From bricklen
Subject Re: Fastest pq_restore?
Date
Msg-id AANLkTimdLKixWFhPTy5t-S63VFz021KQhB8Ee+kMs-2n@mail.gmail.com
Whole thread Raw
In response to Fastest pq_restore?  (Michael Andreasen <michael@dunlops.com>)
List pgsql-performance
On Thu, Mar 17, 2011 at 7:25 AM, Michael Andreasen <michael@dunlops.com> wrote:
> Currently I am using a twin processor box with 2GB of memory and raid 5
> disk.
> I start postgres before my load with these settings, which have been
> suggested.
>
> I restore like this;
> pg_restore -Fc -j 4 -i -O -d my_db my_db_dump.tbz
>

Just throwing this out there, but you have 4 parallel jobs running the
restore (-j 4), with two processors? They are multi-core? You might be
seeing some contention there if they aren't.

pgsql-performance by date:

Previous
From: Andy Colson
Date:
Subject: Re: Performance on AIX
Next
From: Adam Tistler
Date:
Subject: Select in subselect vs select = any array