suche 36x36
  • Admin-Scout-small-Banner
           

    CURSOR Admin-Scout

    get the ultimate tool for Informix

    pfeil  
Latest versionsfixlist
14.10.xC10 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 IT29510 Status: Closed

MASSIVE RALLOC MEMORY GROWTH WHEN EXECUTING IMMEDIATE BUFFER WITH MANY
INSERTS ON TABLE WITH INSERT CURSOR

product:
INFORMIX SERVER / 5725A3900 / C10 - IDS 12.10
Problem description:
This problem was observed running 12.10.FC13 on linux x86_64.  I
did not see the problem
nearly as bad on 11.70.FC8W1.

The test case involves an esql/c client that reads a file that
contains ~17000 inserts into a buffer
and then runs an execute immediate on that buffer.  These
inserts are all against the same table
that contains an insert trigger.

Looking at an onstat -g ses  you will see the ralloc pool
grow large rapidly.  I've seen the test
use every bit of memory in an instance with SHMTOTAL set to 12GB
.

From an onstat -g afr, these are examples of the memory blocks
that are rapidly being allocated.  Seems
like it's related to the number of cbs that are used for the
insert statements in the buffer

        22ae70000        2038904    ralloc       3234
squtil.c:15082
        22b066000        2039000    ralloc       3234
squtil.c:15082
        22b259000        2039096    ralloc       3234
squtil.c:15082
        22b44b000        2039192    ralloc       3234
squtil.c:15082
        22b642000        2039288    ralloc       3234
squtil.c:15082
        22b834000        2039384    ralloc       3234
squtil.c:15082
        22ba2b000        2039480    ralloc       3234
squtil.c:15082
        22bc1d000        2039576    ralloc       3234
squtil.c:15082
        22be10000        2039672    ralloc       3234
squtil.c:15082
        22c006000        2039808    ralloc       3234
squtil.c:15082

 This is the biggest growth, there may be other allocations
causing growth as well.
Problem Summary:
****************************************************************
* USERS AFFECTED:                                              *
* Users of IDS version 12.10.xC13 and older.                   *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* Massive ralloc memory growth when executing immediate buffer *
* with many inserts on table with insert cursor.               *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
Local Fix:
Solution
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
20.06.2019
20.09.2019
20.09.2019
Problem solved at the following versions (IBM BugInfos)
12.10.xC14
Problem solved according to the fixlist(s) of the following version(s)
Informix EditionsInformix Editions
Informix Editions
DocumentationDocumentation
Documentation
IBM NewsletterIBM Newsletter
IBM Newsletter
Current BugsCurrent Bugs
Current Bugs
Bug ResearchBug Research
Bug Research
Bug FixlistsBug Fixlists
Bug Fixlists
Release NotesRelease Notes
Release Notes
Machine NotesMachine Notes
Machine Notes
Release NewsRelease News
Release News
Product LifecycleProduct Lifecycle
Lifecycle
Media DownloadMedia Download
Media Download