V$SQL_MONITOR View Returns No Rows (0 ROWS) on 12.1.0.2
(Doc ID 2438466.1)
Last updated on APRIL 17, 2023
Applies to:
Oracle Database - Enterprise Edition - Version 12.1.0.2 and laterInformation in this document applies to any platform.
Symptoms
- On 12.1.0.2, not able to see real time SQL monitoring using v$sql_monitor:
Example:
SQL> SELECT * FROM v$sql_monitor;
no rows selected - V$sql_monitor contains no rows even when /*+ MONITOR */ hint is used to turn on SQL monitoring for a SQL statement:
Example:
SQL> select /*+ monitor */ * from ...
SQL> SELECT * FROM v$sql_monitor; - The number of CPUs (CPU_COUNT)is not large that sometimes causes this issue per following bugs:
<Document 2354130.1> V$sql_monitor Has No Data
<Document 1959699.1> V$SQL_MONITOR View Does not Return Rows When CPU_COUNT=1024
Changes
NONE
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |