Sie sind auf Seite 1von 20

Oracle Database 11g: New Features for Administrators

Volume I Student Guide

D50081GC21 Edition 2.1 October 2009 D63697

Authors
Christian Bauwens Maria Billings Mark Fuller Peter Fusek Richard Green Christine Jeal Donna Keesling Deidre Matishak James Spiller Jenny Tsai Jean-Francois Verrier James Womack Marcie Young

Copyright 2009, Oracle. All rights reserved. Disclaimer This document contains proprietary information and is protected by copyright and other intellectual property laws. You may copy and print this document solely for your own use in an Oracle training course. The document may not be modified or altered in any way. Except where your use constitutes "fair use" under copyright law, you may not use, share, download, upload, copy, print, display, perform, reproduce, publish, license, post, transmit, or distribute this document in whole or in part without the express authorization of Oracle. The information contained in this document is subject to change without notice. If you find any problems in the document, please report them in writing to: Oracle University, 500 Oracle Parkway, Redwood Shores, California 94065 USA. This document is not warranted to be error-free. Restricted Rights Notice

Technical Contributors and Reviewers


Maqsood Alam Kalyan Bitra John Boyle Harald Van Breederode Sharath Bhujani Immanuel Chan Timothy Chien Edward Choi Jacco Draaijer Al Flournoy Steve Fogel Andy Fortunak Gerlinde Frenzen Greg Gagnon GP Gongloor Joel Goodman Hansen Han Uwe Hesse Sunil Hingorani Magnus Isaksson Susan Jang Martin Jensen Dominique Jeunot Pete Jones Yash Kapani Pierre Labrousse Richard.W.Lewis Hakan Lindfors Russ Lowenthal Kurt Lysy Isabelle Marchand Silvia Marrone Heejin Park Srinivas Putrevu Jagannath Poosarla Surya Rekha Tim Shetler Eric Siglin Ranbir Singh Jeff Skochil George Spears Kesavan Srinivasan Birgitte Taagholt Glenn Tripp Branislav Valny Anthony Woodell

If this documentation is delivered to the United States Government or anyone using the documentation on behalf of the United States Government, the following notice is applicable: U.S. GOVERNMENT RIGHTS The U.S. Governments rights to use, modify, reproduce, release, perform, display, or disclose these training materials are restricted by the terms of the applicable Oracle license agreement and/or the applicable U.S. Government contract. Trademark Notice Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Editors
Aju Kumar Amitha Narayan

Publishers
Sujatha Nagendra Michael Sebastian Almeida Jobi Varghese

Contents

Introduction Overview I-2 Oracle Database Innovation I-3 Enterprise Grid Computing I-4 Oracle Database 11g: Focus Areas I-5 Management Automation I-7 Self-Managing Database: The Next Generation I-8 Suggested Additional Courses I-9 Further Information I-10 Suggested Schedule I-11 Oracle Grid Infrastructure Objectives 1-2 Oracle Grid Infrastructure 1-3 Automatic Storage Management Technology Stack 1-4 Oracle Grid Infrastructure and Oracle Database Installation: System Requirements 1-5 Preparing the Operating System 1-6 Setting Environment Variables 1-7 Checking the System Requirements 1-8 Defining Ownership of OS Devices for ASM 1-9 Installation Scenario 1-10 Part One: Installing the Oracle Grid Infrastructure for Stand-Alone Server 1-11 Selecting Product Languages 1-12 Creating an ASM Disk Group 1-13 Defining ASM Passwords 1-14 Defining Privileged Operating System Groups 1-15 Specifying Installation Location 1-16 Creating Inventory 1-17 Performing Prerequisite Checks 1-18 Verifying Installation Summary Data 1-19 Monitoring Installation Progress 1-20 Executing root Configuration Scripts 1-21 Executing Configuration Assistants 1-22 Finishing the Installation 1-23

iii

