Re: Beginner optimization questions, esp. regarding Tsearch2

From: "Carl Youngblood" <carl(at)youngbloods(dot)org>
To: "Richard Huxton" <dev(at)archonet(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Beginner optimization questions, esp. regarding Tsearch2
Date: 2006-08-11 04:18:53
Message-ID: e5ed7b690608102118k634dd038l16d96e6b29c75654@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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(at)archonet(dot)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.

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Markus Schaber 2006-08-11 08:48:35 Re: [BUGS] BUG #2567: High IOWAIT
Previous Message Chris 2006-08-10 22:36:11 Re: setting up foreign keys