Re: A question on the query planner - Mailing list pgsql-performance

From Tom Lane
Subject Re: A question on the query planner
Date
Msg-id 8532.1070325929@sss.pgh.pa.us
Whole thread Raw
In response to A question on the query planner  (Jared Carr <jared@89glass.com>)
List pgsql-performance
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

pgsql-performance by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Is clustering possible to enhance the performance?
Next
From: Erik Norvelle
Date:
Subject: Update performance ... is 200,000 updates per hour what I should expect?