Informix抛出AF文件,大体如下:
Assert Warning: Exceeding max # of pages (Actual 44, Allowed 40) that can be physically logged in a critical section while critical section blocking is active.
通过在如下文章中可以看出可能是物理日志偏小所致:
https://www.ibm.com/support/pages/node/497597
这个bug的详细描述是:
https://www.ibm.com/support/pages/node/497597
Under heavy load the instance may produce a high number of assert warnings similar to the one below. From the online.log: 01:37:30 01:37:30 IBM Informix Dynamic Server Version 12.10.FC1 Software Serial Number AAA#B000000 01:37:30 Assert Warning: Exceeding max # of pages (Actual 41, Allowed 40) that can be physically logged in a critical section while critical section blocking is active. 01:37:30 Who: Session(1721, [email protected] 16843, 0x5ba02fab8) Thread(4647, sqlexec, 5b9ffe4d8, 1) File: rsbuff.c Line: 4278 01:37:30 Action: Please notify IBM Informix Technical Support. 01:37:30 Raw hex dump of stack located in /informixdir/af.160f94a9.rawstk 01:37:30 Stack for thread: 4647 sqlexec The stack printed in the AF files may look similar to: afstack afhandler afwarn_interface bfphyslogx buffclear mapfree ptextend ptbuild rspnbuild_sz fmamaddindex sqmgm_isaddindex creaidx aud_creaidx excommand sq_execute sqmain spawn_thread startup
**************************************************************** * USERS AFFECTED: * * users using large extents in 12.10 * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Update to IDS-12.10.xC5 * ****************************************************************
Problem Fixed In IDS-12.10.xC5
如何设置物理日志的大小如下:
https://www.ibm.com/support/pages/node/141649
Checkpoints can be triggered when the physical log is 75 percent full and checkpoint processing must complete before the remaining 25 percent of the physical log is used.