pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Guido Barosio <gbarosio@sinectis.com.ar>
To: Joel McGraw <jmcgraw@eldocomp.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: query plan wierdness?
Date: Wed, 7 Jul 2004 18:45:42 -0300
Message-ID: <20040707184542.515a73f5.gbarosio@sinectis.com.ar> (raw)
In-Reply-To: <7B3E33EF2A10A84185E3667F6B9A1B781A0679@ECIEXCHANGE.eldocomp.com>
References: <7B3E33EF2A10A84185E3667F6B9A1B781A0679@ECIEXCHANGE.eldocomp.com>

The limit is tricking you.
I guess a sequential scan is cheaper than an index scan with the limit 26 found there.

I am wrong?

Greets

-- 
-------------------------------------------
Guido Barosio
Buenos Aires, Argentina
-------------------------------------------




view thread (9+ messages)  latest in thread

Message-ID: <20040707184542.515a73f5.gbarosio@sinectis.com.ar>
Permalink:  ../20040707184542.515a73f5.gbarosio@sinectis.com.ar/
Also on:    postgresql.org/message-id/20040707184542.515a73f5.gbarosio@sinectis.com.ar

 · 

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: gbarosio@sinectis.com.ar, jmcgraw@eldocomp.com
  Subject: Re: query plan wierdness?
  In-Reply-To: <20040707184542.515a73f5.gbarosio@sinectis.com.ar>

* 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