db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Pendleton <bpendle...@amberpoint.com>
Subject Re: Large IN clause performance
Date Sun, 03 Sep 2006 16:12:02 GMT
> The existing code makes a lot of use of SQL "IN" clauses, where the term can
> often contains thousands of items.
> This performs very badly on - because it seems to ignore indexes
> and just use the min and max terms to do a table scan

I think this is DERBY-47, also logged as DERBY-713:


The JIRA issues have some discussion of possible alternate strategies and ways
to rewrite queries to get better performance, but I don't think there's any
easy solution available right now, sorry.

We'd love to have help in this area; perhaps you can consider helping to work
on possible implementations?



View raw message