Re: Index ot being used

From: Tobias Brox <tobias(at)nordicbet(dot)com>
To: linux(at)alteeve(dot)com
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Index ot being used
Date: 2005-06-10 15:55:35
Message-ID: 20050610155535.GO8451@tobias.nordicbet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

[linux(at)alteeve(dot)com - Fri at 12:10:19PM -0400]
> tle-bu=> EXPLAIN ANALYZE SELECT file_type, file_parent_dir, file_name FROM
> file_info_7;
> QUERY PLAN
> ----------------------------------------------------------------------------------------------------------------------
> Seq Scan on file_info_7 (cost=0.00..11028.35 rows=294035 width=118)
> (actual time=0.122..2707.764 rows=294035 loops=1)
> Total runtime: 3717.862 ms
> (2 rows)
>

As far as I can see, you are selecting everything from the table without any
sort order. The only rational thing to do then is a sequential scan, it's
no point in an index scan.

--
Tobias Brox, +47-91700050

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Jacques Caron 2005-06-10 15:57:01 Re: Index ot being used
Previous Message Mohan, Ross 2005-06-10 14:59:33 Re: Whence the Opterons?