Configuring the FRA Disk Group 1-24 Oracle Local Registry 1-25 Quiz 1-27 Practice 1-1: Overview 1-28 ASM Files and Volumes 1-29 ASM Dynamic Volume Manager (ADVM) Concepts 1-30 ASM Dynamic Volume Striping 1-31 ADVM Restrictions 1-32 Creating an ASM Dynamic Volume 1-33 Managing ASM Dynamic Volumes 1-35 Using SQL to Manage ASM Dynamic Volumes 1-36 Extending ASMCMD for ASM Dynamic Volumes 1-38 ASM Cluster File System (ACFS) 1-39 ACFS Architecture 1-40 Using Enterprise Manager to Manage ACFS 1-41 Linux/UNIX File System APIs 1-42 Linux/UNIX Extensions 1-43 Windows File System APIs 1-44 Windows Extensions 1-45 ACFS Platform-Independent Commands 1-46 ASM Cluster File System Limitations 1-47 Creating an ASM Cluster File System 1-48 ACFS Snapshots 1-49 Administering Oracle ACFS Snapshots 1-50 Quiz 1-51 Summary 1-52 Practice 1-2: Overview 1-53 2 Installation Enhancements Objectives 2-2 Oracle Database 11g Installation: Changes 2-3 Part Two: Installing the Oracle Database Software 2-6 Choosing the Type of Installation 2-7 Choosing Grid Installation Options 2-8 Choosing Language Settings 2-9 Choosing the Database Edition 2-10 Specifying Installation Location 2-11 Choosing Operating System Groups 2-12 Performing Prerequisite Checks 2-13 Installation Summary Page 2-14 Install Product Page 2-15
iv

Installation Finish Page 2-16 Quiz 2-17 Practice 2-1: Overview 2-18 Oracle Database 11g Release 2 Upgrade Paths 2-19 Deprecated Features in Oracle Database 11g Release 1 and Release 2 2-20 Initialization Parameter Information 2-21 Practice 2-2: Overview 2-23 Practice 2-3: Overview 2-24 Direct NFS Client: Overview 2-25 Direct NFS Configuration 2-27 Monitoring Direct NFS 2-29 Online Patching: Overview 2-30 Installing an Online Patch 2-31 Benefits of Online Patching 2-32 Conventional Patching and Online Patching 2-33 Online Patching Considerations 2-34 Quiz 2-36 Summary 2-37 Practice 2-4: Overview 2-38 3 Oracle Restart Objectives 3-2 Oracle Restart 3-3 Oracle Restart Process Startup 3-5 Controlling Oracle Restart 3-6 Choosing the Correct SRVCTL Utility 3-8 Oracle Restart Configuration 3-9 Using the SRVCTL Utility 3-10 Obtaining Help for the SRVCTL Utility 3-11 Starting Components by Using the SRVCTL Utility 3-12 Stopping Components by Using the SRVCTL Utility 3-13 Viewing Component Status 3-14 Displaying the Oracle Restart Configuration for a Component 3-15 Manually Adding Components to the Oracle Restart Configuration 3-16 Quiz 3-17 Summary 3-18 Practice 3-1: Overview 3-19 ASM Enhancements Objectives 4-2 Without ASM Fast Mirror Resync 4-3
v

ASM Fast Mirror Resync: Overview 4-4 Using Enterprise Manager to Perform Fast Mirror Resync 4-5 Setting Up ASM Fast Mirror Resync 4-7 ASM Preferred Mirror Read: Overview 4-9 ASM Preferred Mirror Read: Setup 4-10 Enterprise Manager ASM Configuration Page 4-11 ASM Preferred Mirror Read: Best Practice 4-12 Quiz 4-13 ASM Scalability and Performance Enhancements 4-14 ASM Scalability in Oracle Database 11g 4-16 SYSASM Privilege 4-17 Using Enterprise Manager to Manage ASM Users 4-18 ASM Disk Group Compatibility 4-19 ASM Disk Group Attributes 4-21 Using Enterprise Manager to Edit Disk Group Attributes 4-22 Enhanced Disk Group Checks 4-23 Restricted Mount Disk Group for Fast Rebalance 4-24 Mount Force Disk Group 4-25 Forcing Disk Group Drop 4-27 ASMCMD Extensions in Oracle Database 11g Release 1 4-28 ASMCMD Command Extensions 4-30 ASMCMD Extensions: Example 4-31 Quiz 4-32 ASM ACLs 4-33 ASM ACLs Prerequisites 4-34 Managing ASM ACLs by Using SQL Commands 4-36 Managing ASM ACLs by Using SMCMD Commands 4-37 Managing ASM ACLs by Using Enterprise Manager 4-38 ASM Intelligent Data Placement 4-40 Managing ASM Intelligent Data Placement Examples 4-41 Managing ASM Intelligent Data Placement 4-42 ASM Intelligent Data Placement Best Practices 4-44 Viewing ASM Intelligent Data Placement Information 4-45 Quiz 4-47 Summary 4-48 Practice 4: Overview 4-49 5 Storage Enhancements Objectives 5-2 Supporting 4 KB Sector Disks 5-3

vi

Using 4 KB Sector Disks 5-4 Specifying the Disk Sector Size 5-5 Using the SECTOR_SIZE Clause 5-6 Creating a Database with 4 KB Sector Disks 5-7 Specifying BLOCKSIZE 5-8 Determining Your Log File Block Size 5-9 Performing an Offline Migration to 4 KB Disks 5-10 Quiz 5-12 Table Compression: Overview 5-13 Table Compression Concepts 5-14 Compressing Table Data 5-15 Using OLTP Compression 5-17 Using the Compression Advisor 5-18 Viewing Table Compression Information 5-19 SQL Access Advisor: Overview 5-20 SQL Access Advisor: Usage Model 5-21 Possible Recommendations 5-22 Using SQL Access Advisor 5-23 SQL Access Advisor: PL/SQL Procedure Flow 5-24 SQL Access Advisor: PL/SQL Example 5-25 Temporary Tablespace Shrink 5-26 DBA_TEMP_FREE_SPACE 5-27 Tablespace Option for Creating Temporary Table 5-28 Segment Creation on Demand 5-29 Creating Tables Without Segments 5-30 Controlling Deferred Segment Creation 5-31 Restrictions and Exceptions 5-32 Additional Automatic Functionality 5-33 Quiz 5-34 Summary 5-35 Practice 5: Overview 5-36 6 Data Warehouse and Partitioning Enhancements Objectives 6-2 Preprocessing Data for ORACLE_LOADER Access Driver in External Tables 6-3 Windows Example 6-4 Example of Preprocessing 6-5 EXECUTE Privilege for Directory Objects 6-7 Security Implications 6-8 Securing the ORACLE_LOADER Access Driver 6-10

vii

Considerations and Usage Notes 6-12 Quiz 6-13 Review: Degree of Parallelism (DOP) 6-14 Review: PARALLEL Clause 6-16 Goal: Simplifying Parallel Execution 6-17 Automatic Degree Of Parallelism Determination 6-18 Summary of Changes to Parameters 6-19 Using PARALLEL_MIN_TIME_THRESHOLD 6-20 Using PARALLEL_DEGREE_POLICY 6-21 Using PARALLEL_DEGREE_LIMIT 6-23 Using PARALLEL_FORCE_LOCAL 6-25 Changes to Existing Parameters 6-26 Parallel Hints Are Now at the Statement Level 6-27 Implication of Statement-Level Parallel Hints 6-28 EXPLAIN PLAN Enhancements 6-29 Enhanced Explain Plan Example 6-30 In-Memory Parallel Query 6-31 Quiz 6-32 Oracle Partitioning 6-33 Partitioning Enhancements 6-34 Interval Partitioning 6-35 Interval Partitioning: Example 6-36 Moving the Transition Point: Example 6-37 System Partitioning 6-39 System Partitioning: Example 6-40 System Partitioning: Guidelines 6-41 System-Managed Indexes for List Partitioning 6-42 Virtual ColumnBased Partitioning 6-43 Virtual ColumnBased Partitioning: Example 6-44 Reference Partitioning 6-45 Reference Partitioning: Benefit 6-46 Reference Partitioning: Example 6-47 Composite Partitioning Enhancements 6-48 Range-Range Partitioning: Example 6-49 Summary 6-50 Practice 6: Overview 6-51 7 Oracle SecureFiles Objectives 7-2 Managing Enterprise Information 7-3

