home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Latest versionsfixlist
14.10.xC11 FixList
12.10.xC16.X5 FixList
11.70.xC9.XB FixList
11.50.xC9.X2 FixList
11.10.xC3.W5 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

Informix - Problem description

Problem IT41728 Status: Closed

POSSIBLE WRONG RESULTS USING A COMPRESSED INDEX DEPENDING UPON ISOLATION
LEVEL

product:
INFORMIX SERVER / 5725A3900 / E10 - 
Problem description:
Using a compressed index in this query:

select count (*) from tab1 where col1=number

can lead to wrong results, depending on the isolation level


SET ISOLATION TO COMMITTED READ; SELECT COUNT (*) FROM tab1
WHERE col1 = 12345" | dbaccess test

      (count(*))
           10979

SET ISOLATION TO DIRTY READ; SELECT COUNT (*) FROM tab1 WHERE
col1 = 12345 | dbaccess test

      (count(*))
          199061

In this example DIRTY READ produced the wrong result

Uncompressing the index leads to correct results for both
isolation levels.
Problem Summary:
****************************************************************
* USERS AFFECTED:                                              *
* Users of Informix Server prior to 14.10.xC9.                 *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
* Upgrade to Informix Server 14.10.xC9.                        *
****************************************************************
Local Fix:
Solution
Workaround
****************************************************************
* USERS AFFECTED:                                              *
* Users of Informix Server prior to 14.10.xC9.                 *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
* Upgrade to Informix Server 14.10.xC9.                        *
****************************************************************
Comment
Fixed in Informix Server 14.10.xC9.
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
09.08.2022
05.10.2022
05.10.2022
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)