You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Kim Haase (JIRA)" <ji...@apache.org> on 2014/09/10 23:47:33 UTC

[jira] [Commented] (DERBY-4289) Docs could be clearer on what SYSCS_UTIL.SYSCS_INPLACE_COMPRESS_TABLE does with statistics

    [ 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)