AQ$_PLSQL_NTFN Scheduler Jobs Executed in large numbers affecting Database performance (Doc ID 2001165.1)

Last updated on FEBRUARY 23, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.4 to 12.1.0.2 [Release 11.2 to 12.1]
Information in this document applies to any platform.

Symptoms

25 thousand Scheduler jobs with the job_name AQ$_PLSQL_NTFN_% are being executed and affecting database performance.

From Notification tracing these are related to two subscribers on  the SYS.SCHEDULER$_EVENT_QUEUE queue.

The first is related to an ILM_AGENT subscriber which is invoking the internal callback procedure SYS.PRVT_ILM.ILM_CALLBACK and the second to a SCHED$_AGT2$_% subscriber which is invoking the internal callback procedure SYS.SCHEDULER$_JOB_EVENT_HANDLER as per the following trace entries

The messages with the msgid no longer exist in user queue SYS.SCHEDULER$_EVENT_QUEUE and the AQ$_PLSQL_NTFN_% jobs do not end.

There may also be a large numbers of EXPIRED messages in the notification exception queue AQ$_AQ_SRVNTFN_TABLE_%_E.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms