pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Carl Youngblood <carl@youngbloods.org>
To: Richard Huxton <dev@archonet.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Beginner optimization questions, esp. regarding Tsearch2
Date: Thu, 10 Aug 2006 22:18:53 -0600
Message-ID: <e5ed7b690608102118k634dd038l16d96e6b29c75654@mail.gmail.com> (raw)
In-Reply-To: <44DAFB2B.4070307@archonet.com>
References: <e5ed7b690608092100v43590a8epdbdec7afa847c722@mail.gmail.com>
	<44DAFB2B.4070307@archonet.com>

Thanks a lot for the advice Richard.  I will try those things out and
report back to the list.

Carl

On 8/10/06, Richard Huxton <dev@archonet.com> wrote:
>  From your figures, you're allocating about 64MB to work_mem, which is
> per sort. So, a complex query could use several times that amount. If
> you don't have many concurrent queries that might be what you want.
>
> Also, you've allocated 1GB to your shared_buffers which is more than I'd
> use as a starting point.
>
> You've only mentioned one main table with 100,000 rows, so presumably
> you're going to cache the entire DB in RAM. So, you'll want to increase
> effective_cache_size and reduce random_page_cost.



view thread (11+ messages)  latest in thread

Message-ID: <e5ed7b690608102118k634dd038l16d96e6b29c75654@mail.gmail.com>
Permalink:  ../e5ed7b690608102118k634dd038l16d96e6b29c75654@mail.gmail.com/
Also on:    postgresql.org/message-id/e5ed7b690608102118k634dd038l16d96e6b29c75654@mail.gmail.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: carl@youngbloods.org, dev@archonet.com
  Subject: Re: Beginner optimization questions, esp. regarding Tsearch2
  In-Reply-To: <e5ed7b690608102118k634dd038l16d96e6b29c75654@mail.gmail.com>
  References: <e5ed7b690608092100v43590a8epdbdec7afa847c722@mail.gmail.com> <44DAFB2B.4070307@archonet.com> <e5ed7b690608102118k634dd038l16d96e6b29c75654@mail.gmail.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