From derby-commits-return-7571-apmail-db-derby-commits-archive=db.apache.org@db.apache.org Wed Jun 06 15:33:29 2007 Return-Path: Delivered-To: apmail-db-derby-commits-archive@www.apache.org Received: (qmail 32550 invoked from network); 6 Jun 2007 15:33:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Jun 2007 15:33:28 -0000 Received: (qmail 11908 invoked by uid 500); 6 Jun 2007 15:33:32 -0000 Delivered-To: apmail-db-derby-commits-archive@db.apache.org Received: (qmail 11881 invoked by uid 500); 6 Jun 2007 15:33:32 -0000 Mailing-List: contact derby-commits-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Derby Development" List-Id: Delivered-To: mailing list derby-commits@db.apache.org Received: (qmail 11860 invoked by uid 99); 6 Jun 2007 15:33:32 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jun 2007 08:33:31 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jun 2007 08:33:27 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 927321A981A; Wed, 6 Jun 2007 08:33:06 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r544867 - in /db/derby/docs/trunk/src: adminguide/ ref/ tuning/ Date: Wed, 06 Jun 2007 15:33:06 -0000 To: derby-commits@db.apache.org From: scotsmatrix@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070606153306.927321A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: scotsmatrix Date: Wed Jun 6 08:33:04 2007 New Revision: 544867 URL: http://svn.apache.org/viewvc?view=rev&rev=544867 Log: DERBY-1964: Documented the changes to SYSCS_UTIL.SYSCS_COMPRESS_TABLE. Patch derby1964_4.diff contributed by me. Modified: db/derby/docs/trunk/src/adminguide/cadminspace21579.dita db/derby/docs/trunk/src/ref/rrefaltertablecompress.dita db/derby/docs/trunk/src/ref/rrefattribencryptkey.dita db/derby/docs/trunk/src/ref/rrefjta16677.dita db/derby/docs/trunk/src/ref/rrefjta18596.dita db/derby/docs/trunk/src/ref/rrefproceduresinplacecompress.dita db/derby/docs/trunk/src/tuning/ctunstats57373.dita db/derby/docs/trunk/src/tuning/rtuntransform582.dita db/derby/docs/trunk/src/tuning/tuningderby.ditamap Modified: db/derby/docs/trunk/src/adminguide/cadminspace21579.dita URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/adminguide/cadminspace21579.dita?view=diff&rev=544867&r1=544866&r2=544867 ============================================================================== --- db/derby/docs/trunk/src/adminguide/cadminspace21579.dita (original) +++ db/derby/docs/trunk/src/adminguide/cadminspace21579.dita Wed Jun 6 08:33:04 2007 @@ -1,4 +1,5 @@ + + + + - - + When cardinality statistics are automatically updated - - + +cardinality statisticsautomatic updates +statisticscardinality, automatic updates + +

For the following operations that you perform on a table, automatically -creates statistics. Those operations are: -

    -
  • (new index only) When you create a new index on an existing non-empty -table.
  • -
  • (new backing indexes only) When you add a primary key, unique, or foreign -key constraint to an existing non-empty table.
  • -

-

For other operations, 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.
  • +creates new statistics or updates existing statistics:
      +
    • When you create a new index on an existing non-empty table. Statistics +are automatically created for only the new index.
    • +
    • When you add a primary key, unique, or foreign key constraint to an existing +non-empty table. If there is no existing index that can be used for the new +key or constraint, automatically +creates statistics for only the new indexes.
    • +
    • When you run the SYSCS_UTIL.SYSCS_COMPRESS_TABLE system procedure. Statistics +are created automatically for all indexes if the statistics do not already +exist.
    • +
    • When you drop a column that is part of a table's index, the statistics +for the affected index are dropped. Statistics are automatically updated for +the other indexes on the table.

    - + + Modified: db/derby/docs/trunk/src/tuning/rtuntransform582.dita URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/tuning/rtuntransform582.dita?view=diff&rev=544867&r1=544866&r2=544867 ============================================================================== --- db/derby/docs/trunk/src/tuning/rtuntransform582.dita (original) +++ db/derby/docs/trunk/src/tuning/rtuntransform582.dita Wed Jun 6 08:33:04 2007 @@ -1,5 +1,5 @@ - + +