Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 79146 invoked from network); 15 Jul 2006 21:17:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Jul 2006 21:17:31 -0000 Received: (qmail 23073 invoked by uid 500); 15 Jul 2006 21:17:30 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 23038 invoked by uid 500); 15 Jul 2006 21:17:30 -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 23029 invoked by uid 99); 15 Jul 2006 21:17:30 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Jul 2006 14:17:30 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [204.174.16.201] (HELO mailout1.parasun.com) (204.174.16.201) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Jul 2006 14:17:20 -0700 Received: from cpe-24-143-157-032.cable.alamedanet.net ([24.143.157.32] helo=[127.0.0.1]) by mailout1.parasun.com with esmtp (Exim 4.54) id 1G1rVN-0000Z3-P6 for derby-dev@db.apache.org; Sat, 15 Jul 2006 14:16:53 -0700 Message-ID: <44B95B44.6060702@amberpoint.com> Date: Sat, 15 Jul 2006 14:16:52 -0700 From: Bryan Pendleton User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: derby-dev@db.apache.org Subject: Re: [jira] Commented: (DERBY-1357) Short-circuit logic in optimizer appears to be incorrect... References: <7826241.1152900434754.JavaMail.jira@brutus> <44B7EF3A.8080100@gmail.com> In-Reply-To: <44B7EF3A.8080100@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > So adding a test case with > timeout disabled won't show the symptom, and adding it with timeout > enabled will likely lead to intermittent failures on different machines. I agree. Unreliable tests can be worse than no tests at all. I'm comfortable with this decision. > release note would have to be something generic like "optimizer > fixes/enhancements could cause the optimizer to choose different query > plans, so performance of existing queries may change". I agree that this is a hard case, and I can see both sides. But I do think that we can craft an umbrella release note which will be valuable to users as they move to the new release, covering the multiple changes to the optimizer as a single logical unit. It seems to me that the release note should observe that: - there have been some optimizer changes in this release (with pointers to the specific bugs fixed) - the optimizer will now consider additional query plans - the optimizer's timeout logic has changed - we believe that the optimizer will now choose better plans, and choose them more quickly. - if you think you are seeing an optimizer-related problem as a result of upgrading to this release, please capture the actual query plan that is being chosen by the old release and by the new release, and send them to us so we can help with the analysis, and here's how to do that. Perhaps that last bullet point should be a page on the wiki, and the release note could just point to http://wiki.apache.org/db-derby/OptimizerDiagnosisTips (or whatever the actual page turns out to be). I'd be glad to help by reviewing the release note, etc. thanks, bryan