Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 18180 invoked from network); 16 Feb 2011 01:11:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Feb 2011 01:11:21 -0000 Received: (qmail 89350 invoked by uid 500); 16 Feb 2011 01:11:21 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 89300 invoked by uid 500); 16 Feb 2011 01:11:21 -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 89292 invoked by uid 99); 16 Feb 2011 01:11:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Feb 2011 01:11:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Feb 2011 01:11:18 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 1C2DA1A61D3 for ; Wed, 16 Feb 2011 01:10:58 +0000 (UTC) Date: Wed, 16 Feb 2011 01:10:58 +0000 (UTC) From: "Dag H. Wanvik (JIRA)" To: derby-dev@db.apache.org Message-ID: <713792527.19297.1297818658111.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <33552493.33011295346943790.JavaMail.jira@thor> Subject: [jira] Updated: (DERBY-4977) XPLAIN reports negative EXECUTE_TIME for some parts of a join 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-4977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dag H. Wanvik updated DERBY-4977: --------------------------------- Urgency: Low Labels: derby_triage10_8 (was: ) > XPLAIN reports negative EXECUTE_TIME for some parts of a join > ------------------------------------------------------------- > > Key: DERBY-4977 > URL: https://issues.apache.org/jira/browse/DERBY-4977 > Project: Derby > Issue Type: Bug > Components: SQL > Affects Versions: 10.7.1.1 > Reporter: Knut Anders Hatlen > Priority: Minor > Labels: derby_triage10_8 > Attachments: timing.sql > > > I see that if I execute a join against the system tables with XPLAIN and statistics timing enabled, some of the rows in SYSXPLAIN_RESULTSET_TIMINGS have negative values in the EXECUTE_TIME column. > Here are the contents of the SYSXPLAIN_RESULTSET_TIMINGS after two runs with the attached repro script: > ij> select execute_time from my_schema.sysxplain_resultset_timings; > EXECUTE_TIME > -------------------- > -1 > 0 > 0 > -6 > 9 > 16 > 6 rows selected > ij> select execute_time from my_schema.sysxplain_resultset_timings; > EXECUTE_TIME > -------------------- > -1 > 1 > 0 > -7 > 10 > 15 > 6 rows selected > Note the two rows with negative values in both of the examples. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira