Friday, September 30, 2016

Enterprise Manager Database Express in Database 12c Release 1

Introduction


Key things to remember about Enterprise Manager Database Express.

◈ EM DB Express is not Cloud Control or Grid Control!
◈ EM DB Express is not a replacement for the DB Control from 11g, as it has significantly less functionality.
◈ A DBA will not be able to administer the database using just EM DB Express.

If your organisation uses Cloud Control, which it should, you will probably never use EM Database Express. If on the other hand you are playing around with the database and want a pretty interface to perform some tasks, the EM Database Express might be your answer.

Configuration


If you've done the sort of database installations described here, you've probably already got EM Database Express configured. Unlike the DB Control, it runs from inside the database using the XML DB infrastructure, so there are no additional parts to install or executables to start.

To get up and running, you just need to check the HTTPS port is set for the XML DB.

SQL> SELECT DBMS_XDB_CONFIG.gethttpport FROM dual;

GETHTTPPORT
-----------
          0

SQL> SELECT DBMS_XDB_CONFIG.gethttpsport FROM dual;

GETHTTPSPORT
------------
        5500

SQL> EXEC DBMS_XDB_CONFIG.sethttpsport(5500);

PL/SQL procedure successfully completed.

SQL>

Once that is done, EM Database Express is accessible using the following type of URL.

https://<hostname>:<port>/em/

Example:

https://ol6-121.localdomain:5500/em/

Enter your database login details and click the "Login" button.

Oracle Database Tutorial and Materials, Oracle Database Guides, Oracle Database Learning, Oracle Database

You are presented with the home page for the database.

Oracle Database Tutorial and Materials, Oracle Database Guides, Oracle Database Learning, Oracle Database

Usage


The menu structure for DB Express is quite simple.

Configuration
  - Initialization Parameters
  - Memory
  - Database Feature Usage
  - Current Database Properties

Storage
  - Undo Management
  - Redo Log Groups
  - Archive Logs
  - Control Files

Security
  - Users
  - Roles

Performance
  - Performance Hub
  - SQL Tuning Advisor

You will notice, there is very little in the way of administration screens. This is not a tool a DBA will use to administer the database.

Most of the screens are self explanatory. The only really interesting screen is the Performance Hub, which actually looks nicer than the Cloud Control equivalent.

Oracle Database Tutorial and Materials, Oracle Database Guides, Oracle Database Learning, Oracle Database

What About the Missing Bits


As mentioned previously, you will quickly realise DB Express is not a replacement for the 11g DB Control. How do you perform the tasks that are not supported by DB Express?

◈ Cloud Control : Your company should be using Cloud Control. If you are not, you are making a big mistake.
◈ SQL Developer : SQL Developer has matured significantly over recent versions. It now includes a number of administration features.
◈ SQL*Plus : Even with Cloud Control, I still find myself using SQL*Plus all the time.

Related Posts

0 comments:

Post a Comment