db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mamta A. Satoor (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DERBY-6226) enhance optmizer to use multiple probes into multiple indexes to satisfy OR queries on different columns.
Date Tue, 25 Jun 2013 03:57:20 GMT

     [ https://issues.apache.org/jira/browse/DERBY-6226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mamta A. Satoor updated DERBY-6226:
-----------------------------------

    Urgency: Normal
     Labels: derby_triage10_11  (was: )
    
> enhance optmizer to use multiple probes into multiple indexes to satisfy OR queries on
different columns.
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-6226
>                 URL: https://issues.apache.org/jira/browse/DERBY-6226
>             Project: Derby
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 10.8.3.1, 10.11.0.0
>            Reporter: Mike Matrigali
>              Labels: derby_triage10_11
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message