Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 77700 invoked from network); 13 Jun 2006 17:23:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Jun 2006 17:23:44 -0000 Received: (qmail 13798 invoked by uid 500); 13 Jun 2006 17:23:43 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 13770 invoked by uid 500); 13 Jun 2006 17:23:43 -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 13761 invoked by uid 99); 13 Jun 2006 17:23:43 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jun 2006 10:23:43 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jun 2006 10:23:42 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 15C3A7141F9 for ; Tue, 13 Jun 2006 17:22:31 +0000 (GMT) Message-ID: <25130096.1150219351086.JavaMail.jira@brutus> Date: Tue, 13 Jun 2006 17:22:31 +0000 (GMT+00:00) From: "Laura Stewart (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-1397) Tuning Guide: Puzzling optimizer documentation In-Reply-To: <12403476.1150133489865.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 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 [ http://issues.apache.org/jira/browse/DERBY-1397?page=comments#action_12416037 ] Laura Stewart commented on DERBY-1397: -------------------------------------- *** (LS) Questions - Are we sure that the name of the property is derby.language.maxMemoryPerTable ? - What is the maximum value allowed? - Is there a value that we want to recommend for users to specify? - The text says that it can be set to smaller values, what is the minimum value that we recommend? > Tuning Guide: Puzzling optimizer documentation > ---------------------------------------------- > > Key: DERBY-1397 > URL: http://issues.apache.org/jira/browse/DERBY-1397 > Project: Derby > Type: Bug > Components: Documentation > Versions: 10.2.0.0 > Reporter: Rick Hillegas > Assignee: Laura Stewart > Fix For: 10.2.0.0 > > Selectivity and cardinality statistics > Working with cardinality statistics > When cardinality statistics are automatically updated > "For other operations, Derby automatically updates statistics for the table and all indexes on the table if they are already exist. Those operations are: > * (all indexes) When you execute SYSCS_UTIL.SYSCS_COMPRESS_TABLE. > * (index only) When you drop a column that is part of a table's index; the statistics for the affected index are dropped, and statistics for the other indexes on the table are updated. > " > What does the second bullet mean? Derby doesn't let you drop a column from a table right now. > ---------------------------------------------------------- > Here's another puzzling piece of optimizer documentation: > I'm puzzled by the following paragraph in Tuning Guide->DML statements and performance->Performance and optimization->Joins and performance->Join strategies: > "If memory use is not a problem for your environment, set this property to a high number; allowing the optimizer the maximum flexibility in considering a join strategy queries involving large queries leads to better performance. It can also be set to smaller values for more limited environments." > I can't find the name of this property on that page of the Tuning Guide. I'm also confused about what we consider to be a "high number" versus what we consider to be "smaller values". Would appreciate advice here. > Satheesh adds this: > The property it may be referring to is > *derby.language.maxMemoryPerTable*. The default value is 1024 KB. > Current default value is too small, so it would be a good tip for > developers to know and tune this property. It would be great if Derby > can configure this property value based on factors like max heap size, > size of data cache and/or other parameters. -- 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