Reference for Ops Insights

This guide lists the predefined objects in Resource Analytics for Ops Insights. You can find information about views, entity relationships, subject areas, and sample queries.

Views

This section provides information about views within Resource Analytics Ops Insights and their columns, data types, keys, and the referred view and column names. The following views are available:

Ops Insights Views
NameDescription
OPS_INSIGHTS_AUTONOMOUS_DATABASE_INSIGHT_DIM_V This view stores information on insight resources for Autonomous Databases.
OPS_INSIGHTS_AWR_HUB_DIM_V This view stores information on AWR Hub resources.
OPS_INSIGHTS_AWR_HUB_SOURCE_DIM_V This view stores information on AWR Hub source objects.
OPS_INSIGHTS_DATABASE_INSIGHT_DIM_V This view stores information on insight resources for databases.
OPS_INSIGHTS_ENTERPRISE_MANAGER_BRIDGE_DIM_V This view stores information on Enterprise Manager bridge resources.
OPS_INSIGHTS_EXADATA_INSIGHT_DIM_V This view stores information on insight resources for Exadata.
OPS_INSIGHTS_EXTERNAL_MYSQL_DATABASE_INSIGHT_DIM_V This view stores information on insight resources for external MySQL databases.
OPS_INSIGHTS_HOST_INSIGHT_DIM_V This view stores information on insight resources for hosts.
OPS_INSIGHTS_MDS_MY_SQL_DATABASE_INSIGHT_DIM_V This view stores information on insights resources for MDS MySQL databases.
OPS_INSIGHTS_NEWS_REPORT_DIM_V This view stores information on news report resources.
OPS_INSIGHTS_PRIVATE_ENDPOINT_DIM_V This view stores information on Ops Insights private endpoints.
OPS_INSIGHTS_RESOURCE_DIM_V This view stores information on all Ops Insights resources.
OPS_INSIGHTS_WAREHOUSE_DIM_V This view stores information on Ops Insights warehouse resources.
OPS_INSIGHTS_WAREHOUSE_USER_DIM_V This view stores information on Ops Insights warehouse users.
OPS_INSIGHTS_RESOURCE_STATE_FACT_V This view stores information on the latest performance metrics for Ops Insights resources.

The suffixes in the view names specify the view type:

  • FACT_V: Fact
  • DIM_V: Dimension

Relationship Diagram

This section provides diagrams that define the logical relationship of a fact table with different dimension tables.

The contents of each view and their relationships are listed in the following file: Ops Insights views.

This diagram shows the relationship of the Ops Insights fact view with different dimension views.

OPS_INSIGHTS_RESOURCE_STATE_FACT_V
Relationship diagram showing the fact table, OPS_INSIGHTS_RESOURCE_STATE_FACT_V.

Relationships exist among dimensions. Dimensions can be joined directly to each other. These diagrams show the relationship between dimension views.

OPS_INSIGHTS_AWR_HUB_SOURCE_DIM_V
Relationship diagram showing the dimension table, OPS_INSIGHTS_AWR_HUB_SOURCE_DIM_V.

OPS_INSIGHTS_AWR_HUB_DIM_V
Relationship diagram showing the dimension table, OPS_INSIGHTS_AWR_HUB_DIM_V.

OPS_INSIGHTS_DATABASE_INSIGHT_DIM_V
Relationship diagram showing the dimension table, OPS_INSIGHTS_DATABASE_INSIGHT_DIM_V.

OPS_INSIGHTS_ENTERPRISE_MANAGER_BRIDGE_DIM_V
Relationship diagram showing the dimension table, OPS_INSIGHTS_ENTERPRISE_MANAGER_BRIDGE_DIM_V.

OPS_INSIGHTS_EXTERNAL_MYSQL_DATABASE_INSIGHT_DIM_V
Relationship diagram showing the dimension table, OPS_INSIGHTS_EXTERNAL_MYSQL_DATABASE_INSIGHT_DIM_V.

OPS_INSIGHTS_PRIVATE_ENDPOINT_DIM_V
Relationship diagram showing the dimension table, OPS_INSIGHTS_PRIVATE_ENDPOINT_DIM_V.

OPS_INSIGHTS_WAREHOUSE_USER_DIM_V
Relationship diagram showing the dimension table, OPS_INSIGHTS_WAREHOUSE_USER_DIM_V.

Sample Queries

Sample queries for Ops Insights.

Show the relevant metrics for active Ops Insights resources:
SELECT
    RSF.RESOURCE_ID,
    RSF.RESOURCE_TYPE,
    RSF.LATEST_CPU_USED,
    RSF.LATEST_STORAGE_USED_GB,
    RSF.AWR_IMPORT_LAG_HOURS,
    RSF.NEWS_FREQUENCY,
    RSF.TIME_CREATED,
	RD.LIFECYCLE_STATE,
	RD.RESOURCE_NAME
FROM
    OCIRA.OPS_INSIGHTS_RESOURCE_STATE_FACT_V RSF
JOIN
	OCIRA.OPS_INSIGHTS_RESOURCE_DIM_V RD
ON 
	RSF.OCIRA_RESOURCE_KEY = RD.OCIRA_RESOURCE_KEY
WHERE
	RD.LIFECYCLE_STATE = 'ACTIVE'

Data Lineage

The Customer Experience Semantic Model Lineage spreadsheet and Metric Calculation Logic spreadsheet for Ops Insights provides an end-to-end data lineage summary report for physical and logical relationships in your data.

For more information, see Data Lineage.

Subject Areas

This section provides information on the subject areas with data you maintain in Ops Insights. These subject areas, with their corresponding data, are available for you to use when creating and editing analyses and reports. The information for each subject area includes:

  • Description of the subject area.

  • Business questions that can be answered by data in the subject area, with a link to more detailed information about each business question.

  • Job-specific groups and duty roles that can be used to secure access to the subject area, with a link to more detailed information about each job role and duty role.

  • Primary navigation to the work area that's represented by the subject area.

  • Time reporting considerations in using the subject area, such as whether the subject area reports historical data or only the current data. Historical reporting refers to reporting on historical transactional data in a subject area. With a few exceptions, all dimensional data are current as of the primary transaction dates or system date.

  • The lowest grain of transactional data in a subject area. The lowest transactional data grain decides how data are joined in a report.

  • Special considerations, tips, and things to look out for in using the subject area to create analyses and reports.

The subject area is:

Other References