viii

Issues with Existing LOB Implementation 7-4 Oracle SecureFiles 7-5 Enabling SecureFiles Storage 7-6 SecureFiles: Storage Options 7-7 SecureFiles: Advanced Features 7-8 Creating SecureFiles 7-9 Creating SecureFiles Using Enterprise Manager 7-10 Shared I/O Pool 7-11 Altering SecureFiles 7-12 Quiz 7-13 What Is SecureFile Compression? 7-14 Compression Modes 7-15 Creating a SecureFile LOB with LOW Compression 7-16 Configuration Parameters 7-17 Quiz 7-18 Accessing SecureFiles Metadata 7-19 Migrating to SecureFiles 7-20 SecureFiles Migration: Example 7-21 SecureFiles Monitoring 7-22 Summary 7-23 Practice 7: Overview 7-24 8 Security and Networking Enhancements Objectives 8-2 Secure Password Support 8-3 Automatic Secure Configuration 8-4 Password Configuration 8-5 Enable Built-in Password Complexity Checker 8-6 Managing Default Audits 8-7 Audited Privileges 8-8 Setting Security Parameters 8-9 Setting Database Administrator Authentication 8-11 Quiz 8-12 Transparent Data Encryption 8-13 Hardware Security Module 8-14 Using Tablespace Encryption 8-15 Tablespace Encryption New Features 8-16 Tablespace Master Key Re-Key 8-17 Quiz 8-18 Enterprise Manager Security Management 8-19 Using RMAN Security Enhancements 8-20
ix

Managing Fine-Grained Access to External Network Services 8-21 Supporting IPv6 Address Notification 8-23 Connecting to the Oracle Database 8-24 IPv6 Supported in Java Interfaces 8-25 Summary 8-26 Practice 8: Overview 8-27 9 SQL Performance Analyzer Objectives 9-2 Challenges Faced by DBAs When Performing Changes 9-3 Change Is the Only Constant 9-4 Change Management in Oracle Database 11g 9-5 Lifecycle of Change Management 9-6 SQL Performance Analyzer: Overview 9-8 SQL Performance Analyzer: Use Cases 9-9 Using SQL Performance Analyzer 9-10 Step 1: Capture SQL Workload 9-11 Step 2: Transport to a Test System 9-12 Step 3: Build Before Change Performance Data 9-13 Step 4: Implement Planned Change and Step 5: Build After-Change Performance Data 9-14 Step 6: Compare and Analyze Performance and Step 7: Tune Regressed SQL 9-15 Quiz 9-16 Accessing SQL Performance Analyzer 9-17 Using Enterprise Manager to Access SQL Performance Analyzer 9-18 SQL Performance Analyzer: PL/SQL Example 9-19 Tuning Regressed SQL Statements 9-21 Testing Database Upgrades: Oracle9i Database and Oracle Database 10g Release 1 9-22 Testing Database Upgrades: Oracle Database 10g Release 2 and Later Releases 9-25 SQL Performance Analyzer: Data Dictionary Views 9-28 Summary 9-29 Practice 9: Overview 9-30

10 SQL Plan Management Objectives 10-2 SQL Plan Management: Overview 10-3 SQL Plan Baseline: Architecture 10-4 Loading SQL Plan Baselines 10-6 Evolving SQL Plan Baselines 10-7
x

