| From: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | secret(at)kearneydev(dot)com (secret) |
| Cc: | pgsql-sql(at)postgreSQL(dot)org |
| Subject: | Re: [SQL] Very disappointing performance -- All Indexes Ignored. |
| Date: | 1999-03-11 17:36:27 |
| Message-ID: | 199903111736.MAA18715@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
| From | Date | Subject | |
|---|---|---|---|
| Next Message | secret | 1999-03-11 19:30:54 | Re: [SQL] Very disappointing performance -- All Indexes Ignored. |
| Previous Message | secret | 1999-03-11 17:02:43 | Very disappointing performance -- All Indexes Ignored. |