Oracle Database 10g: New Features For Administrators: D17079GC21 Edition 2.1 October 2005 D22244
Oracle Database 10g: New Features For Administrators: D17079GC21 Edition 2.1 October 2005 D22244
Oracle Database 10g: New Features For Administrators: D17079GC21 Edition 2.1 October 2005 D22244
Copyright 2005, 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 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, JD Edwards, PeopleSoft, and Retek are registered trademarks of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
Technical Contributors and Reviewers Troy Anthony David Austin Mirella Avila John Beresniewicz Tom Best Harald van Breederode Mary Bryska Timothy Chien Donna Cooksey Andy Fortunak Joel Goodman Donna Hamby Magnus Isaksson Pete Jones Pierre Labrousse Dominique Laugraud Stefan Lindblad Yi Lu Venkat Maddali Paul Manning Sabiha Miri Srinivas Putrevu Mark Ramacher James Spiller S Matt Taylor Branislav Valny Anthony Woodell
Contents
Introduction Overview I-2 Todays IT Infrastructure I-3 How DBAs Spent Their Time Before Oracle Database 10g I-4 Grid Computing I-5 Oracle Ecosystem I-6 Enterprise Grid Computing I-7 Implement One from Many I-8 Manage Many as One I-10 Readily Available Product Controls I-12 Oracle Enterprise Manager 10g Grid Control I-13 Oracle Database 10g: The Database for the Grid I-14 Suggested Additional Courses I-15 Oracle Database 10g Manageability Goals I-16 Database Management Challenges I-17 Oracle Database 10g Solution: Self-Managing Database I-18 How Oracle Database 10g DBAs Spend Their Time I-19 Further Information I-20 Suggested Schedule I-21 1 Installation Objectives 1-2 Installation Methods 1-3 Installation: New Feature Support 1-4 Performance Enhancements to Installation 1-5 Checking the Preinstallation Requirements 1-6 Miscellaneous Installation Enhancements 1-7 Response File Improvements 1-8 CD Pack Contents 1-9 Management Options 1-10 File Storage Options 1-11 Backup and Recovery Options 1-12 Passwords 1-13 Grid Control Components 1-14 Managed Targets for Grid Control 1-16 Oracle Management Service 1-17 Oracle Management Repository 1-18 Grid Control Console: Home 1-19 Grid Control Console: Targets 1-20 Managing Very Large Grids 1-21 Summary 1-22
iii
Server Configuration Objectives 2-2 Database Configuration Assistant (DBCA): Enhancements 2-3 Using Database Control for Management 2-5 SYSAUX and DBCA 2-6 Database Control: Overview 2-7 Important EM Agent Directories 2-8 Configuring Database Control 2-9 Managing Database Control Components 2-10 Database Home Page: Overview 2-11 Database Control Setup Pages 2-13 Database Control Preferences Pages 2-14 Net Services Administration Pages 2-15 Database Feature Usage: Statistics Collection 2-16 Database Feature Usage: EM Interface 2-17 Database Feature Usage: HWM Page 2-18 Policy Framework 2-19 Policy Violations Page 2-20 Manage Policy Violations Page 2-22 Rule Violation Page 2-24 Manage Policy Library Page 2-25 Simplified Initialization Parameters 2-26 Viewing Initialization Parameters 2-27 Irreversible Data File Compatibility 2-28 Enabling iSQL*Plus DBA Access 2-29 Accessing iSQL*Plus DBA from EM 2-30 Summary 2-31 Practice 2: Overview 2-32 Data Pump, SQL*Loader, and External Tables Objectives 3-2 Data Pump: Overview 3-3 Data Pump: General Architecture 3-4 Data Pump Export and Import: Overview 3-5 Data Pump Export and Import: Benefits 3-6 General Implementation: Overview 3-8 Data Pump Direct Path: Considerations 3-9 Data Pump File Locations 3-10 Data Pump File Naming and Size 3-12 Data Pump Utility: Interfaces and Modes 3-13 Data Pump and Filtering 3-14 Data Pump Import Transformations 3-15 Data Pump Job Monitoring Views 3-17 Database Control and Data Pump 3-18 Using EM to Monitor Data Pump Jobs 3-19
iv
Parallel Full Export and Import: Examples 3-20 Limited Schema Export: Example 3-21 Network Mode Import: Example 3-22 Attaching to Existing Job: Example 3-23 Restarting a Stopped Job: Example 3-24 Data-Only Unload: Example 3-25 Loading Data from Flat Files by Using EM 3-26 External Table Population: Overview 3-27 External Table Population Operation 3-28 External Table Parallel Populate Operation 3-29 External Table Population: Example 3-30 External Table Projected Columns 3-31 External Table Projected Column: Examples 3-32 Summary 3-33 Practice 3: Overview 3-34 4 Database and Tablespace Data Movements Objectives 4-2 Cross-Platform Transportable Tablespaces 4-3 Minimum Compatibility Level 4-4 Transportable Tablespace Procedure 4-5 Determining the Endian Format of a Platform 4-6 Data File Conversion: Examples 4-7 CLOB Exception 4-8 Using Database Control to Transport Tablespaces 4-9 Generating Transportable Tablespace Sets 4-10 Specifying Destination Characteristics 4-11 Specifying Conversion Information 4-12 Specifying the Files Transfer Mode 4-13 Database Transportation: Overview 4-14 Database Transportation Procedure 4-15 Database Transportation: Conversion 4-16 Database Transportation: Example 1 4-17 Database Transportation: Example 2 4-18 Database Transportation: Generated Pfile 4-19 Database Transportation: Generated SQL Script 4-20 Database Transportation: Generated RMAN Script 4-22 Database Transportation: Considerations 4-23 DBMS_TDB Package 4-24 Database Cloning Using Database Control 4-25 Transport Tablespace from Backup: Overview 4-26 Transport Tablespace from Backup: Implementation 4-27 Transport Tablespace from Backup: Example 4-28 Versioning Tablespaces 4-29
Versioned Tablespaces: Usage Scenarios 4-30 Tablespace Repository 4-31 CLONE_TABLESPACES 4-32 CLONE_TABLESPACES: Example 4-33 DETACH_TABLESPACES 4-34 DETACH_TABLESPACES: Example 4-35 ATTACH_TABLESPACES 4-36 ATTACH_TABLESPACES: Example 4-37 Managing a File Group Repository 4-38 File Group Repository Catalog 4-41 File Group Repository Catalog Views 4-42 File Group Repository Privileges 4-43 Privileges for Versioning Tablespaces 4-45 Summary 4-46 Practice 4: Overview 4-47 5 Automatic Management Objectives 5-2 Oracle Database 10g Solution: Self-Managing Database 5-3 Automatic Database Diagnostic Monitor: Overview 5-4 ADDM Performance Monitoring 5-5 ADDM Methodology 5-6 Top Performance Issues Detected 5-7 Database Control and ADDM Findings 5-8 ADDM Analysis Results 5-9 ADDM Recommendations 5-10 Database Control and ADDM Task 5-11 Changing ADDM Attributes 5-12 Retrieving ADDM Reports by Using SQL 5-13 Automatic Shared Memory Management: Overview 5-14 SGA Tuning Principles 5-15 Benefits of Automatic Shared Memory Management 5-16 Automatic Shared Memory Management 5-17 SGA Advisor 5-18 Manual Configuration 5-19 Behavior of Autotuned SGA Parameters 5-20 Behavior of Manually Tuned SGA Parameters 5-21 Using the V$PARAMETER View 5-22 Resizing SGA_TARGET 5-23 Disabling Automatic Shared Memory Management 5-24 Manually Resizing Dynamic SGA Parameters 5-25 Automatic Segment Advisor: Overview 5-26 AUTO_SPACE_ADVISOR_JOB 5-27 Controlling AUTO_SPACE_ADVISOR_JOB 5-28
vi
Viewing Latest Automatic Segment Advisor Recommendations 5-29 Automatic Optimizer Statistics Collection: Overview 5-30 GATHER_STATS_JOB 5-31 Controlling GATHER_STATS_JOB 5-32 Changing the Default Schedule 5-33 Automatic Undo Retention Tuning 5-34 Automatic Checkpoint Tuning 5-35 Automatically Tuned Multiblock Reads 5-36 Summary 5-37 Practice 5: Overview 5-38 6 Manageability Infrastructure Objectives 6-2 Oracle Database 10g Solution: Self-Managing Database 6-3 Automatic Workload Repository 6-4 Automatic Workload Repository: Overview 6-5 Automatic Workload Repository Data 6-6 Active Session History 6-7 Generate ASH Reports 6-8 Base Statistics and Metrics 6-9 Workload Repository 6-10 Statistic Levels 6-11 AWR Snapshot Sets 6-12 AWR Snapshot Purging Policy 6-13 Database Control and AWR 6-14 Generating AWR Reports 6-15 Snapshot Sets and Period Comparisons 6-16 Compare Periods: Results 6-17 Statspack and AWR 6-18 Server-Generated Alerts 6-19 Server-Generated Alerts: Overview 6-20 Alert Models Architecture 6-21 Server-Generated Alert Types 6-22 Readily Available Server-Generated Alerts 6-23 Database Control Usage Model 6-24 Database Control Interface to Alerts 6-25 Setting Alert Thresholds 6-26 Alerts Notification 6-27 Metric Details Severity History 6-28 Metric and Alert Views 6-29 PL/SQL Interface for Threshold Settings 6-30 Alert Consumption: Manual Configuration 6-31 User-Defined SQL Metrics 6-32 Automatic Routine Administration Tasks 6-33 DBCA and Automated Tasks 6-34
vii
Common Manageability Infrastructure: Advisory Framework 6-35 Advisory Framework: Overview 6-36 Typical Advisor Tuning Session 6-37 Database Control and Advisors 6-38 DBMS_ADVISOR Package 6-39 Dictionary Changes 6-40 Using PL/SQL: Example 6-41 Summary 6-42 Practice 6: Overview 6-43 7 Adaptive Thresholds and Metric Baselines Objectives 7-2 Cyclic Nature of Workloads 7-3 Thresholds and Metric Baselines Overview: Fixed Thresholds 7-4 Thresholds and Metric Baselines Overview: Adaptive Thresholds 7-5 Metric Baselines and Thresholds Concepts 7-6 Metric Baselines and Time Groups 7-8 Enabling Metric Baselining 7-9 Activating the Moving Window Metric Baseline 7-10 Setting Adaptive Alert Thresholds 7-11 Visualizing Metric Baseline Statistics 7-12 Creating Static Metric Baselines 7-13 Time Grouping: Considerations 7-14 Metric Baseline and Adaptive Threshold: Considerations 7-15 Classification of Eligible Metrics 7-16 Metric Baseline: Normalized View 7-17 Configuring Normalization Metrics 7-19 Adaptive Thresholds and the All Metrics Page 7-20 Summary 7-21 Practice 7: Overview 7-22 Application Tuning Objectives 8-2 Oracle Database 10g Solution: Self-Managing Database 8-3 Automatic Statistics Gathering 8-4 Enhanced Query Optimization 8-5 Statistics on Dictionary Objects 8-6 Dictionary Statistics: Best Practices 8-7 Miscellaneous Statistics-Related Changes 8-8 Locking Statistics 8-9 Using the DBMS_STATS Package 8-10 Automatic Statistics Collection: Considerations 8-11 History of Optimizer Statistics 8-12 Managing Historical Optimizer Statistics 8-13 Managing Optimizer Statistics Using EM 8-14
viii
DML Table Monitoring Changes 8-15 Rule-Based Optimizer Obsolescence 8-16 Automatic SQL Tuning: Overview 8-17 Application Tuning Challenges 8-18 SQL Tuning Advisor: Overview 8-19 Stale or Missing Object Statistics 8-20 SQL Statement Profiling 8-21 Plan Tuning Flow and SQL Profile Creation 8-22 SQL Tuning Loop 8-23 Access Path Analysis 8-24 SQL Structure Analysis 8-25 SQL Tuning Advisor: Usage Model 8-26 Database Control and SQL Tuning Advisor 8-27 Implementing Recommendations 8-28 DBMS_SQLTUNE Package 8-29 DBMS_SQLTUNE: Examples 8-30 Exporting or Importing SQL Profiles 8-31 Automatic SQL Tuning Categories 8-32 SQL Access Advisor: Overview 8-33 SQL Access Advisor: Usage Model 8-34 Possible Recommendations 8-35 Typical SQL Access Advisor Session 8-36 Workload Source 8-37 Recommendation Options 8-38 Reviewing Recommendations 8-40 SQL Access Advisor: Procedure Flow 8-41 Performance Monitoring Solutions 8-42 Performance Management Approach 8-43 Database Home Page 8-44 Database Performance Page 8-45 Active Sessions Waiting Pages 8-46 SQL Details 8-47 Historical Data View 8-48 Diagnosis of Hung or Extremely Slow Databases 8-49 Using Memory Access Mode 8-50 Using the Hang Analysis Page 8-51 Summary 8-53 Practice 8: Overview 8-54 9 System Resource Management Objectives 9-2 Oracle Database 10g Solution: Self-Managing Database 9-3 Database Resource Manager 9-4 Switching Plans at Scheduler Window Boundaries 9-5 Setting Idle Timeouts 9-6
ix
Switching Back to the Initial Consumer Group at the End of Call 9-7 Creating a Mapping by Using Database Control 9-9 Creating a Mapping by Using DBMS_RESOURCE_MANAGER 9-10 Assigning Priorities by Using DBMS_RESOURCE_MANAGER 9-11 Changes to the DBMS_RESOURCE_MANAGER Package 9-13 Using the RATIO Allocation Method 9-15 Monitoring the Database Resource Manager 9-16 Monitoring the Resource Manager by Using EM 9-17 New V$ Views 9-18 Changed V$ Views 9-19 Summary 9-20 Practice 9: Overview 9-21 10 Automating Tasks with the Scheduler Objectives 10-2 Scheduling Needs 10-3 Scheduler Concepts 10-4 Creating a Program 10-6 Creating a Program by Using EM 10-7 Creating and Using Schedules 10-8 Using EM to Create Schedules 10-9 Calendaring Expressions 10-10 Creating a Job 10-12 Creating a Time-Based Job 10-13 Setting the Repeat Interval for a Job 10-15 Using Events with Jobs 10-16 Event-Based Scheduling 10-17 Creating an Event-Based Job 10-18 Events Raised by the Scheduler 10-19 Using Events Raised by Jobs 10-21 Using EM to Create Event-Based Schedules 10-22 Creating Complex Schedules 10-23 Privileges for Scheduler Components 10-24 Enabling and Disabling Scheduler Components 10-26 Managing Scheduler Components 10-27 Managing Scheduler Components with EM 10-29 Viewing Attributes of Scheduler Components 10-30 Viewing Job Execution Details 10-31 Viewing Job Logs 10-32 Scheduler Job Chain Concepts 10-33 Creating Chains 10-34 Creating a Chain Object 10-36 Defining Chain Steps 10-37 Defining Chain Rules 10-39
Specifying Chain Rule Conditions 10-40 Starting the Chain 10-42 Creating a Job Chain with EM 10-43 Managing Job Chains 10-45 Managing Job Chains with EM 10-46 Monitoring Job Chains 10-47 Advanced Scheduler Concepts 10-48 Creating a Window 10-49 Prioritizing Jobs Within a Window 10-50 Creating a Job Class 10-52 Data Dictionary Views 10-53 Summary 10-54 Practice 10: Overview 10-55 11 Space Management Objectives 11-2 Oracle Database 10g Solution: Self-Managing Database 11-3 Proactive Tablespace Monitoring: Overview 11-4 Tablespace Space Usage Monitoring 11-5 Edit Tablespace Space Usage Thresholds 11-6 Edit Tablespace Page 11-7 PL/SQL and Tablespace Space Usage Thresholds 11-8 Proactive Undo Tablespace Monitoring 11-10 Shrinking Segments: Overview 11-11 Shrinking Segments: Considerations 11-12 Shrinking Segments by Using SQL 11-13 Segment Shrink: Basic Execution 11-14 Segment Shrink: Execution Considerations 11-15 Database Control and Segment Shrink 11-16 Segment Advisor: Overview 11-17 Running the Segment Advisor Manually 11-18 Using the Segment Advisor with EM 11-19 Growth Trend Report 11-20 Segment Resource Estimation 11-21 Undo Management Page 11-22 Undo Advisor Page 11-23 Fast Ramp-Up 11-24 Sorted Hash Cluster: Overview 11-25 Sorted Hash Cluster: Example 11-26 Sorted Hash Cluster: Basic Architecture 11-27 Sorted Hash Cluster: Considerations 11-28 Viewing Tablespace Contents 11-29 Summary 11-30 Practice 11: Overview 11-31
xi
12 Improved Very Large Database (VLDB) SupportObjectives Objectives 12-2 Bigfile Tablespaces: Overview 12-3 Benefits of Bigfile Tablespaces 12-4 Bigfile Tablespace: Usage Model 12-5 Creating Bigfile Tablespaces 12-6 SQL Statement Changes and Additions 12-7 BFTs and SQL Statements: Examples 12-8 Data Dictionary Changes and Additions 12-9 Bigfile Tablespaces and DBVERIFY 12-10 DBMS_UTILITY Package and BFTs 12-11 Migration and Bigfile Tablespaces 12-12 Extended ROWID Format and BFTs 12-13 DBMS_ROWID Package Changes 12-14 Temporary Tablespace Group: Overview 12-15 Temporary Tablespace Group: Benefits 12-16 Creating Temporary Tablespace Groups 12-17 Maintaining Temporary Tablespace Groups 12-18 Temporary Tablespace Group SQL: Examples 12-19 Data Dictionary Changes 12-21 Database Control: Creating a Partition 12-22 Database Control: Partition Maintenance 12-23 Partitioned IOT Enhancements 12-24 Local Partitioned Index Enhancements 12-25 Skipping Unusable Indexes 12-26 Hash-Partitioned Global Indexes: Overview 12-27 Contention Scenario 12-28 Hash-Partitioned Global Indexes: Benefits 12-29 Creating Hash-Partitioned Global Indexes 12-30 Adding and Coalescing Partitions 12-31 Range and Hash Global Index Commands 12-32 Operations Not Supported 12-33 Usage Example 12-34 Bitmap Index Storage Enhancements 12-35 DML Error Logging: Overview 12-36 DML Error Logging: Example 12-37 Error-Logging Table 12-38 DML Error Logging: Considerations 12-39 Summary 12-40 Practice 12: Overview 12-41 13 Backup and Recovery Enhancements Objectives 13-2 Oracle Database 10g Solution: Self-Managing Database 13-3
xii
Flash Recovery Area 13-4 Defining Flash Recovery Area by Using Database Control 13-6 Defining a Flash Recovery Area by Using SQL 13-7 Flash Recovery Area Space Management 13-8 Backing Up Data Files to a Flash Recovery Area 13-9 Modifying the Flash Recovery Area 13-10 Backing Up the Flash Recovery Area 13-11 Dynamic Flash Recovery Area Views 13-12 Flash Recovery Area Columns in Other Views 13-14 Best Practices for the Database and Flash Recovery Area 13-15 Changes in SQL Statement Behavior 13-16 Fast Incremental Backup 13-18 Enabling Fast Incremental Backup 13-19 Monitoring Block Change Tracking 13-20 Incrementally Updated Backups 13-21 Oracle-Suggested Strategy 13-22 Incremental Roll Forward of a Database Copy 13-23 RMAN Backup Command Changes 13-24 Backup Type Enhancements by Using Database Control 13-26 Backup Maintenance 13-27 Backing Up the Entire Database 13-28 Backing Up Individual Tablespaces 13-29 Backing Up Data Files and Control Files 13-30 Implementing Fast Recovery 13-31 Automated Instance Creation and TSPITR 13-32 Auxiliary Location in EM 13-33 Creating Compressed Backups 13-34 Monitoring Compressed Backups 13-35 Simplified Recovery Through RESETLOGS 13-36 Recovery Through RESETLOGS: Changes 13-37 Recovering Data Files Not Backed Up 13-38 Dropping a Database 13-39 Placing All Files in Online Backup Mode 13-40 How Does File Status Affect BEGIN BACKUP? 13-41 Changes to the END BACKUP Command 13-42 RMAN and Configuration Changes 13-43 Automatic Channel Failover 13-44 RMAN Channel Support for the Grid 13-45 Enhanced RMAN Scripts 13-46 Setting Duration and Throttling Option 13-47 Database Control: Backup Reports 13-48 Summary 13-49 Practice 13 Overview 13-50
xiii
14 Flash Back Any Error Objectives 14-2 Flashback Time Navigation 14-3 Flashback Error Correction 14-4 Flashback Database: Overview 14-5 Flashback Database: Eliminating Restore Time 14-6 Flashback Database Architecture 14-7 Configuring Flashback Database Using EM 14-8 Flashing Back Your Database by Using EM 14-9 Manually Configuring Flashback Database 14-10 Flashback Database: Examples 14-11 Monitoring Flashback Database 14-12 Excluding Tablespaces from Flashback Database 14-13 Flashback Database: Considerations 14-14 Flashing Back RESETLOGS 14-15 Flashback Drop: Overview 14-16 Recycle Bin 14-17 Flashing Back Dropped Tables by Using EM 14-18 Querying the Recycle Bin 14-19 Restoring Tables from the Recycle Bin 14-20 Recycle Bin: Automatic Space Reclamation 14-21 Recycle Bin: Manual Space Reclamation 14-22 Bypassing the Recycle Bin 14-23 Querying Dropped Tables 14-24 Flashback Drop: Considerations 14-25 Flashback Versions Query: Overview 14-26 Flashback Versions Query Using EM 14-27 Flashback Versions Query Syntax 14-28 Flashback Versions Query: Example 14-29 Flashback Versions Query: Considerations 14-30 Flashback Transaction Query: Overview 14-31 Flashback Transaction Query Using EM 14-32 Querying FLASHBACK_TRANSACTION_QUERY 14-33 Using Flashback Versions Query and Flashback Transaction Query 14-34 Flashback Transaction Query: Considerations 14-35 Flashback Table: Overview 14-36 Using EM to Flash Back Tables 14-37 Flashback Table: Example 14-38 Rolling Back a Flashback Table Operation 14-39 Flashback Table: Considerations 14-40 Restore Points: Overview 14-41 Guaranteed Restore Points 14-42 Guaranteed Restore Points: Properties 14-43 Restore Point Creation and Usage 14-44
xiv
Guaranteed Undo Retention 14-45 SCN and Time Mapping Enhancements 14-46 Granting Flashback Privileges 14-47 When to Use Flashback Technology 14-48 Flashback Technology: Benefits 14-49 Summary 14-50 Practice 14: Overview 14-51 15 General Space Management Enhancements Objectives 15-2 Oracle Database 10g Solution: Self-Managing Database 15-3 SYSAUX Tablespace: Overview 15-4 SYSAUX Tablespace: Benefits 15-5 SYSAUX Occupants 15-6 CREATE DATABASE 15-7 ALTER TABLESPACE SYSAUX 15-8 SYSAUX Tablespace: General Usage 15-9 SYSAUX Occupants: Visualization 15-10 SYSAUX Occupants: Relocation 15-11 SYSAUX Occupants: Relocation Using SQL 15-12 Tablespace Rename: Overview 15-13 Tablespace Rename: Usage Example 15-14 Tablespace Rename: Considerations 15-15 Tablespace Rename: Best Practices 15-16 Default Permanent Tablespace: Overview 15-17 Designating a Default Permanent Tablespace 15-18 Default Permanent Tablespace: SQL Examples 15-19 Copying Files by Using the Database Server 15-20 Local Copy: Example 15-21 Transferring Files: Example 15-22 Copying Files: Considerations 15-23 Redo Logfile Size Advisor 15-24 Dropping an Empty Data File 15-26 Summary 15-27 Practice 15: Overview 15-28 16 Automatic Storage Management Objectives 16-2 What Is Automatic Storage Management? 16-3 ASM: Key Features and Benefits 16-4 ASM: New Concepts 16-5 ASM: General Architecture 16-6 ASM Administration 16-8
xv
ASM Instance Functionalities 16-9 Installing ASM: Overview 16-10 Transparent Multiversion Support 16-11 Creating a Database on ASM 16-12 Creating an ASM Instance on Its Own 16-13 ASM Instance Initialization Parameters 16-14 Accessing an ASM Instance 16-15 Dynamic Performance View Additions 16-16 ASM Home Page 16-17 ASM Performance Page 16-18 ASM Configuration Page 16-19 Starting Up an ASM Instance 16-20 Shutting Down an ASM Instance 16-21 ASM Administration 16-22 ASM Disk Group 16-23 Failure Group 16-24 Disk Group Mirroring 16-25 Disk Group Dynamic Rebalancing 16-26 ASM: Administration Page 16-27 Create Disk Group Page 16-28 Creating or Deleting Disk Groups 16-29 Adding Disks to Disk Groups 16-30 Miscellaneous Alter Commands 16-31 Monitoring Long-Running Operations by Using V$ASM_OPERATION 16-33 ASM Administration 16-34 ASM Files 16-35 ASM File Names 16-36 ASM File Name Syntax 16-37 ASM File Name Mapping 16-39 ASM File Templates 16-40 Template and Alias: Examples 16-41 Retrieving Aliases 16-42 SQL Commands and File Naming 16-43 ASM Command-Line Interface: Overview 16-44 ASM Command-Line Interface Commands 16-45 Database Instance Parameter Changes 16-46 Migrate Database To ASM Wizard 16-48 Manually Migrating Your Database to ASM 16-49 ASM and Transportable Tablespaces 16-50 ASM and XML DB: Overview 16-51 ASM Virtual Folder Hierarchy 16-52 ASM Virtual Folder: Typical Use 16-53 Summary 16-54 Practice 16: Overview 16-55
xvi
17 Maintaining Software Objectives 17-2 Oracle Database 10g Upgrade Paths 17-3 Choosing an Upgrade Method 17-4 Advantages of Using DBUA 17-5 Manual Upgrade: Advantages and Disadvantages 17-6 New Preupgrade Information Utility 17-7 Oracle Database 10g: Simplified Upgrade 17-8 New Postupgrade Status Utility 17-9 Properly Prepared Upgrade 17-10 Using Database Upgrade Assistant 17-11 Recompiling Invalid Objects 17-12 Backing Up the Database Before Upgrade 17-13 Upgrade Summary 17-14 Performing the Manual Upgrade 17-15 Downgrading Using a Single Script 17-20 MetaLink Integration 17-21 OPatch Utility 17-22 OPatch Operations 17-24 Support for RAC Environments 17-25 OPatch Process Flow 17-26 Patch Conflict Detection 17-28 Summary 17-29 18 Security Objectives 18-2 Virtual Private Database: Overview 18-3 Virtual Private Database: Enhancements 18-4 Column-Level VPD: Example 18-5 Creating a Column-Level Policy 18-6 Policy Types: Overview 18-7 Static Policies 18-8 Context-Sensitive Policies 18-9 Sharing Policy Functions 18-10 Auditing Mechanisms: Overview 18-11 Uniform Audit Trails 18-12 Enhanced Enterprise User Auditing 18-13 Audit EM Page 18-14 Audit Enhancements 18-15 Fine-Grained Auditing: Enhancements 18-16 Fine-Grained Auditing Policy: Example 18-17 Audited DML Statement: Considerations 18-18 Transparent Data Encryption: Overview 18-19 Implementing Transparent Data Encryption 18-20 Existing Tables and Transparent Data Encryption 18-22
xvii
Transparent Data Encryption: Considerations 18-23 Data Pump and Transparent Data Encryption 18-24 RMAN Encrypted Backups: Overview 18-25 Transparent Mode Setup 18-26 Password Mode Setup 18-27 Dual Mode Setup 18-28 RMAN Encrypted Backups: Considerations 18-29 CONNECT Role Change 18-30 Wallet Support for Usernames and Passwords 18-31 Summary 18-32 Practice 18: Overview 18-33 A Practices B Solutions C Services D Oracle Secure Backup Overview E Miscellaneous New Features F Practice and Solution Scripts
xviii