db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mamta A. Satoor (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-4834) Add helper class for working with index statistics in JUnit tests
Date Thu, 10 May 2012 18:08:57 GMT

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

Mamta A. Satoor commented on DERBY-4834:

Hi Kristian, I am thinking of backporting this utility to 10.6 and earlier releases. Do you
forsee any issue with backporting? I am working on backporting DERBY-5681(When a foreign key
constraint on a table is dropped, the associated statistics row for the conglomerate is not
removed) and it will be very useful to have the index statistics utility for the tests added
for DERBY-5681.

I think following 4 checkins were made for index statistics helper class

> Add helper class for working with index statistics in JUnit tests
> -----------------------------------------------------------------
>                 Key: DERBY-4834
>                 URL: https://issues.apache.org/jira/browse/DERBY-4834
>             Project: Derby
>          Issue Type: Sub-task
>          Components: Test
>    Affects Versions:
>            Reporter: Kristian Waagan
>            Assignee: Kristian Waagan
>            Priority: Minor
>             Fix For:
>         Attachments: derby-4834-1a-indexstats_utility_class.diff, derby-4834-2a-assertNoStatsTable.diff,
derby-4834-3a-timeout.diff, derby-4834-4a-toString_leading_cols.diff
> Dealing with index statistics in the JUnit tests require some tedious work, like looking
up table and index ids,  doing selects on the SYS.SYSSTATISTICS table, and analyzing the results
of these queries.
> To make life easer and the tests easier to read, a set of utility methods will be added
to a new class living in the JUnit test framework package.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message