db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kim Haase (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-4289) Docs could be clearer on what SYSCS_UTIL.SYSCS_INPLACE_COMPRESS_TABLE does with statistics
Date Wed, 10 Sep 2014 21:47:33 GMT

    [ https://issues.apache.org/jira/browse/DERBY-4289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14129178#comment-14129178
] 

Kim Haase commented on DERBY-4289:
----------------------------------

So I gather that what the "SYSCS_UTIL.SYSCS_COMPRESS_TABLE system procedure" topic says about
updating statistics is wrong?

"The SYSCS_UTIL.SYSCS_COMPRESS_TABLE system procedure updates statistics on all indexes as
part of the index rebuilding process."

And that instead, users should be referred to the SYSCS_UTIL.SYSCS_UPDATE_STATISTICS procedure
for information on how to do that?

> Docs could be clearer on what SYSCS_UTIL.SYSCS_INPLACE_COMPRESS_TABLE does with statistics
> ------------------------------------------------------------------------------------------
>
>                 Key: DERBY-4289
>                 URL: https://issues.apache.org/jira/browse/DERBY-4289
>             Project: Derby
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 10.5.1.1
>         Environment: Solaris
>            Reporter: Alan Burlison
>            Priority: Minor
>
> The documentation for SYSCS_UTIL.SYSCS_INPLACE_COMPRESS_TABLE says:
> "Use the SYSCS_UTIL.SYSCS_INPLACE_COMPRESS_TABLE system procedure to reclaim unused,
allocated space in a table and its indexes."
> The documentation for SYSCS_UTIL.SYSCS_COMPRESS_TABLE says in addition:
> "The SYSCS_UTIL.SYSCS_COMPRESS_TABLE system procedure updates statistics on all indexes
as part of the index rebuilding process."
> I'm assuming SYSCS_UTIL.SYSCS_INPLACE_COMPRESS_TABLE also rebuilds the statistics, but
the documentation doesn't day either way.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message