pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andy Colson <andy@squeakycode.net>
To: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: Michael Andreasen <michael@dunlops.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Fastest pq_restore?
Date: Fri, 18 Mar 2011 14:10:05 -0500
Message-ID: <4D83AE0D.1020607@squeakycode.net> (raw)
In-Reply-To: <4D8327FD020000250003BA92@gw.wicourts.gov>
References: <AANLkTi=x88_1hTotWNkw8XAGxt2iXs1JmW0WZ4sCtWXm@mail.gmail.com>
	<4D82B075.7070202@squeakycode.net>
	<4D8327FD020000250003BA92@gw.wicourts.gov>

On 3/18/2011 9:38 AM, Kevin Grittner wrote:
> Andy Colson<andy@squeakycode.net>  wrote:
>> On 03/17/2011 09:25 AM, Michael Andreasen wrote:
>
>>> I've been looking around for information on doing a pg_restore as
>>> fast as possible.
>
>> bgwriter_lru_maxpages = 0
>
> I hadn't thought much about that last one -- do you have benchmarks
> to confirm that it helped with a bulk load?
>

Nope, I got it from the "running with scissors" thread (I think), (maybe 
from Greg Smith)


or here:

http://rhaas.blogspot.com/2010/06/postgresql-as-in-memory-only-database_24.html

I dont recall exactly.  I saw it, add added a comment to my .conf just 
incase I ever needed it.

-Andy



view thread (5+ messages)  latest in thread

Message-ID: <4D83AE0D.1020607@squeakycode.net>
Permalink:  ../4D83AE0D.1020607@squeakycode.net/
Also on:    postgresql.org/message-id/4D83AE0D.1020607@squeakycode.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: andy@squeakycode.net, Kevin.Grittner@wicourts.gov, michael@dunlops.com
  Subject: Re: Fastest pq_restore?
  In-Reply-To: <4D83AE0D.1020607@squeakycode.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox