Re: [PERFORM] force the use of a particular index

2003-07-11 Thread Scott Cain
The problem (at least as it appears to me) is not that it is performing a table scan instead of an index scan, it is that it is using the wrong index. Here is the output from EXPLAIN ANALYZE: QUERY PLAN

Re: [PERFORM] force the use of a particular index

2003-07-11 Thread Scott Cain
Rod, I see what you mean about the scan on the feature_pkey taking a long time. I tried several things to remedy that. I created an index on feature (feature_id,type_id) (which I don't think makes sense since feature_id is the primary key, so add another column really doesn't help). I also