Oracle Enterprise Manager Concepts Guide

Contents Index Home Previous Next

CHAPTER 7. Overview of the Database Tools

This chapter provides an introduction to the Oracle Enterprise Manager database administration (DBA) tools and utilities and describes their organization and basic elements. This chapter covers the following topics:

Introduction

The database tool and utility applications are the primary administrative components of Oracle Enterprise Manager. You can use these applications to perform most of your DBA administration tasks.

The design of the applications allows you to:

The applications allow you to perform the following database administration tasks:

Additional applications can be purchased to allow you to:

Additional Information: Refer to the documentation for these additional applications for more information.

Application Objects

This section provides an overview of the objects administered by the database tools and utilities and briefly describes the objects that each application manages. For detailed descriptions of the objects and commands available in each application, see the specific chapter on the application.

Types of Objects

The database tools and utilities applications provide a tree list of groups and instances to organize the objects associated with the application. The tree list displays on the left side of an application window after the application has successfully connected to a database. See Figure 7 - 1 for an example of a tree list in an application window.

The groups and instances are usually contained in a database container. The database container is the root of the tree list and displays the name of the database that the application is connected to.

Containers hold other objects and display a '+' or '-' to the left of the object's icon and name. A container can be expanded or collapsed to show or hide its contents. Objects that do not contain other objects do not display a '+' or '-' to the left of the object's icon or name.

Figure 7 - 1. An Application Window

Manipulating Tree Objects

When navigating in the tree list, you can:

Suggestion: For the fastest performance when expanding or collapsing containers in the tree list, click only on the '+' or '-' to the left of the container rather than double-clicking an object name. If you select an object in the tree list, the application pauses to refresh the contents of the window on the right side before expanding or collapsing the container.

Attention: If you alter an instance, such as a datafile named DATA1 or a role named CLERK, in any location of the tree list, all occurrences of the object in the tree are changed.

The Instance Manager

With the Instance application you can start up or shut down a database, examine and edit database initialization parameters, manage in-doubt transactions, and manage users' sessions. The Instance application manages the following groups:

The Schema Manager

With the Schema application you can create, edit, and examine schema objects. The Schema application manages the following groups:

The Security Manager

With the Security application you can create, alter, and drop users, roles, and profiles. The Security application manages the following groups:

The Storage Manager

With the Storage Manager you can perform administrative tasks associated with managing database storage. These tasks include managing tablespaces and rollback segments, and adding and renaming datafiles. You can also launch other database tools and utilities from the application. The Storage Manager manages the following groups:

SQL Worksheets

A SQL Worksheet allows you to dynamically enter SQL statements, PL/SQL code, and Oracle Enterprise Manager DBA commands. You can also run scripts from a SQL Worksheet.

A SQL Worksheet maintains a history of the commands you have entered. Thus, you can use the SQL Worksheet to edit and re-execute an earlier command without having to retype it.

You can have multiple SQL Worksheets open at a time, each of which is separate from the others. So, you can commit or roll back work in each worksheet independently.

The Backup Manager

With the Backup Manager you can perform tablespace backups and create backup scripts guided by a backup wizard. You can also administer redo logs. The Backup Manager manages the following groups:

Export

The Export utility allows you to export data from an Oracle database. The exported data is written to an operating system file in Oracle-binary format and can only be read by the Import utility. Export files can be used to transfer data between databases or used as backups. The Export utility provides dialog boxes that allow you to define how the data is exported.

Import

The Import utility allows you to import data to an Oracle database. Import can only read data that has been created with the Export utility. The Import utility provides dialog boxes that allow you to define how the data is imported.

The Recovery Manager

With the Recovery Manager you can recover or restore a database. You can also administer redo logs and online tablespace backups. The Recovery Manager manages the following groups:

Application Menus

Database tools and utilities applications include four main pull-down menus in the menu bar:

The applications include other menus that are specific to the groups that the application manages. For example, the Security Manager provides the User, Profile, and Role menus in addition to the standard menus.

When a menu item is dimmed, it is not currently available. Menu items that end with an ellipsis (...) indicate that you will be asked to enter more information to complete the command.

File Menu

The File menu items allow you to open or close application windows and create new connections. The File menu includes:

Change Database Connection Displays the Connect dialog box to connect to an instance and open a window for that database. See "Connecting to an Instance" [*]. To connect to multiple databases concurrently, you need to launch the application multiple times from the console.
Enable Roles Allows you to select a role from the multi-column list of available roles.
Exit Exits the application.

View Menu

The View menu allows you to show or hide objects, such as the toolbar or status line, and expand, collapse, or refresh the tree list..

Refresh Refreshes the tree list. This command is useful when other database administrators are making changes to the objects you are viewing, or when you are making changes in a different window, such as a SQL Worksheet.
Filter Folder Filters the tree list based on criteria you choose. This allows you to display only the objects that match the criteria.
Expand One Level Opens and displays the next level of items contained in the selected objects in the tree.
Expanding a container can be delayed because the objects displayed in the listing are often queries on remote databases.
Collapse Branch Closes the selected container in the tree list.
Collapse All Closes all open containers in the tree list.
Toolbar Shows or hides the toolbar.
Status bar Shows or hides the status bar.

Log Menu

The Log menu options allow you to record and save the SQL statements that you have executed. When you save the statements to a file, you can also choose to schedule a job using the file on multiple databases. This feature provides the ability to perform identical actions on multiple databases without having to enter each SQL statement over again. If the databases are not identical, you can simply edit the SQL statements in the file before running the file on a database.

