Issue 24865 - Queries should optional return number of issues only
Summary: Queries should optional return number of issues only
Status: CLOSED FIXED
Alias: None
Product: Infrastructure
Classification: Infrastructure
Component: Bugzilla (show other issues)
Version: current
Hardware: All All
: P3 Trivial (vote)
Target Milestone: CEE Snake
Assignee: Unknown
QA Contact: issues@www
URL: http://qa.openoffice.org/iz_statistic...
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-27 17:28 UTC by Joost Andrae
Modified: 2021-05-27 19:28 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Joost Andrae 2004-01-27 17:28:53 UTC
It would be very useful if IssueTracker queries could get an optional flag where
you just get the "select count" of a submitted query.

When I do my weekly statistical work (IssueTracker queries) for the OOo QA
project it's not necessary to parse the html page for a query where eg. the
result has more than 4000 rows.
Comment 1 stx123 2004-01-29 12:13:02 UTC
moving to component www
Comment 2 stx123 2004-01-29 12:13:56 UTC
reassigning to support
Comment 3 Unknown 2004-01-30 13:54:05 UTC
Just wanting to know more on this. Issuezilla provides many filters or options 
for the queries. By using those filters , we can get effective and expected  
results. How the 'select count' option adds value to issue tracker? 

Thanks,
Priya
Comment 4 Joost Andrae 2004-01-30 14:30:04 UTC
Hi Priya,

have a look at http://qa.openoffice.org/iz_statistic.html
This html page is the output of the queries which I do every monday to get the
project status of each project on OpenOffice.org. Each number is based on a
single query.
The only way to get the numbers is to do a query which displays all its issues.
The issue count of these queries is at the end of each single query. Therefor a
html page has to be rendered by IssueTracker for each query.

This is an expensive job...

 Some of the queries have more than 4000 issues. The only thing needed is just
the count of the issues  - not the issues itself. Doing a 'select count' instead
of a 'select' would be much faster because the html rendering isn't needed in
this case. A good side effect would be that less resources are needed to create
such a statistic.

What I want is to have a "Display only the count" checkbox on the query page
which does the following on the database (this is just some example which has
been used in http://www.bugzilla.org/queries.html):

    SELECT count(ba.bug_id) AS confirmsum, p.login_name FROM profiles p,
bugs_activity ba WHERE ba.fieldid=29 AND ba.oldvalue="UNCONFIRMED" AND
ba.who=p.userid GROUP BY p.login_name ORDER by confirmsum INTO OUTFILE
"/tmp/blah3"; 


Comment 5 stx123 2004-01-30 14:35:05 UTC
I hope Joost's explanations help...
Comment 6 Unknown 2004-02-13 11:21:48 UTC
Have filed an internal request for the Feature to be added

Time Frame : Will update the Response fo Engineers as & when posted in internal 
query

-Mohan
Comment 7 Unknown 2004-04-01 06:44:54 UTC
Updating whiteboard.
Comment 8 Unknown 2004-04-05 07:28:48 UTC
Here is the update from the product management:

"As the user to try getting the same statistics from the reports section 
of IZ in 2.6.2.  I think that they will find that they can get this 
information already.  Queries are used for getting the actual values in issues 
and reports are used to get counts of issues that meet a certain criteria.  
What is being asked for is the latter and I beleive that we have it already."

Please try using the report for this request.
http://collabtest.openoffice.org/issues/reports.cgi 

Comment 9 Joost Andrae 2004-04-29 17:23:41 UTC
JA: unfortunately the query engine of the reports isn't sufficient for my
statistics where i eg need to query for keywords
Comment 10 Joost Andrae 2004-09-09 14:32:26 UTC
.
Comment 11 Joost Andrae 2005-02-21 11:25:01 UTC
JA->ST: this issue isn't fixed. One of the statistics which I have to do for the
OpenOffice.org project is to give the overall total number of fixed issues. It
would be sufficent to have a query which gives this number only. It would be
even better to have a checkbox within the query page which allows to do a SELECT
COUNT(xyz) on database side. The added feature on the collabtest site doesn't
help. Could you please take care of this issue as I do not want to always bump
against maximum row settings within the query engine of IssueTracker ?
Reassigned to you. Please discuss this with Collab.net

re-open issue and try to reassign to st@openoffice.org
Comment 12 Joost Andrae 2005-02-21 11:25:11 UTC
try to reassign to st@openoffice.org
Comment 13 Joost Andrae 2005-02-21 11:25:19 UTC
try to reset resolution to FIXED
Comment 14 Joost Andrae 2005-02-21 11:26:39 UTC
JA: hmmm... I wanted to have this reopened....
Comment 15 stx123 2005-04-06 18:57:31 UTC
Hi, reports are very helpful but can't provide numbers for queries with criteria
beyond column/row fields and combinations thereof.
With some queries we are hitting the max_query_resultsconfiguration options and
we have to increase this value despite better knowledge.
Comment 16 Unknown 2006-01-05 22:07:33 UTC
st,

I have updated the engineers with your comments.I will get back to you as soon
as I get any updates from them.

Regards,
Karishma
Support Operations
Comment 17 Unknown 2006-03-24 09:11:37 UTC
The product management team is looking into the possibilities of the requested
enhancement. Will keep you updated as and when we have a substantial update
regarding this.

Regards,
Jeeva
Support Operations
Comment 18 Unknown 2007-01-05 10:06:49 UTC
To CRM
Comment 19 Unknown 2007-01-09 17:27:15 UTC
Hi,

Accepted the case and working on it.

Thanks,
Pritha
Support Operations.
Comment 20 Unknown 2007-01-16 22:58:51 UTC
Hi,

We are discussing on this internally. Will update you with the concrete
information ASAP.

Thanks,
Pritha
Support Operations.
Comment 21 Unknown 2007-12-13 06:53:25 UTC
This particular feature request is already possible with Project Tracker  -
reports . Hence moving this issue to Resolved Later queue .
Comment 22 Unknown 2009-01-23 09:28:34 UTC
CollabNet Support is currently reviewing the issues under Resolved-Later. If the
issues are fixed currently in any of the present CEE releases, then it will be
marked as Resolved-Fixed.

There might be a few issues which might not be in our future roadmap which might
be closed as Wontfix unless it does not lie under any custom request.
Comment 23 Unknown 2009-01-23 09:29:50 UTC
This is available in PT, Marking it as fixed.