You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Satheesh Bandaram (JIRA)" <de...@db.apache.org> on 2006/01/30 09:03:51 UTC
[jira] Created: (DERBY-890) Improve query processing of Derby by
evaluating common sub expressions only once, rather than evaluating them
many times.
Improve query processing of Derby by evaluating common sub expressions only once, rather than evaluating them many times.
-------------------------------------------------------------------------------------------------------------------------
Key: DERBY-890
URL: http://issues.apache.org/jira/browse/DERBY-890
Project: Derby
Type: Improvement
Components: SQL
Versions: 10.2.0.0, 10.1.3.0
Environment: generic
Reporter: Satheesh Bandaram
Improve Derby query processing by evaluating common sub-expressions only once. There have been discussions about common expression evaluations in DerbyDev list in the past that can be searched on for details.
Here is one example query that could benifit by this optimization. Reported by Harri Pesonen.
Select min(i) from BIG_TABLE is fast (with index on i) where as Select min(i), min(i)+1 from BIG_TABLE is slooow.
There are potentially many possible queries that could benifit by this optimization.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira