Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Selct queries "WITH UR"

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
mlp

New User


Joined: 23 Sep 2005
Posts: 91

PostPosted: Fri Feb 04, 2011 12:28 pm    Post subject: Selct queries "WITH UR"
Reply with quote

Recently the DBA team had suggested us add WITH UR option in all of the select queries in certain CICS modules. This was part of the performance improvement measures. But suprisingly after that the overall performance of the system degraded. It was observed that for certain modules the Locking and DB2 wait time was increased and for certain modules DB2 serv wait time was increased.

Can anybody suggest if the "WITH UR" change is root cause for this performance degradation?
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Feb 04, 2011 8:16 pm    Post subject:
Reply with quote

Hello,

If the goal is to ensure that queries are "read only" (which could reduce locking) suggest "FOR READ ONLY" be used in the queries. . .
Back to top
View user's profile Send private message
rocky_balboa

New User


Joined: 24 Mar 2010
Posts: 61
Location: Cape of Good Hope

PostPosted: Sat Feb 05, 2011 7:04 pm    Post subject: Reply to: Selct queries "WITH UR"
Reply with quote

Is this the only change that was done to the system? There could have been other changes done by the DBA which you might not be aware of....

If you could avoid locked data you can try SKIP LOCKED DATA. It is permissible only with CS/RS.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts Changeman get multiple "Browse C... elixir1986 Compuware & Other Tools 4 Fri Jul 14, 2017 1:48 am
No new posts Include/omit with "ALL" pa... mgl DFSORT/ICETOOL 6 Wed Jun 14, 2017 2:31 pm
No new posts READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm
No new posts RC 20 for Address ISPEXEC "ISRED... pkmurali CLIST & REXX 3 Sun Apr 16, 2017 11:30 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us