Informix - Problem description
Problem IT39672 | Status: Closed |
POTENTIAL PERFORMANCE PROBLEM WITH LARGE TRANSACTION BEING COPIED TO ER SEND QUEUE | |
product: | |
INFORMIX SERVER / 5725A3900 / C10 - IDS 12.10 | |
Problem 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 ... | |
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. * **************************************************************** | |
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. | |
Solution | |
Workaround | |
**************************************************************** * 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. * **************************************************************** | |
Comment | |
Fixed in Informix Server 12.10.xC16 and 14.10.xC9. | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 18.01.2022 04.05.2023 04.05.2023 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) |