Viewing Important Baseline SQL Plan Attributes 10-8 Important Baseline SQL Plan Attributes 10-9 SQL Plan Selection 10-10 Quiz 10-12 Possible SQL Plan Manageability Scenarios 10-13 SQL Performance Analyzer and SQL Plan Baseline Scenario 10-14 Loading a SQL Plan Baseline Automatically 10-15 Purging SQL Management Base Policy 10-16 Enterprise Manager and SQL Plan Baselines 10-17 Using the MIGRATE_STORED_OUTLINE Functions 10-18 Summary 10-19 Practice 10: Overview 10-20 11 Database Replay Objectives 11-2 Why Use Database Replay? 11-3 Using Database Replay 11-4 The Big Picture 11-5 System Architecture: Capture 11-6 System Architecture: Preprocessing the Workload 11-7 System Architecture: Replay 11-8 Prechange Production System 11-9 Supported Workloads 11-10 Capture Considerations 11-11 Replay Considerations 11-12 Replay Options 11-14 Workload Replay Filters 11-16 Replay Analysis 11-18 Quiz 11-20 Database Replay Workflow in Enterprise Manager 11-21 Accessing Database Replay 11-22 Packages and Procedures 11-23 Database Replay: PL/SQL Example 11-24 Data Dictionary Views: Database Replay 11-26 Calibrating Replay Clients 11-27 Summary 11-28 Practice 11: Overview 11-29 12 Automatic SQL Tuning Objectives 12-2 SQL Tuning in Oracle Database 10g 12-3
xi

Automatic SQL Tuning in Oracle Database 11g 12-4 Summary of Automation in Oracle Database 11g 12-5 Selecting Potential SQL Statements for Tuning 12-6 Maintenance Window Timeline 12-7 Automatic Tuning Process 12-8 Controlling the Automatic SQL Tuning Task 12-10 Example: Controlling the Automatic SQL Tuning Task 12-11 Automatic SQL Tuning Task 12-12 Configuring Automatic SQL Tuning 12-13 Automatic SQL Tuning Result Summary 12-14 Quiz 12-15 Automatic SQL Tuning: Fine Tune 12-16 Using the PL/SQL Interface to Generate Reports 12-18 Automatic SQL Tuning Considerations 12-19 Summary 12-20 Practice 12: Overview 12-21 13 Intelligent Infrastructure Enhancements Objectives 13-2 Using New and Enhanced Automatic Workload Repository Views 13-3 Comparative Performance Analysis with AWR Baselines 13-4 Automatic Workload Repository Baselines 13-5 Moving Window Baseline 13-6 Baseline Display Options 13-7 Baseline Templates 13-8 Creating AWR Baselines 13-9 DBMS_WORKLOAD_REPOSITORY Package 13-10 Generate a Baseline Template for a Single Time Period 13-11 Creating a Repeating Baseline Template 13-12 Baseline Views 13-13 Quiz 13-14 Performance Monitoring and Baselines 13-15 Defining Alert Thresholds Using Static Baseline 13-17 Using Enterprise Manager to Quickly Configure Adaptive Thresholds 13-18 Practice 13-1: Overview 13-19 Maintenance Windows 13-20 Default Maintenance Plan 13-21 Automated Maintenance Task Priorities 13-22 Controlling Automatic Maintenance Tasks 13-23 Quiz 13-24 Important I/O Metrics for Oracle Databases 13-25
xii

I/O Calibration and Enterprise Manager 13-27 I/O Calibration and the PL/SQL Interface 13-28 I/O Statistics: Overview 13-30 I/O Statistics and Enterprise Manager 13-32 Practices 13-2 and 13-3: Overview 13-34 Resource Manager Enhancements 13-35 Resource Manager Enhancements: Database Consolidation 13-36 Fixed Policy CPU Resource Management 13-37 Limiting CPU Utilization 13-38 Resource Manager Enhancements: Server Consolidation 13-39 Instance Caging 13-40 Instance Caging Examples 13-41 Enabling Instance Caging 13-42 Monitoring Instance Caging 13-43 Quiz 13-44 Resource Manager: Changes to DBMS_RESOURCE_MANAGER 13-45 Resource Manager: New Enterprise Manager Interface 13-46 Resource Plans Created by Default 13-47 Default Plan 13-48 I/O Resource Limit Thresholds 13-49 Resource Manager Statistics 13-50 Summary 13-51 14 Diagnosability Enhancements Objectives 14-2 Oracle Database 11g Fault Management 14-3 Ease Diagnosis: Automatic Diagnostic Workflow 14-4 Automatic Diagnostic Repository 14-5 ADRCI: The ADR Command-Line Tool 14-7 V$DIAG_INFO 14-8 Location for Diagnostic Traces 14-9 Viewing the Alert Log Using Enterprise Manager 14-10 Viewing the Alert Log Using ADRCI 14-11 Quiz 14-13 Problems and Incidents 14-14 Incident Packaging Service (IPS) 14-17 Incident Packages 14-18 Enterprise Manager Support Workbench: Overview 14-20 Enterprise Manager Support Workbench Roadmap 14-21 View Critical Error Alerts in Enterprise Manager 14-22 Package and Upload Diagnostic Data to Oracle Support 14-23
xiii

Track the SR and Implement Repairs 14-24 Creating User-Reported Problems 14-25 Enterprise Manager Support Workbench for ASM 14-26 Invoking IPS Using ADRCI 14-27 Quiz 14-29 Health Monitor: Overview 14-30 Running Health Checks Manually: Enterprise Manager Example 14-32 Running Health Checks Manually: PL/SQL Example 14-33 Viewing HM Reports Using the ADRCI Utility 14-34 SQL Repair Advisor: Overview 14-35 Accessing the SQL Repair Advisor Using Enterprise Manager 14-36 Viewing, Disabling, or Removing a SQL Patch 14-37 Using SQL Repair Advisor from PL/SQL: Example 14-38 Using the SQL Test Case Builder 14-39 Quiz 14-40 Summary 14-41 Practice 14: Overview 14-42 15 Real-Time SQL Monitoring Objectives 15-2 SQL Monitoring 15-3 SQL Monitoring in Oracle Database 11g Release 2 15-5 SQL Monitoring with Enterprise Manager Database Control 15-6 Monitored SQL Executions 15-7 SQL Monitoring List 15-8 Monitored SQL Execution Details 15-9 SQL Execution Details for Parallel Queries 15-10 Details for Parallel Execution 15-11 Activity Details for Parallel Execution 15-12 Viewing Session Details 15-13 SQL Details 15-14 Viewing the SQL Monitoring Report 15-15 Quiz 15-16 Summary 15-17 Practice 15-1: Overview 15-18 16 Performance Enhancements Objectives 16-2 Using the DBMS_ADDM Package 16-3 Advisor Named Findings and Directives 16-6

xiv

Modified Advisor Views 16-7 New ADDM Views 16-8 Quiz 16-9 Review: Oracle Database 10g SGA Parameters 16-10 Review: Oracle Database 10g PGA Parameters 16-11 Oracle Database Memory Advisors 16-13 Automatic Memory Management: Overview 16-15 Oracle Database 11g Memory Parameters 16-17 Automatic Memory Parameter Dependency 16-18 Enabling Automatic Memory Management 16-20 Monitoring Automatic Memory Management 16-21 DBCA and Automatic Memory Management 16-23 Quiz 16-24 DB Smart Flash Cache Overview 16-25 Using DB Smart Flash Cache 16-26 DB Smart Flash Cache Architecture Overview 16-27 Configuring DB Smart Flash Cache 16-28 Sizing DB Smart Flash Cache 16-30 Specifying DB Smart Flash Cache for a Table 16-31 Statistic Preferences: Overview 16-32 Using New Statistic Preferences Features 16-33 Setting Global Preferences with Enterprise Manager 16-34 Partitioned Tables and Incremental Statistics: Overview 16-35 Hash-Based Sampling for Column Statistics 16-37 Multicolumn Statistics: Overview 16-39 Expression Statistics: Overview 16-41 Deferred Statistics Publishing: Overview 16-42 Deferred Statistics Publishing: Example 16-44 Quiz 16-45 Locking Enhancements 16-46 Identify Foreground and Background Process Events 16-47 Summary 16-48 Practice 16: Overview 16-49 17 Application Performance Enhancements Objectives 17-2 Online Redefinition Enhancements 17-3 Fine-Grained Dependency Management 17-4 Minimizing Dependent Recompilations 17-5 More Precise Dependency Metadata 17-6 Managing Dependencies 17-7
xv

