tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51388] New: SlowQueryReport should respect Statement.getQueryTimeout() value
Date Thu, 16 Jun 2011 21:15:52 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=51388

             Bug #: 51388
           Summary: SlowQueryReport should respect
                    Statement.getQueryTimeout() value
           Product: Tomcat Modules
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: jdbc-pool
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: hay_dave@yahoo.com
    Classification: Unclassified


It would be nice if the threshold for slow queries could be configured on a
per-query basis.

This could be done by respecting the value returned from
Statement.getQueryTimeout() in AbstractQueryReport.StatementProxy.  If the
value returned from the Statement is non-zero and greater than the
SlowQueryReport 'threshold', the the value from the query is used instead.

This behavior should probably be something that could be toggled on or off.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message