pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Davis <pgsql@j-davis.com>
To: Dave Cramer <pg@fastcrypt.com>
Cc: Douglas J Hunley <doug@hunley.homeip.net>
Cc: Joshua D. Drake <jd@commandprompt.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: 7 hrs for a pg_restore?
Date: Tue, 19 Feb 2008 11:51:19 -0800
Message-ID: <1203450679.3846.107.camel@dogma.ljc.laika.com> (raw)
In-Reply-To: <50E6AB07-AEEB-4DBA-9994-C87CD773E9A6@fastcrypt.com>
References: <200802191303.58840.doug@hunley.homeip.net>
	<20080219101254.754bd94d@commandprompt.com>
	<200802191358.38614.doug@hunley.homeip.net>
	<50E6AB07-AEEB-4DBA-9994-C87CD773E9A6@fastcrypt.com>

On Tue, 2008-02-19 at 14:28 -0500, Dave Cramer wrote:
> shared buffers is *way* too small as is effective cache
> set them to 2G/6G respectively.

They are way too small, but I don't think that explains the index
creation time.

Effective_cache_size is only used by the planner, and this problem is
not caused by a poorly chosen plan.

It's important to set shared_buffers higher as well, but he has so much
RAM compared with his dataset that he's certainly not going to disk. I
don't think this explains it either. 

I think it's just the result of building a lot of indexes on localized
text using only one core at a time.

Regards,
	Jeff Davis




view thread (42+ messages)  latest in thread

Message-ID: <1203450679.3846.107.camel@dogma.ljc.laika.com>
Permalink:  ../1203450679.3846.107.camel@dogma.ljc.laika.com/
Also on:    postgresql.org/message-id/1203450679.3846.107.camel@dogma.ljc.laika.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: pgsql@j-davis.com, pg@fastcrypt.com, doug@hunley.homeip.net, jd@commandprompt.com
  Subject: Re: 7 hrs for a pg_restore?
  In-Reply-To: <1203450679.3846.107.camel@dogma.ljc.laika.com>
  References: <200802191303.58840.doug@hunley.homeip.net> <20080219101254.754bd94d@commandprompt.com> <200802191358.38614.doug@hunley.homeip.net> <50E6AB07-AEEB-4DBA-9994-C87CD773E9A6@fastcrypt.com> <1203450679.3846.107.camel@dogma.ljc.laika.com>

* 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