BC remote Oracle DBA - Call (800) 766-1884
Free Oracle Tips

Oracle Consulting Oracle Training Development
Oracle Training
SQL Tuning Consulting
Oracle Tuning Consulting
Data Warehouse Consulting
Oracle Project Management
Oracle Security Assessment
Unix Consulting
Burleson Books
Burleson Articles
Burleson Web Courses
Burleson Qualifications
Oracle Internals Magazine
Oracle Links
Oracle Monitoring
Remote Support Benefits
Remote Plans & Prices
Our Automation Strategy
What We Monitor
Oracle Apps Support
Print Our Brochure
Contact Us (e-mail)
Oracle Job Opportunities
Oracle Consulting Prices





   

 

 

 

 

 

Oracle Managing Database Control

Oracle Tips by Burleson Consulting

This is an excerpt from "Oracle 10g New Features for Administrators" by Ahmed Baraka.

Important EM Agent Directories

When you install Oracle Database 10g, a set of directories and files related to Enterprise Manager is created in the Oracle Home directory:

• emca and emctl utilities are installed in the ORACLE_HOME/bin

• Files that are shared among all instances of the database are stored in   ORACLE_HOME/sysman

• Files that are unique to each instance of the database are stored in   ORACLE_HOME/hostname_sid/

• The log files for the Management Agent for that instance are installed in   ORACLE_HOME/hostname_sid/sysman/log/

• The files required to deploy the Database Control application are installed in the
  ORACLE_HOME/oc4j/j2ee directory structure.

• The emd.properties and emoms.properties files store agent run-time parameters, and   targets.xml lists the configured targets.

Configuring Database Control

You can use the operating system command line to configure Database Control. You can use Enterprise Manager Configuration Assistant (EMCA) to perform the following tasks:

• specify the automatic daily backup options.
 
emca -backup

• add or remove the Enterprise Manager configuration, including the management   repository.

emca –config dbcontrol db [–repos
create|recreate]
emca -deconfig dbcontrol db [–repos drop]

• reconfigure the default ports used by Enterprise Manager
emca -reconfig ports -DBCONTROL_HTTP_PORT
5500

Viewing Database Feature Usage Statistics - The Statistics Collection Process

Oracle Database 10g introduces a new database process called Manageability Monitor Process (MMON), which records both the database usage statistics and the HWM statistics for various objects.

MMON process is primarily responsible for:

o issuing database alerts
o collecting statistics
o taking snapshots of data into disks

MMON records the various statistics inside the Automatic Workload Repository (AWR), which is a new Oracle Database 10g innovation that stores database performance data.

The related views are:

o DBA_FEATURE_USAGE_STATISTICS to find out the usage statistics    of various features that MMON has stored in the AWR.

o DBA_HIGH_WATER_MARK_STATISTICS to see the HWM statistics    and a description of all the database attributes that the database is    currently monitoring.

Database Usage Statistics in the OEM

Following are the steps to view database usage statistics in the OEM Database Control:

1. Go the Database Control home page. Click the Administration link and go to the Configuration Management group (in release 2 it is named as Database Configuration). Click the Database Usage Statistics link.

Supported Upgrade Paths to Oracle 10g

You can migrate directly to the Oracle Database 10g version only if your database is one of the following versions: 8.0.6, 8.1.7, 9.0.1, or 9.2.

You can upgrade to Oracle Database 10g in two ways:

• the traditional manual mode

• by using the Database Upgrade Assistant (DBUA)

Note: The DBUA is a GUI tool, but you can also run it in the silent mode, by using the following command at the operating system level: dbua

Using New Utility to Perform Pre-Upgrade Validation Checks

Oracle now includes a brand-new tool, called the Upgrade Information Tool, to help you collect various pieces of critical information before you start the upgrade process.

The Upgrade Information Tool provides important information and actions you should do before upgrading the existing database.

If you are performing a manual upgrade, you need to invoke the tool by running the SQL script utlu10*i.sql.  The DBCA automatically runs it as part of the preupgrade check.

Note: In Oracle 10g Release 2, the Pre-Upgrade Information Utility (utlu102i.sql) has been enhanced to provide improved resource estimations for tablespace space usage and elapsed upgrade runtime.

The Post-Upgrade Status Tool

Oracle Database 10g also provides a Post-Upgrade Status Tool (utlu10*s.sql), which gives you an accurate summary of the upgrade process and any necessary corrective steps to be taken.

You can restart a failed database upgrade job from the point where you failed.

If you use the DBUA to upgrade, the script runs automatically. If you are performing a manual upgrade, you need to run the script yourself, after the upgrade process is finished.

Using the Simplified Upgrade Process

Oracle provides the DBUA to facilitate the database upgrade process. You can use the DBUA to upgrade any database configuration, including RAC and standby databases.

The DBUA takes care of the following tasks for you:

• Deletes all obsolete initialization parameters

• Changes the ORACLE_HOME settings automatically

• Runs the appropriate upgrade scripts for your current release

• Configures your listener.ora file

Starting DBUA

On Windows: Programs | Oracle | Configuration and Migration Tools | Database Upgrade Assistant.

On a UNIX system: simply type dbua

Silent startup: dbua -silent –dbName nina

 

If you like Oracle tuning, see the book "Oracle Tuning: The Definitive Reference", with 950 pages of tuning tips and scripts. 

You can buy it direct from the publisher for 30%-off and get instant access to the code depot of Oracle tuning scripts.


Download your Oracle scripts now:

www.oracle-script.com

The definitive Oracle Script collection for every Oracle professional DBA

 

 


 

Free Oracle dictionary reference poster

BC Oracle support

Oracle books by Rampant

Oracle monitoring software

North Carolina Oracle Users Group

 

 Arabian horse breeder

Seeing eye horses

 

 

BC Remote Oracle Support
P.O. Box 511 • Kittrell, NC, 27544

Copyright © 2007 by Burleson Enterprises, Inc. All rights reserved.

Hit Counter