My Oracle Support Banner

How to find out the SQL Statements that are run in the Repository Database in order to display a certain page in Cloud Control 12c (Doc ID 1640578.1)

Last updated on FEBRUARY 19, 2019

Applies to:

Enterprise Manager Base Platform - Version 12.1.0.1.0 and later
Information in this document applies to any platform.

Goal

How to find out the underlying SQL statements which are run in the repository database in order to generate information on a page which is shown in Cloud Control?  

In previous versions (eg. Enterprise Manager 11g Grid Control, this could be achieved via enabling 'extended sql/ui trace'  (extendedSQLTrace) as described in <Note:436592.1> "Steps to Enable Extended SQL / UI Trace for Enterprise Manager Grid Console Sessions Against Repository Schema".  This Grid Control method has been deprecated in 12c Cloud Control. 

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
 A) Install EMCLI
 http://docs.oracle.com/cd/E24628_01/em.121/e17786/deploy.htm#BGBJCDCH
 B) Run the following emcli commands
 C) Generate the Report on the OMS
 D) Case Study - How to find out the SQL which is run when the 'Agents' page is accessed in the console (setup/manage cloud control/agents)
References

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