From: Sam Mason <sam@samason.me.uk>
To: Postgresql Performance <pgsql-performance@postgresql.org>
Subject: Re: Planner doesn't look at LIMIT?
Date: Fri, 22 Jul 2005 15:51:22 +0100
Message-ID: <20050722145122.GL62747@colo.samason.me.uk> (raw)
In-Reply-To: <758d5e7f0507220210bfa4978@mail.gmail.com>
References: <758d5e7f0507220210bfa4978@mail.gmail.com>
Dawid Kuroczko wrote:
>work_mem = 102400
>...I tried tweaking cpu_*, work_mem, effective_cache and so on, but without
>any luck.
I'm hoping you didn't tweak it enough! I posted something similar
this a while ago, but haven't since got around to figuring out
a useful test case to send to the list.
Try reducing your work_mem down to 1000 or so and things should
start doing what you expect.
Sam
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: sam@samason.me.uk
Subject: Re: Planner doesn't look at LIMIT?
In-Reply-To: <20050722145122.GL62747@colo.samason.me.uk>
* 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