db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Junjie Peng" <pjj.c...@gmail.com>
Subject Re: [jira] Created: (DERBY-3831) RuntimeStatisticsParser can not distinguish names of table or index well and truly
Date Tue, 19 Aug 2008 02:29:24 GMT
Hi, Dag. I'm a little puzzled. RuntimeStatisticsParser is in the package
"org.apache.derbyTesting.junit". I think it is a tool for test, but not a
test itself.
Wish for your reply.

Regards
Junjie

2008/8/19 Dag H. Wanvik <Dag.Wanvik@sun.com>

> "Junjie Peng (JIRA)" <jira@apache.org> writes:
>
> Is Tools the correct component for this issue? I would have thought it
> should be Test?
>
> > RuntimeStatisticsParser can not distinguish names of table or index well
> and truly
> >
> ----------------------------------------------------------------------------------
> >
> >                  Key: DERBY-3831
> >                  URL: https://issues.apache.org/jira/browse/DERBY-3831
> >              Project: Derby
> >           Issue Type: Bug
> >           Components: Tools
> >             Reporter: Junjie Peng
> >             Assignee: Junjie Peng
> >
> >
> > RuntimeStatisticsParser can not distinguish names of table or index well
> and truly.
> >
> > i.e. there are two indexes t1_c1c2 and t1_c1 on table t1. Execute "select
> * from t1 --DeRbY-pRoPeRtIeS index = t1_c1c2"  on t1.
> Then,RuntimeStatisticsParser.usedSpecificIndexForIndexScan("T1","T1_C1C2")
> will return true, while
> RuntimeStatisticsParser.usedSpecificIndexForIndexScan("T1","T1_C1") will
> return true too. It's not correct.
> >
> > The similar errors also exist on usedIndexScan(),
> usedIndexRowToBaseRow(), usedDistinctScan() and usedTableScan() in the class
> of  RuntimeStatisticsParser.
> >
> > --
> > This message is automatically generated by JIRA.
> > -
> > You can reply to this email to add a comment to the issue online.
> >
> >
> >
>
> --
> Dag H. Wanvik, staff engineer
> Sun Microsystems, Databases (JavaDB/Derby)
> Haakon VII gt. 7b, N-7485 Trondheim, Norway
> Tel: x43496/+47 73842196, Fax:  +47 73842101
>

Mime
View raw message