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 @@ - + +