Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 19248 invoked from network); 19 Jul 2006 17:48:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Jul 2006 17:48:36 -0000 Received: (qmail 61775 invoked by uid 500); 19 Jul 2006 17:48:31 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 61749 invoked by uid 500); 19 Jul 2006 17:48:31 -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 61739 invoked by uid 99); 19 Jul 2006 17:48:31 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jul 2006 10:48:31 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [192.18.42.249] (HELO nwkea-pix-1.sun.com) (192.18.42.249) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jul 2006 10:48:30 -0700 Received: from d1-sfbay-09.sun.com ([192.18.39.119]) by nwkea-pix-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id k6JHmAMZ024867 for ; Wed, 19 Jul 2006 10:48:10 -0700 (PDT) Received: from conversion-daemon.d1-sfbay-09.sun.com by d1-sfbay-09.sun.com (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) id <0J2N00J01W2PAK00@d1-sfbay-09.sun.com> (original mail from David.Vancouvering@Sun.COM) for derby-dev@db.apache.org; Wed, 19 Jul 2006 10:48:10 -0700 (PDT) Received: from [192.9.61.102] by d1-sfbay-09.sun.com (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPSA id <0J2N00I3TW49C2B0@d1-sfbay-09.sun.com> for derby-dev@db.apache.org; Wed, 19 Jul 2006 10:48:09 -0700 (PDT) Date: Wed, 19 Jul 2006 10:48:09 -0700 From: David Van Couvering Subject: Re: Feedback for extension In-reply-to: <44BE565B.5090108@mail.inf.tu-dresden.de> Sender: David.Vancouvering@Sun.COM To: derby-dev@db.apache.org Message-id: <44BE7059.2030105@sun.com> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=UTF-8 Content-transfer-encoding: 8BIT References: <44BE565B.5090108@mail.inf.tu-dresden.de> User-Agent: Thunderbird 1.5.0.2 (X11/20060427) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, Felix, this sounds like very interesting work! My only question at this stage would be, are these new features standards-based? There may be some resistance to adding interfaces that are not based on a standard, as that is one of the guiding principles of the Derby project. Although if it's used mostly for performance analysis and is not part of the interfaces used by applications, the resistance may be less strong. Anybody else have thoughts on this? Are you planning to contribute your query plan visualization tool as well? It sure sounds useful to me (although we'd need to understand what license the JGraph framework is under and whether it's compatible with the Apache license). David Felix Beyer wrote: > Hello Derby Community, > > my name is Felix Beyer and I´m a student at the Dresden University of > Technology. I´m right before writing my diploma thesis, which inculdes > an extension of Derby. Please give me some feedback to let me know if I > should merge my extensions into a current code branch of Derby. > > The core of my topic consists of two major tasks: > > First, I want to extend Derby with Explain Table functionality. That > means I want to develop a mechanism to store the generated query plans > in appropriate system tables. In order to do this I will have to examine > current system functions like GetRuntimeStatistics() and the overall > process from parsing to execution of a statement. Further investigations > have to be made to develeop solutions for questions like: Which > information is additionally available and could be aggregated or > derived? Which modifications are necessary to extract this information? > How big is the performance impact during the rising of explain table > information? > > The second big task will be to extend Derby to store Workload > information. Investigations have to be made on reasonable aggregation > and mandatory reduction of workload, general scheme of workload > information, support for application domains using this workload > information, comparison to other DBMS etc. > > Now, the following question arises: What does the Derby community think > of such extensions? Please give me some feedback. The feedback you > provide will be the basis of the decision if my extensions should be > merged into a current code branch of Derby or will be integrated into > our code branch. > > By the way, in a former project I managed to extend Derby to extract the > generated optimized query plans in form of XML files for visualizing > them in an external application. I used the GXL file format for export > and visualized the plans with the JGraph Framework. Internal changes > affected the current Derby structure in two ways: First of all a new > system function was added to toggle query extraction on or off and > second a visitor pattern was used to collect the required information > through a traverse of the query tree after the optimization step. > > Greetings, > Felix Beyer >