Vous êtes sur la page 1sur 19

Using Oracle Enterprise Manager Database Control and SQL*Plus

Copyright 2005, Oracle. All rights reserved.

Objectives

After completing this lesson, you should be able to do the following: Start the Enterprise Manager dbconsole process Access Enterprise Manager Database Control Navigate in Enterprise Manager Database Control Grant Enterprise Manager administrative privileges Use SQL*Plus and iSQL*Plus to access your database

3-2

Copyright 2005, Oracle. All rights reserved.

Oracle Enterprise Manager Database Control: Overview


Oracle Enterprise Manager Database Control provides a wide array of management capabilities, including: Database monitoring Administration Maintenance features

3-3

Copyright 2005, Oracle. All rights reserved.

Management Framework
Grid Control

Management server

Management repository Managed targets

Agent

Agent

Agent

Database Control

Database

OS/third-party application

Application server

Application Server Control

3-4

Copyright 2005, Oracle. All rights reserved.

Starting the Enterprise Manager dbconsole Process

3-5

Copyright 2005, Oracle. All rights reserved.

Accessing Enterprise Manager Database Control

http://hostname:5500/em

3-7

Copyright 2005, Oracle. All rights reserved.

Enterprise Manager Database Control: Login Page

3-8

Copyright 2005, Oracle. All rights reserved.

Enterprise Manager: Database Home Page

Property pages

3-9

Copyright 2005, Oracle. All rights reserved.

Enterprise Manager Navigation


Property pages: Organize management tasks

Drill-down links: Provide increasing levels of detail

Suggested related links: Provide more information

3-10

Copyright 2005, Oracle. All rights reserved.

Granting Enterprise Manager Administrative Privileges


Select Setup > Administrators on the Database Home page.

Select an existing database user to assign management privileges to.

3-11

Copyright 2005, Oracle. All rights reserved.

Configuring Enterprise Manager Settings and Preferences


You can configure the following settings and preferences in Enterprise Manager to manage the database: Notifications
Notification methods

Blackouts Preferred credentials

3-12

Copyright 2005, Oracle. All rights reserved.

Defining Blackout Time Periods

Blackouts enable you to suspend monitoring on one or more targets to perform maintenance operations. Define blackout time periods to prevent alert notifications from being sent when you are shutting down your database for maintenance.

3-13

Copyright 2005, Oracle. All rights reserved.

Setting Preferred Credentials

Configure host and database login information so that it is automatically supplied for jobs.

3-14

Copyright 2005, Oracle. All rights reserved.

Using SQL*Plus and iSQL*Plus to Access Your Database


SQL*Plus and iSQL*Plus provide a command-line interface to your database, thereby enabling you to: Perform database management operations Execute SQL commands to query, insert, update, and delete data in your database

3-15

Copyright 2005, Oracle. All rights reserved.

Using SQL*Plus

SQL*Plus provides a command-line interface to your database. SQL*Plus can be used interactively or in batch mode.

SQL> connect / as sysdba Connected. SQL> SELECT * FROM hr.regions; REGION_ID ---------1 2 3 4 SQL>
3-16

REGION_NAME ------------------------Europe Americas Asia Middle East and Africa

Copyright 2005, Oracle. All rights reserved.

Using iSQL*Plus

3-17

Copyright 2005, Oracle. All rights reserved.

MetaLink Integration

Enterprise Manager automatically alerts users to new critical patches. The Enterprise Manager patch wizard can be used to select an interim patch. Review the README patch directly from Enterprise Manager. Download the selected patches from MetaLink to the Enterprise Manager patch cache.

3-19

Copyright 2005, Oracle. All rights reserved.

Summary

In this lesson, you should have learned how to: Start the Enterprise Manager dbconsole process Access Enterprise Manager Database Control Navigate in Enterprise Manager Database Control Grant Enterprise Manager administrative privileges Use SQL*Plus and iSQL*Plus to access your database

3-20

Copyright 2005, Oracle. All rights reserved.

Practice 3: Overview

This practice covers the following topics: Checking the status of the dbconsole process Navigating in Enterprise Manager Database Control

3-21

Copyright 2005, Oracle. All rights reserved.

Vous aimerez peut-être aussi