OEM 13c BI (Business Intelligence) Reporting

Share on:

oem 1
The OEM (Original Equipment Manufacturer) 13c cloud control has enabled reporting features to represent data in a graphical manner. We can use the OEM Repo Database to extract the required information to perform proactive DBA administration. Representing data using graphs, pie charts, etc. helps DBAs get the complete picture of the environment in a short period of time. These health check reports help to address issues in a proactive manner.

Managing 100+ databases needs this kind of BI (Business Intelligence) reporting. As DBAs (Database Administrators), we need to make sure to address issues proactively.

This article will cover BI report creation. To create these reports OEM BI component should be up and running.

Use the command below to verify the component status:

[oracle@em13clnx bin]$ ./emctl status oms
Oracle Enterprise Manager Cloud Control 13c Release 3
Copyright (c) 1996, 2018 Oracle Corporation.  All rights reserved.
WebTier is Up
Oracle Management Server is Up
JVMD Engine is Up
BI Publisher Server is Up

When the component is up and running, we can log in to the BI reporting console.

oem 2 1

Creating reports consists of four steps:

  1. Create Data Model
  2. Create the report using the Data Model
  3. Schedule Report
  4. Publish the report using email

 

Data Model

The initial step is to create a data model, log in to the BI console, and select the data model.

The best option is to start with an SQL query because we can extract required data from OEM repo database views and tables.

oem 3 1

This figure illustrates selecting the SQL query as a Data Model Set.

oem 4 1

Use this as a sample query to get ASM (Automatic Storage Management) space usage and create a sample data model.
Make sure to change the target information as per your environment.

select TARGET_NAME,TABLESPACE_NAME,TABLESPACE_SIZE,TABLESPACE_USED_SIZE,COLLECTION_TIMESTAMP
from MGMT$DB_TABLESPACES 
where TARGET_NAME ='pimstst'

oem 5 1

Even you can create a few more data models to get DB growth, tablespace usage, etc.

oem 6 1

For newly created reports and data models, the best practice is to create a separate folder and save the reports and data models.

oem 7 1

Once the data model creation is complete select the report icon and associate the correct data model.

Also make sure to save the sample data, because we are going to use this sample data to create the report.

This figure illustrates saving the sample data:

oem 8 1

Same window top right there is the icon to create the report. Selecting the create report icon will move to the report creation console.

oem 9 1

 

Report Creation 

This figure shows how to report creation. There are two options:

  1. Guided method to create a report
  2. Use report editor ( I preferred this method because this gives you full control over the report)

oem 10 1

First, create a layout. In this figure, we created 1 column with 10 rows.

The next step is to select the appropriate table, as we need to generate a graph using a pivot table.

Field can be dragged and dropped to the pivot table.

oem 11 1

Copy the created pivot tables and copy them to the next row. One table we use to give data information and another one we can convert to chat.

oem 12 1

Pivot tab there is an option to the covert table to graph. This figure shows converting a table to a graph.

oem 13 1

Save the report and go back up to the main windows and view the report.

Congratulations! Your first report is complete.

oem 14 1

 

Publish Report

Setup Email

It’s not that hard to set up email delivery. Navigate to the administration tab and select the email and provide the required email username, password, and port number.

oem 15 1

oem 16 1

 

Schedule Report

To schedule a report, click the more icon on the created report. This will open another window feed information such as email address, mail subject, etc.

oem 17 1

This figure illustrates the scheduling report using an email address.

oem 18 1

Schedule the frequency of the report generation as per your requirement. This can be once a month, weekly, or daily.

oem 19 1

Job status can be verified after the report generation.

oem 20 1

Share on:

More from this Author

OLVM Renew Engine and KVM Certificate

OLVM: Renew Engine and KVM Certificate

Introduction Virtualization made a significant change in the IT (Information Technology) industry. This technology helped many organizations to use ... Read More

OCI DB Server – Troubleshoot Missing LVM

OCI DB Server – Troubleshoot Missing LVM

Introduction We are in the cloud era and many organizations are absorbing cloud technologies to get a competitive advantage over others. The cloud ... Read More

Back to Top