Informix - Problem description
Problem IT06246 | Status: Closed |
CDR CLEANSTART COMMAND NOT PURGING TRG_SEND_SREP TABLE | |
product: | |
INFORMIX SERVER / 5725A3900 / C10 - IDS 12.10 | |
Problem description: | |
When cdr cleanstart is used to reset the replay position and throw away transactions that have been spooled to disk, it currently is only removing rows from the trg_send_stxn table. However, when rows getting written to spool, data is also put in the trg_send_srep table, and when transactions are removed normally from spool, this data is also removed. But in the case of cdr cleanstart the data is not. Leaving this data behind can cause other ER problems, like seeing long running CDRFlushQue threads or long running GCReq threads. These long running threads would have the following stack traces: CDRFlushQue: yield_processor_mvp mt_lock_wait mt_lock rqmGetTxnByStamp rqmMarkSpoolReplDelete qrDoFlushQueueForRepl queuerFlushQueueForRepl cdrTrampolineThread th_init_initgls startup GCReq: mt_lock_wait mt_lock rqmGetTxnByStamp rqmMarkSpoolReplDelete qrFlushQueueForRepl queuerReplDropped dac_participate_repl gsi_participate_repl clientRequestThread cdrTrampolineThread th_init_initgls startup The key pieces in the stacks above is the function rqmMarkSpoolReplDelete, as it's the function which indicates the trg_send_srep table is being scanned. So in the case of after a cleanstart there should be nothing in the spool file, so this should not take time as there should be nothing to do if other ER onstats (like onstat -g rqm sendq) indicate that there are no transactions in spool, but if it taking cpu cycles, that would indicate the presence of the left over, non-purged rows in the trg_send_srep table. If the server does have transactions in spool, then taking time in this function would be normal, as going through the spool files cleaning things up is required, but when onstat -g rqm sendq shows no transactions in spool, but there are threads spending a lot of time in rqmMarkSpoolReplDelete() then that would indicate the customer had done a cleanstart and now has these left over rows which is then causing issues. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * all customers with stuff in the stable queue when cdr * * cleanstart is issued. * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Update to IBM Informix Server 11.70 * **************************************************************** | |
Local Fix: | |
Solution | |
Problem Fixed In IBM Informix Server 11.70 | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 29.12.2014 16.10.2015 16.10.2015 |
Problem solved at the following versions (IBM BugInfos) | |
11.70.0 | |
Problem solved according to the fixlist(s) of the following version(s) | |
12.10.xC5 | |
12.10.xC5.W1 |