Re: 7 hrs for a pg_restore? - Mailing list pgsql-performance

From Gregory Stark
Subject Re: 7 hrs for a pg_restore?
Date
Msg-id 874pc3ww96.fsf@oxford.xeocode.com
Whole thread Raw
In response to Re: 7 hrs for a pg_restore?  (Douglas J Hunley <doug@hunley.homeip.net>)
Responses Re: 7 hrs for a pg_restore?
List pgsql-performance
"Douglas J Hunley" <doug@hunley.homeip.net> writes:

> On Tuesday 19 February 2008 16:32:02 Erik Jones wrote:
>> pg_restore is a postgres client app that uses libpq to connect and,  
>> thus, will pick up anything in your $PGOPTIONS env variable.  So,
>>
>> PGOPTONS="-c maintenance_work_mem=512MB" && pg_restore ....
>
> now that's just plain cool
>
> /me updates our wiki

I would suggest leaving out the && which only obfuscate what's going on here.

PGOPTIONS=... pg_restore ...

would work just as well and be clearer about what's going on.

--
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com
  Ask me about EnterpriseDB's Slony Replication support!

pgsql-performance by date:

Previous
From: "C." Bergström
Date:
Subject: Re: Anyone using a SAN?
Next
From: Michael Stone
Date:
Subject: Re: Anyone using a SAN?