My Oracle Support Banner

GV$SQL_MONITOR Queries and SQLMON Generation Very Slow after Upgrade to 19c (Doc ID 2792268.1)

Last updated on JULY 20, 2024

Applies to:

Oracle Database - Enterprise Edition - Version 19.1.0.0.0 and later
Information in this document applies to any platform.

Symptoms

After upgrading to 19.10, this query is slow (takes almost an hour):
  select * from gv$sql_monitor where username='<user>' and status like '%EX%'

The query without the predicate for STATUS runs without issue.
  select * from gv$sql_monitor where username='<user>'

Changes

 Upgrade to 19c.

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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.