Usage Guidelines to Reduce Invalidation 17-9 Invisible Index: Overview 17-10 Invisible Indexes: Examples 17-11 Adaptive Cursor Sharing: Overview 17-12 Adaptive Cursor Sharing: Architecture 17-13 Adaptive Cursor Sharing Views 17-15 Interacting with Adaptive Cursor Sharing 17-16 SQL Query Result Cache: Overview 17-17 Setting Up SQL Query Result Cache 17-18 Managing the SQL Query Result Cache 17-19 Using the RESULT_CACHE Hint 17-20 In-Line View: Example 17-21 Using Table Annotation to Control Result Caching 17-22 Using the DBMS_RESULT_CACHE Package 17-23 Viewing SQL Result Cache Dictionary Information 17-24 SQL Query Result Cache: Considerations 17-25 Quiz 17-27 OCI Client Query Cache 17-28 Using Client-Side Query Cache 17-29 PL/SQL Function Cache 17-30 Using PL/SQL Function Cache 17-31 PL/SQL Function Cache: Considerations 17-32 PL/SQL and Java Native Compilation Enhancements 17-33 Setting Up and Testing PL/SQL Native Compilation 17-34 Recompiling the Entire Database for PL/SQL Native Compilation Summary 17-37 Practice 17: Overview 17-38 18 Backup and Recovery Enhancements Objectives 18-2 Using New SET NEWNAME Clauses 18-3 Substitution Variables for SET NEWNAME 18-4 Using SET NEWNAME FOR DATABASE 18-5 Using SET NEWNAME FOR TABLESPACE 18-6 Performance Enhancements 18-7 Improved Block Corruption Detection 18-8 Using New Settings for Binary Compression 18-9 Using New Compression Algorithm Settings 18-10 Optimized Backups 18-11

17-35

xvi

Parallel Backup and Restore for Very Large Files 18-13 Using RMAN Multisection Backups 18-14 Quiz 18-15 Duplicating a Database 18-16 Performing Active Database Duplication 18-17 The RMAN DUPLICATE Command 18-18 Creating a Standby Database with the DUPLICATE Command 18-19 Enhancements to Database Duplication 18-20 Targetless DUPLICATE 18-21 Using Targetless DUPLICATE 18-22 Using New DUPLICATE Command Options 18-23 DUPLICATE [SKIP] TABLESPACE Enhancements 18-24 Using RMAN to Create Archival Backups 18-25 Managing Archival Database Backups 18-26 Creating Archival Backups 18-27 Easier Recovery from Loss of Server Parameter File 18-28 TSPITR Enhancements and Modifications 18-29 Identifying Relationships that Span Recovery Set Boundaries 18-30 Using Image Copies for Faster TSPITR Performance 18-31 Quiz 18-32 Managing Recovery Catalogs 18-33 The IMPORT CATALOG Command 18-35 Creating and Using Virtual Private Catalogs 18-37 Using RMAN Virtual Private Catalogs 18-38 Quiz 18-40 Summary 18-41 Practice 18: Overview Using RMAN Enhancements 18-42 19 Flashback Technology, LogMiner, and Data Pump Enhancements Objectives 19-2 Flashback Data Archive: Overview 19-3 Flashback Data Archive: Architecture 19-5 Preparing Your Database 19-6 Flashback Data Archive: Workflow 19-10 Using Flashback Data Archive 19-11 Configuring a Default Flashback Data Archive 19-12 Filling the Flashback Data Archive Space 19-13 Maintaining Flashback Data Archives 19-14 Flashback Data Archive: Examples 19-15 Flashback Data Archive: DDL Restrictions 19-16

xvii

