Re: Performance Tuning Question

From: Andrew Sullivan <andrew(at)libertyrms(dot)info>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Performance Tuning Question
Date: 2002-09-09 17:18:58
Message-ID: 20020909131858.K15959@mail.libertyrms.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Sep 09, 2002 at 09:41:30AM -0600, Brian Hirt wrote:
>
> I know this, but i cannot find any good reference how to tune them and
> how changing them.

[. . .]

> FYI: I did set effective_cache_size to 1.5gb, but the estimated cost for
> the query using the index remained exactly the same.

You probably want to twiddle CPU_INDEX_TUPLE_COST (floating point)
and RANDOM_PAGE_COST (floating point). But note what the docs say
about these items:

Note: Unfortunately, there is no well-defined method of determining
ideal values for the family of "COST" variables that were just
described. You are encouraged to experiment and share your findings.

If you have any luck, it'd be nice to know what you discover.

A

--
----
Andrew Sullivan 204-4141 Yonge Street
Liberty RMS Toronto, Ontario Canada
<andrew(at)libertyrms(dot)info> M2P 2A8
+1 416 646 3304 x110

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Sullivan 2002-09-09 17:31:32 Re: Load sharing question
Previous Message Tom Lane 2002-09-09 17:18:01 Re: AutoCommit mode in PostgreSQL (7.3 beta1 from CVS 05.09.2002)