Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 50521 invoked from network); 18 Jun 2009 12:07:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Jun 2009 12:07:52 -0000 Received: (qmail 21089 invoked by uid 500); 18 Jun 2009 12:08:03 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 21026 invoked by uid 500); 18 Jun 2009 12:08:03 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Received: (qmail 21018 invoked by uid 99); 18 Jun 2009 12:08:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jun 2009 12:08:03 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [192.18.98.31] (HELO brmea-mail-1.sun.com) (192.18.98.31) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jun 2009 12:07:52 +0000 Received: from dm-uk-02.uk.sun.com ([129.156.101.196]) by brmea-mail-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n5IC7Vj2002566 for ; Thu, 18 Jun 2009 12:07:31 GMT Received: from barman.uk.sun.com (barman.UK.Sun.COM [129.156.132.12]) by dm-uk-02.uk.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id n5IC7Ugf010485 for ; Thu, 18 Jun 2009 13:07:30 +0100 (BST) Received: from vpn-129-150-121-18.uk.sun.com ([129.150.121.18]) by barman.uk.sun.com with esmtp (Exim 4.42) id 1MHGWg-0003v2-QZ for derby-user@db.apache.org; Thu, 18 Jun 2009 13:15:31 +0100 Message-ID: <4A3A2E01.1070802@sun.com> Date: Thu, 18 Jun 2009 13:07:29 +0100 From: Alan Burlison User-Agent: Thunderbird 2.0.0.21 (X11/20090505) MIME-Version: 1.0 To: Derby Discussion Subject: Re: SYSCS_UTIL.SYSCS_INPLACE_COMPRESS_TABLE versus SYSCS_UTIL.SYSCS_UPDATE_STATISTICS References: <4A3A0F36.5080004@sun.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Knut Anders Hatlen wrote: > As far as I can see, SYSCS_INPLACE_COMPRESS_TABLE does not update the > index statistics. I couldn't find anything in the in-place compress code > that attempted to update the statistics, and it didn't appear to have > updated them when I monitored the CREATIONTIMESTAMP column in > SYS.SYSSTATISTICS. > > I think much of the documentation about index statistics was written > before in-place compress was implemented, which is probably why the docs > are unclear. Could you please file a JIRA issue and point to the > sections that you found unclear? Thanks. Hmm just noticed this in the docs for the related SYSCS_UTIL.SYSCS_COMPRESS_TABLE procedure: "The SYSCS_UTIL.SYSCS_COMPRESS_TABLE system procedure updates statistics on all indexes as part of the index rebuilding process." But no mention of that (either way) for SYSCS_UTIL.SYSCS_INPLACE_COMPRESS_TABLE -- Alan Burlison --