The system table SYSINFO.UNLOADEDSTATEMENTS contains the SQL statements that, for space reasons, have been moved from the command cache to an internal database file.
COMMANDID
CHAR(8) BYTE
Identification of the SQL statement
STATEMENT
CLOB
SQL statement