IBM Support

IT39672: POTENTIAL PERFORMANCE PROBLEM WITH LARGE TRANSACTION BEING COPIED TO ER SEND QUEUE

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • A very large transaction (gigabytes) being copied from the ER
    grouper to the send queue, for then being sent to targets,
    inevitably will undergo spooling. This will come at some cost
    performance wise, but also serves a purpose, e.g. advancing the
    replay position, and shouldn't be too bad if done efficiently.
    
    Unfortunately, with some bad luck, this efficiency can be
    underwhelming, and it would deteriorate more and more the bigger
    the transaction (in terms of number of rows) and the more parts
    of it, in terms of buffers, already got copied.
    
    The problem is more or less independent from CDR_QUEUEMEM
    setting, but typically would start when the large transaction
    arrives at a send queue that already is full and might already
    be spooling.  After a while (hours, days even) the send queue
    might have drained down to zero 'Txns in queue', but the one new
    large transaction still is in the process of being copied, more
    and more slowly.
    
    In 'onstat -g rqm sendq', you'd see 'Pending Txn Buffers / Data'
    being high and increasing only marginally, e.g.
    
    RQM Statistics for Queue (0x70000002bfb1028) trg_send
    Transaction Spool Name: trg_send_stxn
    Insert Stamp: 319251
    Flags: SEND_Q, SPOOLED, PROGRESS_TABLE, NEED_ACK
    Txns in queue:            0                               #!!!
    no transaction in queue
    Log Events in queue:      0
    Txns in memory:           0
    Txns in spool only:       0
    Txns spooled:             0
    Unspooled bytes:          0
    Size of Data in queue:    0 Bytes
    Real memory in use:       0 Bytes
    Pending Txn Buffers:      26875389
    Pending Txn Data:         5234034660 Bytes
    ...
    

Local fix

  • If in such situation, possibly already since a long time, and
    since it's impossible at this point to tell the size of the
    entire transaction, so how close to the end of the process you
    are, the best you can do is restarting ER (or entire server), in
    the hope that this transaction will now arrive at an empty or
    much less crowded send queue, so the copy process can run much
    more efficiently.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of Informix Server prior to 12.10.xC16 and 14.10.xC9.  *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to Informix Server 12.10.xC16 or 14.10.xC9.          *
    ****************************************************************
    

Problem conclusion

  • Fixed in Informix Server 12.10.xC16 and 14.10.xC9.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT39672

  • Reported component name

    INFORMIX SERVER

  • Reported component ID

    5725A3900

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-01-18

  • Closed date

    2023-05-04

  • Last modified date

    2023-05-04

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    INFORMIX SERVER

  • Fixed component ID

    5725A3900

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSGU8G","label":"Informix Servers"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"C10","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
05 May 2023