pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Francisco Reyes <lists@natserv.com>
To: PostgreSQL performance <pgsql-performance@postgresql.org>
Subject: Understanding explains
Date: Mon, 11 Oct 2004 17:04:16 -0400 (EDT)
Message-ID: <20041011164950.J97379@zoraida.natserv.net> (raw)

Is there a tutorial or reference to the different terms that appear on the 
explain output?


Items such as "Nested Loop", "Hash"..

Also is there a way to easily tell which of two explains is "worse". 
Example I am running a query with "set enable_seqscan to off;" and i see 
the explain now shows index scans, but not sure if is any faster now.

I tried "explain analyze" and the "total runtime" for the one with 
seq_scan off was faster, but after repeathing them they both dropped in 
time, likely due to data getting cached. Even after the time drops for 
both the one with seqscan off was always faster.

Is there any disadvantage of having the enable_seqscan off?



view thread (3+ messages)  latest in thread

Message-ID: <20041011164950.J97379@zoraida.natserv.net>
Permalink:  ../20041011164950.J97379@zoraida.natserv.net/
Also on:    postgresql.org/message-id/20041011164950.J97379@zoraida.natserv.net

 · 

reply

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: lists@natserv.com
  Subject: Re: Understanding explains
  In-Reply-To: <20041011164950.J97379@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