473,379 Members | 1,544 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

DB2 performance variables

Does anyone know of any problems on setting the following db2
environment variables?

DB2_EVALUNCOMMITTED=ON
DB2_SKIPINSERTED=ON
DB2_SKIPDELETED=ON

Also is it correct to assume the effect of those settings would be the
same as running a query "WITH UR" ?

Thank you

Leo

Apr 21 '06 #1
2 2405
<le**********@gmail.com> wrote in message
news:11**********************@z34g2000cwc.googlegr oups.com...
Does anyone know of any problems on setting the following db2
environment variables?

DB2_EVALUNCOMMITTED=ON
DB2_SKIPINSERTED=ON
DB2_SKIPDELETED=ON

Also is it correct to assume the effect of those settings would be the
same as running a query "WITH UR" ?

Thank you

Leo


There are some circumstances when an application is coded in a certain way,
where you might not want to use the settings. For more information on when
this might be, see this link:
http://www-128.ibm.com/developerwork...m-0509schuetz/

These are not really performance settings, but they can minimize lock
contention, so if you have a lot of lock wait time in your application you
may be able to increase performance. Also, these settings can "sometimes" be
useful in preventing deadlocks when application programs are not coded in
the proper way that would avoid them.

Using these settings is not the same as running a query "WITH UR" although
in some very specific circumstances with specific queries, the result may be
the similar in that lock wait time is eliminated..

Note that the above settings are ignored on queries which use the RR
isolation level.
Apr 21 '06 #2
le**********@gmail.com wrote:
Does anyone know of any problems on setting the following db2
environment variables?

DB2_EVALUNCOMMITTED=ON
DB2_SKIPINSERTED=ON
DB2_SKIPDELETED=ON

Also is it correct to assume the effect of those settings would be the
same as running a query "WITH UR" ?

That is incorrect. WITH UR will see uncommitted rows. The variables
above skip uncommitted rows.

DB2_SKIPINSERTED is safe (there is nothing wrong about not seeing a new
row that isn't committed yet).

The other two may or may not be safe depending on your app.

Cheers
Serge

--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab
Apr 22 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Rodd Snook | last post by:
I have an application which makes extensive use of the Scripting.Dictionary object. I'm not doing anything silly like putting them outside the page scope -- just creating quite a few of them and...
6
by: pragile | last post by:
I have a stored procedure that has some problems with slow performance. The procedure has 2 parameters @firstname varchar(100) @lastname varchar(100) These parameters can have values like a%,...
7
by: Dima | last post by:
Call to XmlNode.GetElementsByTagName returns XmlNodeList that stays in sync with XmlDocument thanks to events fired by XmlDocument. Once this list is created there is no way to remove its event...
115
by: Mark Shelor | last post by:
I've encountered a troublesome inconsistency in the C-language Perl extension I've written for CPAN (Digest::SHA). The problem involves the use of a static array within a performance-critical...
2
by: Lalit Singh | last post by:
My development environments are ASP.Net and VB.Net and .NetFramework1.1. I remember reading "using less number of session variables is good for application performance". Now instead of using...
3
by: Steeve | last post by:
Hi, I found a way to get result than I want with this anonymus method. But, it's a little weird to use a anonymus methods in another anonymus methods. Moreover, i have a performance issue. How...
0
by: Swami | last post by:
I have 2 questions relating to website design in asp .net: 1. In a website that I am building I have everything as a user control. Even the header, which contains the navigation tabs is in a user...
1
by: Billy | last post by:
Hi All, I'm attempting to use the MapNetworkDrive <snippedbelow from entire code below with very poor performance results. Basically, I have very small 73kb text files that are rewritten daily...
13
by: atlaste | last post by:
Hi, I'm currently developing an application that uses a lot of computational power, disk access and memory caching (to be more exact: an information retrieval platform). In these kind of...
1
by: webdevaccount | last post by:
Hi, I am trying to deceive whether I should use Asp.net 2.0's FormAuthentication (cookie) or the Session object to store the login ID of a given user. Question 1: Assuming that the app will...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.