Applications Manager may report a Query Execution Timed Out or Socket Read Timed Out alert when an Oracle query takes longer than the configured timeout.
You may see one of the following messages during Oracle monitor data collection:

or:

Here, xxxxxxxx represents the query group name.
From the Applications Manager GUI, go to the respective Oracle Monitor's details page:
Monitor Actions → Edit Monitor → Query Execution Timeout
Increase the seconds configured in the Query Execution Timeout field.
From the Applications Manager GUI, go to the respective Oracle Monitor's details page:
Monitor Actions → Edit Monitor → Socket Read Timeout
Increase the seconds configured in the Socket Read Timeout field.
INSTANCESTATUS or TABLESPACESTATUS and the alert still continues after increasing the timeout, perform the Oracle database steps below with the help of your Oracle DBA.The INSTANCESTATUS / TABLESPACESTATUS timeout can occur when queries against the Oracle data dictionary view DBA_FREE_SPACE take a long time to execute.
Run the following query in the corresponding Oracle database:
SQL> SELECT count(*) FROM dba_recyclebin;DBA_FREE_SPACE includes objects in the recycle bin. A large number of objects in the recycle bin can cause queries against DBA_FREE_SPACE to take longer.If the recycle-bin count is high, purge the recycle bin with the help of your Oracle DBA:
SQL> PURGE dba_recyclebin;Perform the purge only after confirming with the customer/Oracle DBA that the recycle-bin objects can be permanently removed.
With the customer's permission and with the help of the Oracle DBA, gather dictionary and fixed-object statistics:
SQL> EXEC DBMS_STATS.GATHER_DICTIONARY_STATS;
SQL> EXEC DBMS_STATS.GATHER_FIXED_OBJECTS_STATS;INSTANCESTATUS / TABLESPACESTATUS timeout is resolved.OracleAlertLogList and the alert still continues after increasing the timeout, perform the Oracle database steps below with the help of your Oracle DBA.If the query group reported in the alert is OracleAlertLogList, the slowness may be caused by a large Oracle alert-log history. The query used by this query group is:
SELECT DECODE(MESSAGE_LEVEL,1,'CRITICAL',2,'SEVERE',8,'IMPORTANT',16,'NORMAL',MESSAGE_LEVEL) AS MESSAGE_LEVEL,
RECORD_ID,
ORIGINATING_TIMESTAMP,
HOST_ID AS HOST_ADDRESS,
MESSAGE_TEXT
FROM V$DIAG_ALERT_EXT
WHERE TRIM(COMPONENT_ID) = 'rdbms'
AND MESSAGE_TEXT LIKE '%ORA-%'
AND originating_timestamp > (SYSDATE - 15/1440);SELECT DECODE(MESSAGE_LEVEL,1,'CRITICAL',2,'SEVERE',8,'IMPORTANT',16,'NORMAL',MESSAGE_LEVEL) AS MESSAGE_LEVEL,
RECORD_ID,
ORIGINATING_TIMESTAMP,
HOST_ID AS HOST_ADDRESS,
MESSAGE_TEXT
FROM v$appman_alertlog_ext
WHERE TRIM(COMPONENT_ID) = 'rdbms'
AND MESSAGE_TEXT LIKE '%ORA-%'
AND originating_timestamp > (SYSDATE - 15/1440);
Run the following commands in ADRCI:
adrci> show homes
adrci> set homepath diag/rdbms/<dbname>/<instance>
adrci> show alert -tail 1Replace the following placeholders with the appropriate values for your Oracle environment:
<dbname> – Oracle database name.<instance> – Oracle instance name.At the operating-system level, run:
ls $ADR_BASE/diag/rdbms/<dbname>/<instance>/alert | wc -lV$DIAG_ALERT_EXT/v$appman_alertlog_ext may take a very long time. The external-table mechanism may need to inspect and parse a large number of alert-log files before predicates can be applied efficiently.With the help and approval of your Oracle DBA, purge old alert-log data using:
adrci> purge -age 43200 -type ALERT-age 43200: The -age value is specified in minutes. 43,200 minutes = 30 days. The command therefore purges ALERT data older than 30 days and retains the most recent 30 days of alert-log data in the ADR repository.Adjust the above retention period according to your organization's Oracle ADR retention requirements. Do not perform the purge if older alert-log data must be retained for auditing, troubleshooting, or other operational requirements.
After the ADR purge is completed, execute the query shown above directly on the Oracle database and check its execution time.
V$DIAG_ALERT_EXT/ v$appman_alertlog_ext select query above and share the execution result and timing with ManageEngine Support for further analysis.INSTANCESTATUS, TABLESPACESTATUS, or OracleAlertLogList, contact ManageEngine Support at appmanager-support@manageengine.com along with the latest Support Information File (SIF) generated with Print All Logs enabled from Applications Manager.