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 IT46185 Status: Closed

HUGE MEMORY CONSUMPTION USING A LVARCHAR WITH A LIKE IN AN SP ONAN UTF8
DATABASE

product:
INFORMIX SERVER / 5725A3900 / E10 - 
Problem description:
Using the simple SP

CREATE PROCEDURE example() ;
DEFINE p_loop           INTEGER;
DEFINE p_like   LVARCHAR(50);

let p_loop = 0;
while p_loop < 1000

        let p_like = "12346789";
        IF  p_like like '%0%'  then
        -- do nothing
         END IF
        let p_loop = p_loop + 1;
END WHILE
end procedure;

where we execute a simple like on a local lvarchar variable,
each run of the SP will
cause an very large memory allocation. Its only in an UTF8
database.
Problem Summary:
****************************************************************
* USERS AFFECTED:                                              *
* Users of Informix Server prior to 14.10.xC11.                *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
* Upgrade to Informix Server 14.10.xC11.                       *
****************************************************************
Local Fix:
Solution
Workaround
****************************************************************
* USERS AFFECTED:                                              *
* Users of Informix Server prior to 14.10.xC11.                *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
* Upgrade to Informix Server 14.10.xC11.                       *
****************************************************************
Comment
Fixed in Informix Server 14.10.xC11.
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
17.05.2024
12.06.2024
12.06.2024
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)