AES data retention is not working as defined
Autonomic Event Services (AES) Data is not cleaned up even after the retention date, as the cleanupAESData agent fails.
8/23/17 9:55:34:700 EDT] 0000012b SystemOut O 2017-08-23 09:55:34,690 [ WebContainer : 39] [ STANDARD] [ AES:07.13] (l.access.ConnectionManagerImpl) ERROR your_host|your_IP aesdeveloper - Not returning connection 8 for database "pegadata" to the pool as it previously encountered the following error
User ID: aesdeveloper
Last SQL: DELETE FROM PEGA7RULES.pegaam_alert "PC0" WHERE ( ( DAYS(CURRENT_TIMESTAMP)-DAYS("PC0".GENERATEDDATETIME) > (CAST(? AS INTEGER) + CAST(? AS DECIMAL(31,10))) ) ) AND "PC0".pxObjClass = ?
com.ibm.db2.jcc.am.SqlException: DB2 SQL Error: SQLCODE=-964, SQLSTATE=57011, SQLERRMC=null, DRIVER=4.17.29
Steps to Reproduce
Query the Database and note that older data is retained.
A defect or configuration issue in the operating environment.
The cleanup AES data Agent that is supposed to remove 'past retention days' records from AES tables was failing.
Over time large number of records have accumulated into the table and now the delete SQL fails as the database runs out of transaction log space.
Here’s the explanation for the reported behavior:
Increase the transaction log space size or reduce the amount of data to be cleaned by manually running delete statements.