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) | |