From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jared Carr <jared@89glass.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: A question on the query planner
Date: Mon, 01 Dec 2003 19:45:29 -0500
Message-ID: <8532.1070325929@sss.pgh.pa.us> (raw)
In-Reply-To: <3FCBB639.10409@89glass.com>
References: <3FCBB639.10409@89glass.com>
Jared Carr <jared@89glass.com> writes:
> I am currently working on optimizing some fairly time consuming queries
> on a decently large dataset.
It doesn't look that large from here ;-). I'd suggest experimenting
with reducing random_page_cost, since at least for your test query
it sure looks like everything is in RAM. In theory random_page_cost = 1.0
is the correct setting for all-in-RAM cases.
regards, tom lane
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: tgl@sss.pgh.pa.us, jared@89glass.com
Subject: Re: A question on the query planner
In-Reply-To: <8532.1070325929@sss.pgh.pa.us>
* 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