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 "Kristian Waagan (JIRA)" <ji...@apache.org> on 2010/12/07 22:11:28 UTC

[jira] Created: (DERBY-4937) Enable explicit mode istat daemon code for UPDATE_STATISTICS

Enable explicit mode istat daemon code for UPDATE_STATISTICS
------------------------------------------------------------

                 Key: DERBY-4937
                 URL: https://issues.apache.org/jira/browse/DERBY-4937
             Project: Derby
          Issue Type: Sub-task
          Components: SQL
    Affects Versions: 10.8.0.0
            Reporter: Kristian Waagan
            Assignee: Kristian Waagan


Implement SYSCS_UTIL.UPDATE_STATISTICS by having the ALTER TABLE code use the new istat daemon in explicit mode.
Doing this will allow for a period of limited exposure before the background mode of the daemon is enabled, and it will verify that the code generating the index statistics is working.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DERBY-4937) Enable explicit mode istat daemon code for UPDATE_STATISTICS

Posted by "Kristian Waagan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-4937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kristian Waagan updated DERBY-4937:
-----------------------------------

    Attachment: derby-4937-1a-explicit_update_stats.diff

Attached patch 1a, which makes SYS_CS.UPDATE_STATISTICS, and thus also ALTER TABLE, use the explicit mode daemon code to generate new statistics.

> Enable explicit mode istat daemon code for UPDATE_STATISTICS
> ------------------------------------------------------------
>
>                 Key: DERBY-4937
>                 URL: https://issues.apache.org/jira/browse/DERBY-4937
>             Project: Derby
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 10.8.0.0
>            Reporter: Kristian Waagan
>            Assignee: Kristian Waagan
>         Attachments: derby-4937-1a-explicit_update_stats.diff
>
>
> Implement SYSCS_UTIL.UPDATE_STATISTICS by having the ALTER TABLE code use the new istat daemon in explicit mode.
> Doing this will allow for a period of limited exposure before the background mode of the daemon is enabled, and it will verify that the code generating the index statistics is working.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (DERBY-4937) Enable explicit mode istat daemon code for UPDATE_STATISTICS

Posted by "Kristian Waagan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-4937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kristian Waagan closed DERBY-4937.
----------------------------------


Closing issue.

> Enable explicit mode istat daemon code for UPDATE_STATISTICS
> ------------------------------------------------------------
>
>                 Key: DERBY-4937
>                 URL: https://issues.apache.org/jira/browse/DERBY-4937
>             Project: Derby
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 10.8.0.0
>            Reporter: Kristian Waagan
>            Assignee: Kristian Waagan
>             Fix For: 10.8.0.0
>
>         Attachments: derby-4937-1a-explicit_update_stats.diff, derby-4937-1b-explicit_update_stats.diff
>
>
> Implement SYSCS_UTIL.UPDATE_STATISTICS by having the ALTER TABLE code use the new istat daemon in explicit mode.
> Doing this will allow for a period of limited exposure before the background mode of the daemon is enabled, and it will verify that the code generating the index statistics is working.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (DERBY-4937) Enable explicit mode istat daemon code for UPDATE_STATISTICS

Posted by "Kristian Waagan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-4937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kristian Waagan updated DERBY-4937:
-----------------------------------

    Attachment: derby-4937-1b-explicit_update_stats.diff

Attaching patch 1b (formatting change only).

If you apply this patch now, calls to SYS_CS.UPDATE_STATISTICS will use the new daemon code committed in DERBY-4936.

> Enable explicit mode istat daemon code for UPDATE_STATISTICS
> ------------------------------------------------------------
>
>                 Key: DERBY-4937
>                 URL: https://issues.apache.org/jira/browse/DERBY-4937
>             Project: Derby
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 10.8.0.0
>            Reporter: Kristian Waagan
>            Assignee: Kristian Waagan
>         Attachments: derby-4937-1a-explicit_update_stats.diff, derby-4937-1b-explicit_update_stats.diff
>
>
> Implement SYSCS_UTIL.UPDATE_STATISTICS by having the ALTER TABLE code use the new istat daemon in explicit mode.
> Doing this will allow for a period of limited exposure before the background mode of the daemon is enabled, and it will verify that the code generating the index statistics is working.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (DERBY-4937) Enable explicit mode istat daemon code for UPDATE_STATISTICS

Posted by "Kristian Waagan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-4937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kristian Waagan resolved DERBY-4937.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 10.8.0.0

Committed to trunk with revision 1054588.

Any new test failures in tests running UPDATE_STATISTICS is likely to have been caused by this commit.

> Enable explicit mode istat daemon code for UPDATE_STATISTICS
> ------------------------------------------------------------
>
>                 Key: DERBY-4937
>                 URL: https://issues.apache.org/jira/browse/DERBY-4937
>             Project: Derby
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 10.8.0.0
>            Reporter: Kristian Waagan
>            Assignee: Kristian Waagan
>             Fix For: 10.8.0.0
>
>         Attachments: derby-4937-1a-explicit_update_stats.diff, derby-4937-1b-explicit_update_stats.diff
>
>
> Implement SYSCS_UTIL.UPDATE_STATISTICS by having the ALTER TABLE code use the new istat daemon in explicit mode.
> Doing this will allow for a period of limited exposure before the background mode of the daemon is enabled, and it will verify that the code generating the index statistics is working.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.