Re: Planner doesn't look at LIMIT?

From: Sam Mason <sam(at)samason(dot)me(dot)uk>
To: Postgresql Performance <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Planner doesn't look at LIMIT?
Date: 2005-07-22 14:51:22
Message-ID: 20050722145122.GL62747@colo.samason.me.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-performance

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Dave Page 2005-07-22 14:56:24 Buildfarm failure - pl/tcl on snake
Previous Message Sam Mason 2005-07-22 14:44:27 Re: Constraint Exclusion on all tables

Browse pgsql-performance by date

  From Date Subject
Next Message Joshua D. Drake 2005-07-22 15:03:28 Re: COPY FROM performance improvements
Previous Message Madison Kelly 2005-07-22 14:46:42 Another index question