Re: [SQL] Very disappointing performance -- All Indexes Ignored. - Mailing list pgsql-sql

From Bruce Momjian
Subject Re: [SQL] Very disappointing performance -- All Indexes Ignored.
Date
Msg-id 199903111736.MAA18715@candle.pha.pa.us
Whole thread Raw
In response to Very disappointing performance -- All Indexes Ignored.  (secret <secret@kearneydev.com>)
List pgsql-sql
OK, some questions.  First, how long does EXPLAIN take to run.  It is a
significant percentage of the query time?  If so, please download the
current snapshot, and try that.  Should be much faster.

Second, indexes are not of a huge value in this query, because there are
no restrictions, i.e. x=3.  In most cases, walking the index and then
going to the heap table takes longer than just reading the entire table
into a hash and doing the join there.

I am interested in seeing this resolved for you.


--
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-sql by date:

Previous
From: secret
Date:
Subject: Very disappointing performance -- All Indexes Ignored.
Next
From: secret
Date:
Subject: Re: [SQL] Very disappointing performance -- All Indexes Ignored.