From: Francisco Reyes <lists@natserv.com>
To: Rosser Schwarz <rosser.schwarz@gmail.com>
Cc: PostgreSQL performance <pgsql-performance@postgresql.org>
Subject: Re: Understanding explains
Date: Tue, 12 Oct 2004 00:59:37 -0400 (EDT)
Message-ID: <20041012005749.G98867@zoraida.natserv.net> (raw)
In-Reply-To: <37d451f70410111503755fb751@mail.gmail.com>
References: <20041011164950.J97379@zoraida.natserv.net>
<37d451f70410111503755fb751@mail.gmail.com>
On Mon, 11 Oct 2004, Rosser Schwarz wrote:
> In general, it's best to let the planner make the appropriate choice
> without any artificial constraints.
As someone suggested ran with Explain analyze.
With seqscan_off was better.
Ran a vacuum analyze this afternoon so the stats were up to date.
Although I will leave the setting as it's default for most of everything I
do, it seems that for some reason in this case it mases sense to turn it
off.
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: lists@natserv.com, rosser.schwarz@gmail.com
Subject: Re: Understanding explains
In-Reply-To: <20041012005749.G98867@zoraida.natserv.net>
References: <20041011164950.J97379@zoraida.natserv.net> <37d451f70410111503755fb751@mail.gmail.com> <20041012005749.G98867@zoraida.natserv.net>
* 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