Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
10.8.3.3, 10.11.1.1
-
None
-
Normal
-
High Value Fix
Description
For queries of the type:
select * from a where col1 = ? or col2 = ?
and good indexes exist on col1 and col2 it would be optimal if derby could execute a plan that
did an index scan first on the col1 index and then an index scan on col2 index.
Currently it looks like derby will do a full index scan if col1 and col2 are in any index, or a full table
scan otherwise.
Attachments
Issue Links
- is related to
-
DERBY-6045 in list multi-probe by primary key not chosen on tables with >256 rows
- Closed
-
DERBY-886 allow system to use 2 different access paths for 2 different columns in a select list.
- Open
-
DERBY-1257 Enhance Derby optimizer and execution model to support effective use of multiple indexes on one table. Derby currently can use one index on a table and there are many situations where using multiple indexes on a table could improve performance significant
- Open
-
DERBY-47 Some possible improvements to IN optimization
- Closed