Bug in IDS 11: This article describes a bug in a function provided with IBM Informix Dynamic Server (IDS) which could result in disk space being filled. We have reported this to IBM who have assigned defect number (APAR) IT09329. Meanwhile, you can fix your system using code provided below.
An internal scheduler (sometimes known as “dbcron”) was introduced in IDS version 11. With the Open Admin Tool, you can enable or disable scheduled tasks and view the results of previous executions. The scheduler and many tasks are enabled by default, with relevant tables and functions being stored in the “sysadmin” database. Every time a task runs, a row is inserted into one or both of the “ph_alert” and “ph_run” tables. Every day, a Stored Procedure Language (SPL) function is run to clear rows older than a defined number of days (default 30) from these tables, but it leaves rows behind that do not have a matching pair in both. On some systems with rapid execution of custom tasks, this can result in a very large table filling the dbspace (rootdbs by default).
The standard code from 12.10.FC4 (almost unchanged since 11.10) is:
Copy to Clipboard
The suggested fix is:
Copy to Clipboard
Run the above SQL as “informix” in the “sysadmin” database on IDS 11 or 12 to avoid accumulating unwanted data. This should fix the bug in IDS 11.
The code fix suggested above is provided “as is” without warranty of any kind, either express or implied, including without limitation any implied warranties of condition, uninterrupted use, merchantability, fitness for a particular purpose, or non-infringement.
If you have any questions or would like some support to fix this bug in IDS 11, simply contact us.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.