ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum IndexWebSphere Message Broker SupportQueryTimeout - IIB Oracle Data Direct driver

Post new topicReply to topic
QueryTimeout - IIB Oracle Data Direct driver View previous topic :: View next topic
Author Message
RAJESHRAMAKRISHNAN
PostPosted: Mon Jun 25, 2018 4:39 am Post subject: QueryTimeout - IIB Oracle Data Direct driver Reply with quote

Voyager

Joined: 01 May 2004
Posts: 96

Hello All

To configure the Query Timeout for an oracle DB there is a parameter called "Query Timeout" in the ODBC Wire protocol setup in Windows. Default is 0 that can be overridden. How can QueryTimeout be configured in Aix/Linux. The reason for the question is I added this in IIB for Linux and restarted the Node. Sent a successful DB transaction and viewed the mqsireport properties - it sill shows that timeoutEnabled='false'.

mqsireportproperties <<Node>> -o ComIbmDatabaseConnectionManager -e <<Int Server>> -r.

Many thanks

Regards
Rajesh
Back to top
View user's profile Send private message
abhi_thri
PostPosted: Mon Jun 25, 2018 6:29 am Post subject: Reply with quote

Disciple

Joined: 17 Jul 2017
Posts: 195
Location: UK

hi...you can set it at the ODBC stanza in the odbc.ini file as 'QueryTimeout=<interval in secs>'
Back to top
View user's profile Send private message
RAJESHRAMAKRISHNAN
PostPosted: Mon Jun 25, 2018 6:35 am Post subject: Reply with quote

Voyager

Joined: 01 May 2004
Posts: 96

Hello Abhi_tri,

Thanks for that . I tried with QueryTimeout=0 to begin with. It is not reflecting however. Should it be > 0 to reflect in the report properties command?

Thanks
Back to top
View user's profile Send private message
abhi_thri
PostPosted: Mon Jun 25, 2018 10:59 pm Post subject: Reply with quote

Disciple

Joined: 17 Jul 2017
Posts: 195
Location: UK

hi...you won't be able to see it via mqsireportproperties as it is not a Broker property as such, 'QueryTimeout' is one of DataDirect ODBC driver level properties set at odbc.ini file...you won't be able to use mqsireport on DataDirect parameters.

Typical Oracle DSN sample with QueryTimeout,
Quote:

[OracleDSN]
Driver=/opt/ibm/iib-10.0.0.x/server/ODBC/drivers/lib/UKora95.so
Description=DataDirect ODBC Oracle Wire Protocol
HostName=xxx
PortNumber=1521
ServiceName=yyy
CatalogOptions=0
EnableStaticCursorsForLongData=0
ApplicationUsingThreads=1
EnableDescribeParam=1
OptimizePrepare=1
WorkArounds=536870912
ProcedureRetResults=1
ColumnSizeAsCharacter=1
LoginTimeout=0
QueryTimeout=180


If you want to test and see whether it works, you need to simulate a long running query, simulate a table locking scenario via another SQL session etc.
PS: I think you can also see it getting set if you turn on the odbc tracing
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker SupportQueryTimeout - IIB Oracle Data Direct driver
Jump to:



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP


Theme by Dustin Baccetti
Powered by phpBB 2001, 2002 phpBB Group

Copyright MQSeries.net. All rights reserved.