tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 51388] New: SlowQueryReport should respect Statement.getQueryTimeout() value
Date Thu, 16 Jun 2011 21:15:52 GMT

             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
    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:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message