Flashback Data Archive: Supporting Transparent Schema Evolution 19-17 Flashback Data Archive: Supporting Full Schema Evolution 19-18 Viewing Flashback Data Archives 19-19 Guidelines and Usage Tips 19-20 Quiz 19-21 Flashback Transaction Backout 19-22 Prerequisites 19-23 Flashing Back a Transaction 19-24 Using the Flashback Transaction Wizard 19-25 Using the DBMS_FLASHBACK.TRANSACTION_BACKOUT Procedure 19-26 Viewing a Dependency Report 19-27 Viewing Flashback Transaction Metadata 19-28 Quiz 19-29 Flashback Database Enhancements 19-30 Using LogMiner 19-31 Review: Data Pump Export and Import 19-32 Migration with Data Pump Legacy Mode 19-33 Data Pump Legacy Mode 19-34 Managing File Locations 19-36 Quiz 19-37 Summary 19-38 Practice 19: Overview Using Flashback Technology 19-39 20 Data Recovery Advisor Objectives 20-2 Repairing Data Failures 20-3 Data Recovery Advisor 20-4 Assessing Data Failures 20-7 Data Failures 20-8 Data Failure: Examples 20-9 Data Recovery Advisor RMAN Command-Line Interface 20-10 Listing Data Failures 20-11 Advising on Repair 20-13 Executing Repairs 20-14 Classifying (and Closing) Failures 20-15 Quiz 20-16 Data Recovery Advisor Views 20-17 Best Practice: Proactive Checks 20-18 Setting Parameters to Detect Corruption 20-19 Summary 20-21 Practice 20: Overview Repairing Failures 20-22
xviii

Appendix A: Practices and Solutions Appendix B: Scheduler Enhancements Objectives B-2 Lightweight Jobs B-3 Choosing the Right Job B-4 Scheduler Email Notification: Overview B-5 Using Scheduler Email Notification B-6 Setting the email_server Attribute B-7 Setting the email_sender Attribute B-8 Using ADD_JOB_EMAIL_NOTIFICATION B-9 Using REMOVE_JOB_EMAIL_NOTIFICATION B-11 Email Notification: New Dictionary Views B-12 Scheduler File Watcher: Overview B-13 Creating a File Watcher and an Event-Based Job B-14 Step 1: Creating a Scheduler Credential Object B-15 Step 2: Creating a File Watcher B-16 Using DBMS_SCHEDULER.CREATE_FILE_WATCHER B-17 Step 3: Creating a Scheduler Program Object B-18 Using the SCHEDULER_FILEWATCHER_RESULT Object Type B-20 Using the SCHEDULER_FILEWATCHER_REQUEST Object Type B-21 Step 4: Creating an Event-Based Job that References the File Watcher B-22 Step 5: Enabling the Objects B-23 Enabling File Arrival Events from Remote Systems B-24 Using DBMS_SCHEDULER.DROP_FILE_WATCHER B-25 File Watcher: Changes to Existing DBMS_SCHEDULER Procedures B-26 File Watcher: Changes to Existing Attributes B-27 File Watcher: New Dictionary Views B-28 File Watcher: New Columns in Existing Views B-29 Scheduler Remote Database Jobs: Overview B-30 Using CREATE_DATABASE_DESTINATION B-31 Using DROP_DATABASE_DESTINATION B-32 Creating Remote Database Jobs: Configuration B-33 Setting Up the Database for Remote Jobs B-34 Creating Remote Database Jobs B-35 Scheduler Multiple Destination Jobs: Overview B-36 Scheduler Multiple Destination Jobs: Terminology B-37 Scheduler Multiple Destination Job States B-38 Creating Multiple Destination Jobs B-39

xix

Using Destination Groups for Multiple Destination Jobs B-40 Using CREATE_GROUP B-41 Using ADD_GROUP_MEMBER B-42 Using DROP_GROUP B-43 Using REMOVE_GROUP_MEMBER B-44 Modifications to Existing DBMS_SCHEDULER Procedures B-45 Multiple Destination Jobs: New Dictionary Views B-46 Multiple Destination Jobs: New Columns in Existing Dictionary Views B-47 Summary B-48 Appendix C: Oracle Secure Backup Cloud Module Objectives C-2 Oracle Database Backup in the Cloud C-3 Introducing Oracle Secure Backup Cloud Module C-4 Advantages of Backing Up to the Cloud C-5 What Is Amazon Simple Storage Service (S3)? C-6 Installing the Oracle Secure Backup Cloud Module C-7 Summary C-8

xx

Das könnte Ihnen auch gefallen