pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jacques Caron <jc@directinfos.com>
To: linux@alteeve.com
Cc: pgsql-performance@postgresql.org
Subject: Re: Index ot being used
Date: Fri, 10 Jun 2005 17:57:01 +0200
Message-ID: <6.2.0.14.0.20050610175543.0a63dc88@pop.interactivemediafactory.net> (raw)
In-Reply-To: <1825.216.209.137.1.1118419819.squirrel@mail.alteeve.com>
References: <1825.216.209.137.1.1118419819.squirrel@mail.alteeve.com>

Hi,

At 18:10 10/06/2005, linux@alteeve.com wrote:
>tle-bu=> EXPLAIN ANALYZE SELECT file_type, file_parent_dir, file_name FROM
>file_info_7;

What could the index be used for? Unless you have some WHERE or (in some 
cases) ORDER BY clause, there's absolutely no need for an index, since you 
are just asking for all rows from the table...

Jacques.





view thread (31+ messages)  latest in thread

Message-ID: <6.2.0.14.0.20050610175543.0a63dc88@pop.interactivemediafactory.net>
Permalink:  ../6.2.0.14.0.20050610175543.0a63dc88@pop.interactivemediafactory.net/
Also on:    postgresql.org/message-id/6.2.0.14.0.20050610175543.0a63dc88@pop.interactivemediafactory.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 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: jc@directinfos.com, linux@alteeve.com
  Subject: Re: Index ot being used
  In-Reply-To: <6.2.0.14.0.20050610175543.0a63dc88@pop.interactivemediafactory.net>
  References: <1825.216.209.137.1.1118419819.squirrel@mail.alteeve.com> <6.2.0.14.0.20050610175543.0a63dc88@pop.interactivemediafactory.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