Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D1D6EDD14 for ; Sun, 30 Sep 2012 00:08:07 +0000 (UTC) Received: (qmail 2685 invoked by uid 500); 30 Sep 2012 00:08:07 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 2599 invoked by uid 500); 30 Sep 2012 00:08:07 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 2469 invoked by uid 99); 30 Sep 2012 00:08:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Sep 2012 00:08:07 +0000 Date: Sun, 30 Sep 2012 11:08:07 +1100 (NCT) From: "Mamta A. Satoor (JIRA)" To: derby-dev@db.apache.org Message-ID: <1415539102.144192.1348963687596.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (DERBY-4612) Improve the cost model for user-defined functions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-4612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mamta A. Satoor updated DERBY-4612: ----------------------------------- Urgency: Normal Labels: derby_triage10_10 (was: ) > Improve the cost model for user-defined functions > ------------------------------------------------- > > Key: DERBY-4612 > URL: https://issues.apache.org/jira/browse/DERBY-4612 > Project: Derby > Issue Type: Improvement > Components: SQL > Reporter: Rick Hillegas > Labels: derby_triage10_10 > > Right now the optimizer assumes that user-defined functions are expensive to run. For this reason, the optimizer avoids pushing function invocations far down in the query plan. It would be good to give function designers the ability to override the default cost model so that the optimizer can create more efficient plans for queries which invoke user-defined functions. -- 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