db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krist...@apache.org
Subject svn commit: r1071588 - /db/derby/code/trunk/java/engine/org/apache/derby/iapi/reference/Property.java
Date Thu, 17 Feb 2011 11:55:32 GMT
Author: kristwaa
Date: Thu Feb 17 11:55:32 2011
New Revision: 1071588

URL: http://svn.apache.org/viewvc?rev=1071588&view=rev
Log:
DERBY-4940: Tune istat operational characteristics
DERBY-5038: updatelocks test failing in tinderbox when background update statistics are enabled.

Changed the default absdiff threshold from zero to 1000, as the current setting
causes the automatic index statistics update feature to be too aggressive.
It also causes a set of regression tests to fail (not all of them fails
always).
The "diff mechanism" may be replaced later, for instance with a plain lower
limit on the number of rows in the table, discussion is ongoing.

Patch file: derby-4940-1a-absdiff_to_1k.diff


Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/iapi/reference/Property.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/iapi/reference/Property.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/iapi/reference/Property.java?rev=1071588&r1=1071587&r2=1071588&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/iapi/reference/Property.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/iapi/reference/Property.java Thu Feb
17 11:55:32 2011
@@ -690,7 +690,7 @@ public interface Property { 
      */
     String STORAGE_AUTO_INDEX_STATS_DEBUG_ABSDIFF_THRESHOLD =
             "derby.storage.indexStats.debug.absdiffThreshold";
-    int STORAGE_AUTO_INDEX_STATS_DEBUG_ABSDIFF_THRESHOLD_DEFAULT = 0;
+    int STORAGE_AUTO_INDEX_STATS_DEBUG_ABSDIFF_THRESHOLD_DEFAULT = 1000;
 
     /**
      * Specifies the lower threshold for the logarithmical (natural logarithm e)



Mime
View raw message