Академический Документы
Профессиональный Документы
Культура Документы
Overview
This course is designed to introduce you to the new features of Oracle Database 11g that are
applicable to the work usually performed by database administrators and related personnel.
The course does not attempt to provide every detail about a feature or cover aspects of a
feature that were available in previous releases (except when defining the context for a new
feature or comparing past behavior with current behavior). Consequently, the course is most
useful to you if you have already administered other versions of Oracle databases, particularly
Oracle Database 10g. Even with this background, you should not expect to be able to
implement all of the features discussed in the course without supplemental reading, especially
the Oracle Database 11g documentation.
The course consists of instructor-led lessons and demonstrations, plus many hands-on
practices that allow you to see for yourself how certain new features behave. As with the
course content in general, these practices are designed to introduce you to the fundamental
aspects of a feature. They are not intended to test your knowledge of unfamiliar syntax or to
provide an opportunity for you to examine every nuance of a new feature. The length of this
course precludes such activity. Consequently, you are strongly encouraged to use the provided
scripts to complete the practices rather than struggle with unfamiliar syntax.
Audit Vault
30 years of Database Vault
sustained Grid Computing
Self Managing Database
innovation… XML Database
Oracle Data Guard
Real Application Clusters
Flashback Query
Virtual Private Database
Built in Java VM
Partitioning Support
Built in Messaging
Object Relational Support
Multimedia Support
Data Warehousing Optimizations
Parallel Operations
Distributed SQL & Transaction Support
Cluster and MPP Support
… continuing with
Multi-version Read Consistency
Client/Server Support
Platform Portability
Oracle Database 11g
Commercial SQL Implementation
“Oracle customers are highly satisfied with its Real Application Clusters
and Automatic Storage Management when pursuing scale-out
strategies.”
Mark Beyer, Gartner December 2006
Customer Testimonials
Managing service level objectives is an ongoing challenge. Users expect fast, secure access to
business applications 24x7, and Information Technology managers have to deliver without
increasing costs and resources. The manageability features in Oracle Database 11g are
designed to help organizations easily manage Infrastructure Grids and deliver on their users’
service level expectations. Oracle Database 11g introduces more self-management,
automation and advisors that help reduce management costs, while increasing the
performance, scalability and security of their business applications around the clock.
• Manageability
• Availability
• Performance
• Business Intelligence and Data Warehousing
• Security
• Information Management
– Content Management
– XML
– Oracle Text
– Spatial
– Multimedia and Medical Imaging
• Application Development
– PL/SQL
– .NET
– PHP
– SQL Developer
Auto-Tuning
Advisory
Instrumentation
Recovery
Replication
Memory
Schema
RAC
Apps/SQL
Backup
Storage
Management Automation
Oracle Database 11g continues the effort begun in Oracle9i and carried on through Oracle
Database 10g to dramatically simplify and ultimately fully automate the tasks that DBAs need
to perform. New in Oracle Database 11g is Automatic SQL Tuning with self-learning
capabilities. Other new capabilities include automatic, unified tuning of both SGA and PGA
memory buffers and new advisors for partitioning, database repair, streams performance, and
space management. Enhancements to the Oracle Automatic Database Diagnostic Monitor
(ADDM) give it a better global view of performance in Oracle Real Application Clusters
(RAC) environments and improved comparative performance analysis capabilities.
Manage Storage 2 1
Miscellaneous 16 5
Suggested Schedule
The lessons in this guide are arranged in the order you will probably study them in class. The
lessons are grouped into topic areas, but they are also organized by other criteria, including
the following:
• A feature is introduced in an early lesson and then referenced in later lessons.
• Topics alternate between difficult and easy to facilitate learning.
• Lessons are supplemented with hands-on practices throughout the course to provide
regular opportunities for students to explore what they are learning.
If your instructor teaches the class in the sequence in which the lessons are printed in this
guide, then the class should run approximately as shown in the schedule. Your instructor may
vary the order of the lessons, however, for a number of valid reasons. These include:
• Customizing material for a specific audience
• Covering a topic in a single day instead of splitting the material across two days
• Maximizing the use of course resources (such as hardware and software)
Simplified Upgrade
Startup Upgrade
STARTUP UPGRADE enables you to open a database based on an earlier Oracle Database
release. It also restricts logons to AS SYSDBA sessions, disables system triggers, and performs
additional operations that prepare the environment for the upgrade (some of which are listed on
the slide).
Prepare to Upgrade
Before you upgrade your database, you should perform the following steps:
1. Become familiar with the features of Oracle Database 11g release 1 (11.1).
2. Determine the upgrade path to the new release.
3. Choose an upgrade method.
4. Choose an Oracle home directory for the new release.
5. Prepare a backup and recovery strategy
6. Develop a testing plan.
• Advantages
– Automates all tasks
– Performs both Release and Patch set upgrades
– Supports RAC, Single Instance and ASM
– Informs user and fixes upgrade prerequisites
– Automatically reports errors found in spool logs
– Provides complete HTML report of the upgrade process
– Command line interface allows ISVs to automate
• Disadvantages
– Offers less control over individual upgrade steps
• Advantages
– The DBA controls every step of the upgrade process
• Disadvantages
– More work
– Manually run utlu111s.sql to check for errors
– More error prone
– Harder to automate
Note: catuppst.sql is the post-upgrade script that performs remaining upgrade actions that
do not require that the database be open in UPGRADE mode. It can be run at the same time
utlrp.sql is being run.
• Upgrade Scripts
– Runs all necessary scripts to perform the upgrade
• Progress
– Displays upgrade progress at a component level
• Configuration Checks
– Automatically makes appropriate adjustments to
initialization parameters
– Checks for adequate resources such as SYSTEM
tablespace size, rollback segments size, redo log size
– Checks disk space for auto extended datafiles
– Creates mandatory SYSAUX tablespace
– Space Usage summary in SpaceUsage.txt
• Recoverability
– Performs a backup of the database before upgrade
– If needed can restore the database after upgrade
• Pre-Upgrade Summary
– Prior to upgrade provides summary of all actions to be
taken
– Wizard warns user about any issues found
– Provides space analysis information for backup
– Applies required changes to network configuration files
• Configuration files
– Creates init.ora and spfile in new ORACLE_HOME
– Updates network configurations
– Uses OFA compliant locations
– Updates database information on Oracle Internet
Directory
• Oracle Enterprise Manager
– Allows you to setup and configure EM DB Control
– Allows you to register database with EM Grid Control
– If EM is in use upgrades EM repository and makes
necessary configuration changes
• Logging and tracing
– Writes detailed trace and logging files
(ORACLE_BASE/cfgtoollogs/dbua/<sid>/upgradeNN)
• Post-Upgrade Scripts
– ISVs can customize DBUA to run their upgrade scripts
• XML Driven
– XML files drive the DBUA engine
– Created by Pre-Upgrade Information Tool & Post-Upgrade
Status Tool
• Initialization Parameter Changes
– Accepts initialization parameters overrides from user
— dbua –initParam param1=value1,param2=value2
• Silent mode provides single command upgrade
– dbua –silent –sid ora9idb [-backup <location>]
• HTML Report
– Displays results of upgrade process
– Provides Post-Upgrade database information such as
Version and ORACLE_HOME
• Component Level Results
– Reports on the success / failure of each component
– Provides a report on errors or warnings categorized per
component
• Allows DBA to unlock new database users
• Allows DBA to restore the original database