Record Start recording the SQL statements that are executed through the application.
Stop Stop recording SQL statements. A dialog displays for you to save the recorded statements in a file.
Enter a filename.
Schedule a job that would run the file of SQL statements.
Pause Pause the recording of statements while you execute actions that you do not want recorded.

Help Menu

From the Help menu, you can access the Oracle Enterprise Manager online Help system. For more information about Oracle Enterprise Manager online Help system, see "Using Online Help" [*].

Contents Displays the overview page for Oracle Enterprise Manager help.
Search for help on Displays a search dialog box. You can either search by index or key word.
Using Help Displays a dialog box containing information about the Help system. See "Using Online Help" [*] for information about the Help dialog box.
About Application Displays a dialog box containing version information about the application.

Additional Menus

Most database tool and utility applications include pull-down menus that contain the commands available for specific groups. The menu titles usually match the names of the groups. For example, the Security application provides the User, Profile, and Role menus.

Some of the menu commands, such as Drop, require that you select an individual object first. These commands are unavailable until you select an appropriate object. Unavailable commands are represented by dimmed menu items. Other menu items, such as Create, do not require an object selection and are never dimmed.

A menu item can be dimmed even when an object is selected because the command does not apply to that particular object. For example, you cannot drop an object type group, such as the Users group.

Some menu items are followed by an ellipsis (...). This indicates that to complete the command, the application prompts you for more information with a dialog box or property sheet.

Context-Sensitive Menus

Context-sensitive menus may also be provided when you select an tree list object or item in the multi-column list with the right mouse button. This feature provides quick access to a subset of the menu options provided in the menu bars. Normally, objects in an application tree list (or the console Navigator) and objects in a multi-column list have associated context-sensitive menus.

For detailed information about the application menus, see the chapters on the specific applications.

Multi-Column Lists

A multi-column list displays when a group container, such as a Users group, is selected. Each row in the list provides a quick view of summary information about an object in the selected container. Additionally, you can select and alter items through their respective property sheets.

Note: If an object has a property sheet, display the property sheet if you want more detailed information. See page 7 - 12 for information on property sheets.

The location of a group container determines the columns that are displayed in the list. For example, the Roles group that is a main branch of the database container displays different columns than a Roles group under a user.

By default, the objects are sorted on the first column. You can sort a list on any column by clicking on the column heading. The column heading appears in bold to indicate that the list is sorted on that column.

If the list is longer than the its window display area, you can use the vertical scroll bar at the side of list to scroll to the first or last row. You can also resize the application window to make the window display area taller.

If the list is wider than its window display area, you can use the horizontal scroll bar at the bottom of the list to scroll to the first or last column. You can also resize the application window or drag the splitter bar in the window to widen the right side of the window that contains the multi-column list.

An example of a multi-column list is shown in Figure 7 - 2.

Figure 7 - 2. Multi-column List

Dialog Boxes

Dialog boxes allow you to make selections, enter information, or confirm actions.

You exit a dialog box by clicking a button. In many cases, you first enter field values, or choose options from pop-up menus or buttons, before you exit. An example of a dialog box is shown in Figure 7 - 3.

Figure 7 - 3. Dialog Box

The boxes generally contain one or more of the following command buttons:

OK Executes the action button that was specified and closes the dialog box. The name of this button may vary.
Cancel Cancels any changes made and closes the dialog box.
Apply Implements any changes made to the dialog box.
SQL Opens or closes the SQL window to show or hide the SQL statements that are used to execute commands.
Help Displays online Help about the dialog box.

Property Sheets

A property sheet is a dialog box used to specify options when you are creating or altering a composite instance, such as a user or tablespace. A property sheet consists of one or more pages that are labeled with page tabs. By default, one page is open when the sheet is entered, but all pages show page tabs. To access another page, click its page tab.

When a composite instance is selected in the tree list on the left side of an application window, the Alter property sheet that is associated with the object is usually displayed on the right side of the window. The properties available for each sheet are specific to the group type. An example of an Alter property sheet for a user is shown in Figure 7 - 4.

Figure 7 - 4. Property Sheet

The property sheets generally contain the following command buttons:

Apply Implements an action specified in the property sheet. Apply would save any changes made to the Alter property sheet and Create would create a new the object specified by the Create property sheet.
Note: The action button saves all changes contained in the property sheet, not just those in the current page.

Revert Cancels any changes made to the property sheet and resets the fields to previously saved values.
SQL Opens or closes the SQL window to show or hide the SQL statements that are used to execute commands.
Help Displays online Help about the property sheet.

Starting an Application

To start an application, click its icon in the Launch Palette or select its name from the Launch menu in the Oracle Enterprise Manager Console.

Note: You can change the database connection with the Change Database Connection option in the application File menu.

After a successful connection to a database, a tree list of objects managed by the application display on the left side of the application window. The display on the right side of the window is determined by the object selected in the tree list. A multi-column list, property sheet, or other information displays.

For example, after the Security application completes a connection to a database, the Users, Profiles, and Roles groups display under the database container in a tree list on the left side of the Security window. The Users, Profiles, and Roles groups can be expanded to show the objects they contain. An example of an application window with an expanded tree list is shown in Figure 7 - 1.


Contents Index Home Previous Next

<Oracle Enterprise Manager Concepts GuideOracle Enterprise Manager Concepts Guide