Re: Answering my own question

From: ghaverla(at)freenet(dot)edmonton(dot)ab(dot)ca
To: gerry(dot)smit(at)lombard(dot)ca
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Answering my own question
Date: 2002-05-15 17:50:24
Message-ID: Pine.A41.3.95.1020515114805.47836A-100000@fn2.freenet.edmonton.ab.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice


On Wed, 15 May 2002 gerry(dot)smit(at)lombard(dot)ca wrote:

> I found, on http://www.argudo.org/postgresql/soft-tuning-10.html my
> answer. (Excellent site btw) What I need to do is prefix my SELECT
> statements for this table with the statement :
>
> SET enable_seqscan='false';
>
> as in :
>
> SET enable_seqscan='false';SELECT * FROM pol_xref_d WHERE policy_no=1200079
> ORDER BY sequence;

Some else mentioned ANALYZE (or is it ANALYSE?). Anyway,
I seem to remember reading someplace that with newer versions
of PostgreSQL, when you used to VACUUM on a regular basis,
you were supposed to change over to VACUUM ANALYSE (ANALYZE?)
some (all?) of the time. My memory is fuzzy about this,
so perhaps the docs will have something on this.

Gord

Matter Realisations http://www.materialisations.com/
Gordon Haverland, B.Sc. M.Eng. President
101 9504 182 St. NW Edmonton, AB, CA T5T 3A7
780/481-8019 ghaverla @ freenet.edmonton.ab.ca
780/993-1274 (cell)

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message gerry.smit 2002-05-15 17:56:04 Re: Answering my own question
Previous Message Manuel Sugawara 2002-05-15 17:45:05 Re: Answering my own question