Quote:
|
Originally Posted by M_RAS
Hi Marcus_A
in point of view data integrity is it possible these registery variables make problem?
|
There are some specific situations where these registery variables should not be used (when set the they apply to the entire DB2 instance).
On example is when there is control table that contains a value such as next available sequence number or other value that is always expected to be present in the application for all users connected. If an application that changes the control value does a delete and then an insert instead of an update in a single unit of work, this could cause problems if the DB2_SKIPINSERTED=ON and DB2_SKIPDELETED=ON registery values are present, and the control value is always expected to be available to other applications.
Even if the control value has been udpated, then other applicaitons that did a read only on the value, the other application SQL might evaluate it before it is commited with the DB2_EVALUNCOMMITTED=ON.
I am sure there are some other unusal application situations where there could be logic problems, but for most applications it should not be a problem.
DB2_SKIPINSERTED=ON is the safest to use for all applications.