Environment: DB2-UDB for AIX version 7.2.4
Have a process that encounters SQL0955C errors on occasion when executing a SELECT from an empty table while nothing much else is going on in the database instance. The table in question has NEVER been populated with data. The table resides in a tablespace with other populated tables. The SELECT statement has a WHERE predicate that specifies columns NOT included in an index. RUNSTATS have been run for the table. The process is part of a packaged application, consequently, the client wants to leave the software in it's vanilla state. The DBA has adjusted SORTHEAP/SHEAPTHRES parameters in efforts to address the problem.
Does anyone have an explanation as to what might be causing this? Would creating an index for the columns in the WHERE predicate help? The problem does not happen regularly and can not be replicated on command making it difficult to debug.
TIA for any insight you may provide.
AO
Have a process that encounters SQL0955C errors on occasion when executing a SELECT from an empty table while nothing much else is going on in the database instance. The table in question has NEVER been populated with data. The table resides in a tablespace with other populated tables. The SELECT statement has a WHERE predicate that specifies columns NOT included in an index. RUNSTATS have been run for the table. The process is part of a packaged application, consequently, the client wants to leave the software in it's vanilla state. The DBA has adjusted SORTHEAP/SHEAPTHRES parameters in efforts to address the problem.
Does anyone have an explanation as to what might be causing this? Would creating an index for the columns in the WHERE predicate help? The problem does not happen regularly and can not be replicated on command making it difficult to debug.
TIA for any insight you may provide.
AO