pg.ddx.io pgsql-performance@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Jared Carr <jared@89glass.com>
To: Greg Stark <gsstark@mit.edu>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-performance@postgresql.org
Subject: Re: A question on the query planner
Date: Wed, 03 Dec 2003 15:21:50 -0800
Message-ID: <3FCE700E.5070206@89glass.com> (raw )
In-Reply-To: <87k75d66jh.fsf@stark.dyndns.tv >
References: <3FCBB639.10409@89glass.com >
<1070385381.24915.8650.camel@camel >
<3FCCD225.8030609@89glass.com >
<87d6b79har.fsf@stark.dyndns.tv >
<3FCCE48B.10406@89glass.com >
<871xrn9e09.fsf@stark.dyndns.tv >
<3FCCF61E.90307@89glass.com >
<87ptf697h0.fsf@stark.dyndns.tv >
<25476.1070409047@sss.pgh.pa.us >
<87znea7kis.fsf@stark.dyndns.tv >
<26699.1070423607@sss.pgh.pa.us >
<2704.1070473746@sss.pgh.pa.us >
<3FCE2B08.6090606@89glass.com >
<87k75d66jh.fsf@stark.dyndns.tv >
Greg Stark wrote:
>Jared Carr <jared@89glass.com> writes:
>
>
>
>>The patch definitely makes things more consistent...unfortunately it is more
>>consistent toward the slower execution times. Of course I am looking at this
>>simply from a straight performance standpoint and not a viewpoint of what
>>*should* be happening. At any rate here are the query plans with the various
>>settings.
>>
>>
>
>The optimizer seems to be at least considering reasonable plans now. It seems
>from the estimates that you need to rerun analyze. You might try "vacuum full
>analyze" to be sure.
>
>Also, you might try raising effective_cache_size and/or lowering
>random_page_size (it looks like something around 2 might help).
>
>
>
Yep, I had forgotten to run vacuum since I had patched it :P. The
overall performance is definitely better,
I will go ahead and tweak the server settings and see what I can get.
Thanks again for all the help.
view thread (19+ messages) latest in thread
Message-ID: <3FCE700E.5070206@89glass.com>
Permalink: ../3FCE700E.5070206@89glass.com/
Also on: postgresql.org/message-id/3FCE700E.5070206@89glass.com
copy link · copy postgr.es
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 using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: jared@89glass.com, gsstark@mit.edu, tgl@sss.pgh.pa.us
Subject: Re: A question on the query planner
In-Reply-To: <3FCE700E.5070206@89glass.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