[
https://issues.jboss.org/browse/TEIID-1573?page=com.atlassian.jira.plugin...
]
Steven Hawkins resolved TEIID-1573.
-----------------------------------
Resolution: Done
Added the ability to set a default query timeout at the vdb level. This can be done
through adding a vdb property in the vdb.xml (see the reference vdb chapter). And added
the ability to set a server-wide default (see the teiid-jboss-beans.xml).
Logically the smallest positive timeout value is the one that will be enforced. JDBC
timeouts are still handled on the client side and thus would need to be smaller than
either the vdb or server setting to be effective.
The notion of server query time starts when the engine receives the query and is in effect
until the first result is sent. This will be slightly skewed from the clients query start
and first result depending upon network latency.
It is possible, but did not seem necessary, to change the notion of server query time to
start when the query is first executed. This would mean that anytime spent in queue while
waiting for an active plan lease would not be counted against the timeout.
Set Query Timeout on the Server
--------------------------------
Key: TEIID-1573
URL:
https://issues.jboss.org/browse/TEIID-1573
Project: Teiid
Issue Type: Feature Request
Components: Server
Affects Versions: 7.3
Environment: Windows
Reporter: RAKESH BALGURI
Assignee: Steven Hawkins
Fix For: 7.6
Hi,
We want the configuration of the Query Timeout set on the server side instead of setting
it for the Statement Object.
Please see this discussion for more information
http://community.jboss.org/message/600599#600599
We want the setQueryTimeout to override the default values.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira