Re: Interesting performance behaviour

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Joey Smith <joeysmith(at)gmail(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Interesting performance behaviour
Date: 2004-09-10 21:46:53
Message-ID: 200409101446.53309.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Joey,

> shared_buffers = 1000
> sort_mem = 1024
> effective_cache_size = 1000

effective_cache_size should be much higher, like 3/4 of your available RAM.
This is probably the essence of your planner problem; the planner thinks you
have no RAM.

> I see a similar speedup (and change in query plan) using "LIMIT 1
> OFFSET <anything besides 0>".

So what's your problem?

--
--Josh

Josh Berkus
Aglio Database Solutions
San Francisco

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message ogjunk-pgjedan 2004-09-10 22:00:07 effective_cache_size in 7.3.4?
Previous Message Joey Smith 2004-09-10 21:01:42 Interesting performance behaviour