My Oracle Support Banner

How to drop and recreate SYS.SYS$SERVICE_METRICS_TAB (Doc ID 1574889.1)

Last updated on JUNE 20, 2023

Applies to:

Oracle Database Cloud Service - Version N/A and later
Oracle Database - Enterprise Edition - Version 11.2.0.0. to 19.8.0.0.0 [Release 11.2 to 19]
Oracle Database Cloud Schema Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.

Goal

This document would help to drop and recreate SYS.SYS$SERVICE_METRICS_TAB queue table which would be helpful for DBAs and Oracle Support Engineers.

Solution

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
Goal
Solution
 1. Check the existence of the SYS$SERVICE_METRICS_TAB 
 2. Modify parameter job_queue_processes to 0 so that none of the AQ jobs start.
 3. Drop Table SYS.SYS$SERVICE_METRICS_TAB:
 4. Check whether the table,SYS$SERVICE_METRICS_TAB, dropped or not
 5. Recreate Queue tables:
 6. Check whether the table SYS$SERVICE_METRICS_TAB, recreated or not:
 
7. Modify parameter job_queue_processes
 8. Check AQ table is getting populated or not.
References


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