SlideShare a Scribd company logo
1 of 486
Download to read offline
北京尚观科技有限公司




                                                                                              le
                                                                                       fe rab
                                                                                   n s
                                                                 o          n -tra
                                                           s  an
                                                     ) ha ide10g:
                                          Oracle Database ฺ
                                                  m
                                          Administration Workshop II
                                              ฺco nt Gu
                                            g
                                       o kin ude
                                    plo is St I • Student Guide
                                  u h Volume
                            o ng@ se t
                      e  nzh e to u
                   (ch cens
             c hen    li
   zh ong



         D17092GC31
         Edition 3.1
         December 2008
         D57199




Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
北京尚观科技有限公司


           Authors                  Copyright © 2008, Oracle. All rights reserved.

           Tom Best                 Disclaimer

           Maria Billings           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
           Technical Contributors   any way. Except where your use constitutes "fair use" under copyright law, you may
           and Reviewers            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
           Herbert Bradbury         express authorization of Oracle.
           Howard Bradley
                                    The information contained in this document is subject to change without notice. If you
           Harald van Breederode    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
           M.J. Bryksa              warranted to be error-free.
           Donna Cooksey
                                    Restricted Rights Notice
           Joe Fong
           Andy Fortunak            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
                                                                                                                            l e
           Gerlinde Frenzen         applicable:
                                                                                                                     fe rab
           Joel Goodman             U.S. GOVERNMENT RIGHTS
                                                                                                            n      s
           Bert van Gorkom
                                                                                                  o  n -tra
                                    The U.S. Government’s rights to use, modify, reproduce, release, perform, display, or
                                    disclose these training materials are restricted by the terms of the applicable Oracle

                                                              an
           Sushma Jagannath         license agreement and/or the applicable U.S. Government contract.
         Christine Jeal                                     s
                                                        ) ha ideฺ
                                    Trademark Notice
         Donna Keesling
                                                      m
         Pierre Labrousse
                                                 g ฺco nt Gu
                                    Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other
                                    names may be trademarks of their respective owners.
         Jerry Lee
                                            o kin ude
         Stefan Lindblad
                                       u plo is St
         Wendy Lo
                                   g@ se th
         Yi Lu
         Claudia O'Callaghan nz
                                hon to u
                           e
                      (ch cense
         Andreas Reinhardt
                  n
           che
         Ira Singer        li
   zh ongJames Spiller
           Janet Stern
           Jean-Francois Verrier

           Editors
           Aju Kumar
           Nita Pavitran
           Arijit Ghosh

           Graphic Designer
           Steve Elwood

           Publishers
           Joseph Fernandez
           Sujatha Nagendra




Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
北京尚观科技有限公司




              Contents



              Preface

              1   Introduction
                  Lesson Objectives 1-2
                  Course Objectives 1-3
                  Suggested Schedule 1-4
                                                                                                   le
                  What Is Covered in the DBAI Course 1-5
                                                                                            fe rab
                  Course Examples: The HR Schema 1-6
                                                                                        ns
                  Oracle Database 10g: The Database for the Grid 1-7
                                                                             o   n -tra
                  Database Architecture: Review 1-8
                  Oracle Memory Structures 1-9         s an
                  Oracle Processes 1-11          m ) ha ideฺ
                                              ฺco nt Gu
                  Reviewing Oracle Instance Management 1-12
                                            g
                                         kin ude
                  Physical Database Structure 1-14
                                       o
                                    plo is St
                  Oracle Managed Files (OMF) 1-16
                                  u
                              g@ se th
                  Logical and Physical Database Structures 1-17
                           hon to u
                  Database Architecture: Summary of Structural Components 1-19
                         z
                     hen nse
                  Summary 1-20

              he n (c lice
             c2   Configuring Recovery Manager

   zh ong         Objectives 2-2
                  Backup and Recovery: Review 2-3
                  Features of Recovery Manager 2-4
                  Recovery Manager Components 2-6
                  Steps for Configuring RMAN 2-8
                  RMAN Repository Data Storage: Comparison of Options 2-9
                  Backup Destinations 2-11
                  Media Management 2-12
                  Using a Flash Recovery Area with RMAN 2-14
                  Monitoring the Flash Recovery Area with EM 2-16
                  Flash Recovery Area Space Usage 2-17
                  V$FLASH_RECOVERY_AREA_USAGE 2-18
                  Backing Up the Flash Recovery Area 2-20
                  Benefits of Using a Flash Recovery Area 2-21
                  Setting Parameters That Affect RMAN 2-22



                                                    iii
Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
北京尚观科技有限公司



                  RMAN Usage Considerations 2-24
                  Connection Types with RMAN 2-25
                  Starting RMAN 2-26
                  Additional RMAN Command-Line Arguments 2-27
                  Configuring Persistent Settings for RMAN 2-28
                  Configuring RMAN Settings by Using EM 2-29
                  Control File Autobackups 2-30
                  Retention Policies 2-32
                  Managing Persistent Settings 2-34
                  Channel Allocation 2-35
                  Automatic and Manual Channel Allocation 2-36
                  Channel Control Options 2-37                                                le
                  Summary 2-39                                                         fe rab
                                                                                   n s
                  Practice Overview: Configuring RMAN 2-40
                                                                          o n -tra
              3   Using Recovery Manager               s an
                  Objectives 3-2
                                                 m ) ha ideฺ
                                              ฺco nt Gu
                  Issuing Recovery Manager Commands 3-3
                                            g
                                         kin ude
                  Types of RMAN Commands 3-5
                                       o
                                  u plo is St
                  Job Commands: Example 3-6
                  RMAN Commands: Overview 3-7
                              g@ se th
                           hon to u
                  BACKUP Command 3-9
                         z
                     hen nse
                  Backup Constraints 3-10

              he n (c lice
                  Parallelization of Backup Sets 3-11
                  Compressed Backups 3-13
             c
   zh ong         Image Copy 3-14
                  Tags for Backups and Image Copies 3-16
                  BACKUP Command Options 3-17
                  Backing Up Archived Redo Logs 3-19
                  Whole Database Backup 3-21
                  RMAN Backup Types 3-22
                  Differential Versus Cumulative 3-24
                  Block Change Tracking 3-25
                  Enabling Block Change Tracking 3-26
                  Incrementally Updating Backups 3-27
                  LIST Command 3-28
                  REPORT Command 3-29
                  REPORT NEED BACKUP Command 3-30
                  REPORT NEED BACKUP: Examples 3-31
                  REPORT OBSOLETE and DELETE OBSOLETE 3-32



                                                   iv
Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
北京尚观科技有限公司



                  Managing Backups with EM 3-33
                  RMAN Dynamic Views 3-34
                  Monitoring RMAN Backups 3-36
                  Summary 3-38
                  Practice Overview: Backing Up Your Database 3-39

              4   Recovering from Noncritical Losses
                  Objectives 4-2
                  Causes of File Loss 4-3
                  Critical Versus Noncritical 4-4
                  Losing a TEMPFILE 4-5
                                                                                                   le
                                                                                               rab
                  Recovering from a TEMPFILE Loss 4-6
                  Log Group Status: Review 4-7
                                                                                      n s   fe
                  Losing a Redo Log Group Member 4-8
                  Re-creating Redo Log Files 4-9                             o n -tra
                  Re-creating Indexes 4-13                  s an
                                                        ) ha ideฺ
                  Authentication Methods for Database Administrators 4-15
                                                      m
                                                   ฺco nt Gu
                  Re-creating a Password Authentication File 4-16
                                                 g
                  Summary 4-18
                                            o kin ude
                                         plo is St
                  Practice Overview: Recovering from Lost TEMPFILE and Redo Log File 4-19
                                       u
                                 g@ se th
                              hon to u
             5 Database Recovery
                            z
               Objectives n
                      he 5-2nse5-3
               n (c lice
               Recovery Methods

          g cheUser-Managed Recovery: RECOVER Command 5-4
   z hon          RMAN Recovery: RESTORE and RECOVER Commands 5-5
                  Recovery Using Enterprise Manager 5-6
                  Complete Versus Incomplete Recovery 5-7
                  Complete Recovery Process 5-8
                  Incomplete Recovery Process 5-9
                  Situations Requiring Incomplete Recovery 5-11
                  Types of Incomplete Recovery 5-12
                  Performing User-Managed Incomplete Recovery 5-14
                  User-Managed Time-Based Recovery: Example 5-16
                  User-Managed Cancel-Based Recovery: Example 5-18
                  Performing Incomplete Recovery by Using RMAN 5-20
                  Time-Based Recovery Using RMAN: Example 5-21
                  Log Sequence Recovery Using RMAN: Example 5-23
                  Incomplete Recovery Using Enterprise Manager 5-24
                  Incomplete Recovery and the Alert Log 5-25



                                                    v
Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
北京尚观科技有限公司



                  Restore Points 5-26
                  Incomplete Recovery: Best Practices 5-27
                  Recovering a Control File Autobackup 5-29
                  Creating a New Control File 5-31
                  Recovering Read-Only Tablespaces 5-33
                  Read-Only Tablespace Recovery Issues 5-35
                  Summary 5-37
                  Practice Overview: Performing Incomplete Recovery 5-38

              6   Flashback
                  Objectives 6-2
                  Flashback Technology: Review 6-3                                            le
                  Flashback Drop and the Recycle Bin 6-4                               fe rab
                                                                                   n s
                  Recycle Bin 6-5
                  Restoring Tables from the Recycle Bin 6-7                on -tra
                                                         an
                  Recycle Bin: Automatic Space Reclamation 6-8
                                                       s
                                                   ) ha ideฺ
                  Recycle Bin: Manual Space Reclamation 6-10
                                                 m
                                              ฺco nt Gu
                  Bypassing the Recycle Bin 6-11
                                            g
                                         kin ude
                  Querying the Recycle Bin 6-12
                                       o
                                  u plo is St
                  Querying Data from Dropped Tables 6-13
                  Flashback Database: Review 6-14
                              g@ se th
                           hon to u
                  Flashback Database Architecture 6-15
                         z
                     hen nse
                  Configuring Flashback Database 6-16

              he n (c lice
                  Configuring Flashback Database Using EM 6-17
                  Flashback Database: Examples 6-19
             c
   zh ong         Performing Flashback Database Using EM 6-20
                  Flashback Database Considerations 6-23
                  Monitoring Flashback Database 6-25
                  Monitoring Flashback Database with EM 6-27
                  Guaranteed Restore Points 6-28
                  Summary 6-29
                  Practice Overview: Performing Flashback Database 6-30

              7   Dealing with Database Corruption
                  Objectives 7-2
                  What Is Block Corruption? 7-3
                  Block Corruption Symptoms: ORA-01578 7-4
                  How to Handle Corruption 7-5
                  Corruption-Related Features 7-7
                  DBVERIFY Utility 7-8




                                                    vi
Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
北京尚观科技有限公司



                 Interpreting DBVERIFY Output 7-9
                 ANALYZE Command 7-11
                 Verifying Block Integrity in Real Time: DB_BLOCK_CHECKING 7-12
                 Verifying Block Integrity in Real Time: DB_BLOCK_CHECKSUM 7-13
                 Using EXP to Detect Corruption 7-14
                 Using Flashback for Logical Corruption 7-15
                 DBMS_REPAIR Package 7-16
                 Using DBMS_REPAIR 7-17
                 Block Media Recovery (BMR) 7-21
                 BLOCKRECOVER Command 7-22
                 Examples of Using BLOCKRECOVER 7-23
                                                                                                le
                 The RMAN BMR Interface 7-25
                                                                                         fe rab
                 Alternative Actions to Take 7-26                                    ns
                 Summary 7-27
                                                                             on -tra
                                                                   an
                 Practice Overview: Perform Block Media Recovery 7-28
                                                                 s
             8 Monitoring and Managing Memory              m ) ha ideฺ
                                                        ฺco nt Gu
                                                     ing de
               Objectives 8-2
               Memory Management: Overview ok    8-3
               Oracle Memory Structures up 8-4
                                              lo Stu
               Buffer Cache 8-6 ng@             this
                          nz  ho to use
               Using Multiple Buffer Pools 8-8
               Sharedhe 8-10e
                       Pool     s
                n (c li en
               Large Pool c8-11
          g cheJava Pool 8-12
   z hon         Redo Log Buffer 8-13
                 Automatic Shared Memory Management: Overview 8-14
                 Benefits of Automatic Shared Memory Management 8-15
                 How ASMM Works 8-16
                 Configuring ASMM by Using Database Control 8-17
                 Manually Configuring ASMM 8-18
                 Behavior of Autotuned SGA Parameters 8-21
                 Behavior of Manually Tuned SGA Parameters 8-22
                 Using the V$PARAMETER View 8-23
                 Modifying the SGA_TARGET Parameter 8-24
                 Disabling ASMM 8-25
                 Manually Resizing Dynamic SGA Parameters 8-26
                 Program Global Area (PGA) 8-27
                 Automatic PGA Memory Management 8-29




                                                    vii
Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
北京尚观科技有限公司



                  PGA Management Resources 8-30
                  Using the Memory Advisor to Size the SGA 8-31
                  Using the Memory Advisor to Size the PGA 8-32
                  Efficient Memory Usage: Guidelines 8-33
                  Memory Tuning Guidelines for the Library Cache 8-35
                  Summary 8-37
                  Practice Overview: Using ASMM to Correct a Memory Allocation Problem 8-38

              9   Automatic Performance Management
                  Objectives 9-2
                  Tuning Activities 9-3
                  Performance Planning 9-4                                                       le
                  Instance Tuning 9-6                                                     fe rab
                                                                                      n s
                  Performance Tuning Methodology 9-7
                  Statistics Collection 9-8                                   on -tra
                  Oracle Wait Events 9-10              s an
                  System Statistics 9-11
                                                 m ) ha ideฺ
                                              ฺco nt Gu
                  Displaying Session-Related Statistics 9-13
                                            g
                                         kin ude
                  Displaying Service-Related Statistics 9-14
                                       o
                                  u plo is St
                  Troubleshooting and Tuning Views 9-15
                  Dictionary Views 9-16
                              g@ se th
                           hon to u
                  Diagnosis of Hung or Extremely Slow Databases 9-17
                         z
                     hen nse
                  Using Memory Access Mode 9-18

              he n (c lice
                  Using the Hang Analysis Page 9-19
                  Automatic Workload Repository 9-21
             c
   zh ong         AWR Snapshot Baselines 9-23
                  Advisory Framework: Overview 9-24
                  Database Control and Advisors 9-26
                  Typical Advisor Tuning Session 9-27
                  Manually Invoking ADDM 9-28
                  Using the SQL Tuning Advisor: Review 9-29
                  SQL Access Advisor: Overview 9-30
                  Typical SQL Access Advisor Session 9-31
                  Workload Source 9-32
                  Recommendation Options 9-33
                  Reviewing Recommendations 9-35
                  Asynchronous COMMIT 9-36
                  Using Asynchronous COMMIT 9-37
                  Summary 9-38
                  Practice Overview: Using ADDM to Diagnose Performance Problems 9-39



                                                    viii
Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
北京尚观科技有限公司



              10 Managing Schema Objects
                 Objectives 10-2
                 Table Types 10-3
                 What Is a Partition and Why Use It? 10-4
                 Partitions 10-5
                 Creating a Partition 10-6
                 Partitioning Methods 10-7
                 Partition Maintenance 10-8
                 Index-Organized Tables 10-9
                 Index-Organized Tables and Heap Tables 10-10
                 Creating Index-Organized Tables 10-12
                 Clusters 10-13                                                               le
                 Cluster Types 10-14                                                   fe rab
                                                                                   n s
                 Situations Where Clusters Are Useful 10-16
                 Sorted Hash Cluster: Overview 10-17                      o n -tra
                 Sorted Hash Cluster: Example 10-18    s an
                                                   ) ha ideฺ
                 Sorted Hash Cluster: Basic Architecture 10-19
                                                 m
                 Schema Management Tasks 10-20
                                            g ฺco nt Gu
                                         kin ude
                 Estimating Resource Usage 10-21
                                       o
                                  u plo is St
                 Analyzing Growth Trends 10-22
                 Managing Optimizer Statistics 10-23
                              g@ se th
                           hon to u
                 Reorganizing Schema Objects Online 10-24
                         z
                     hen nse
                 Reorganizing Objects: Impact Report 10-26

              he n (c lice
                 Reorganizing Objects: Review 10-27
                 Basic Steps for Manual Online Reorganization 10-28
             c
   zh ong        Summary 10-29
                 Practice Overview: Managing Schema Objects 10-30

              11 Managing Storage
                 Objectives 11-2
                 Space Management: Overview 11-3
                 Free Space Management 11-4
                 Types of Segments 11-5
                 Allocating Extents 11-6
                 Block Space Management 11-7
                 Row Chaining and Migration 11-8
                 Proactive Tablespace Monitoring 11-9
                 Thresholds and Resolving Space Problems 11-10
                 Monitoring Tablespace Space Usage 11-11
                 Shrinking Segments 11-12
                 Results of Shrink Operation 11-13


                                                    ix
Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
北京尚观科技有限公司



                 Space Reclamation with ASSM 11-14
                 Segment Advisor: Overview 11-15
                 Segment Advisor 11-16
                 Implementing Recommendations 11-18
                 Database Control and Segment Shrink 11-19
                 Shrinking Segments by Using SQL 11-20
                 Managing Resumable Space Allocation 11-21
                 Using Resumable Space Allocation 11-22
                 Resuming Suspended Statements 11-24
                 Transporting Tablespaces 11-26
                 Concept: Minimum Compatibility Level 11-27
                 Transportable Tablespace Procedure 11-28                                      le
                 Determining the Endian Format of a Platform 11-29                      fe rab
                                                                                    ns
                 Transporting Databases 11-30
                                                                           o n -tra
                 Database Transportation Procedure: Source System Conversion 11-31
                                                                  an
                 Database Transportation Procedure: Target System Conversion 11-32
                                                                s
                                                            ) ha ideฺ
                 Database Transportation: Considerations 11-33
                                                          m
                 Summary 11-34
                                                    g ฺco nt Gu
                                                 kin ude
                 Practice Overview: Managing Storage 11-35
                                               o
                                         u plo is St
             12 Automatic Storage Managementh
                Objectives 12-2 on
                                    g@ se t
                              h          u
                         enz se to
                Automatic Storage Management: Review 12-3
                       h n
                ASM c
                   ( GeneraleArchitecture 12-5
                 n       lic
          g cheASM Instance Tasks 12-7
     hon
                 Creating an ASM Instance 12-8
   z             ASM Instance Initialization Parameters 12-9
                 Database Instance Parameter Changes 12-10
                 Starting Up an ASM Instance 12-11
                 Accessing an ASM Instance 12-12
                 ASM Home Page 12-14
                 ASM Performance Page 12-15
                 ASM Configuration Page 12-16
                 Shutting Down an ASM Instance 12-17
                 DBCA and Storage Options 12-19
                 ASM Storage: Concepts 12-20
                 ASM Disk Groups 12-21
                 Failure Group 12-22
                 Disk Group Mirroring 12-23
                 Disk Group Dynamic Rebalancing 12-24
                 Managing Disk Groups 12-25


                                                   x
Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
北京尚观科技有限公司



                 ASM Administration Page 12-26
                 Create Disk Group Page 12-27
                 Creating and Dropping Disk Groups 12-28
                 Adding Disks to Disk Groups 12-29
                 Miscellaneous ALTER Commands 12-31
                 ASM Files 12-33
                 ASMCMD Utility 12-34
                 Migrating Your Database to ASM Storage 12-35
                 Summary 12-37
                 Practice Overview: Using Automatic Storage Management 12-38

                                                                                                    le
                                                                                                rab
              13 Managing Resources
                 Objectives 13-2
                                                                                         ns  fe
                 Database Resource Manager: Overview 13-3
                 Database Resource Manager Concepts 13-4                        o n -tra
                 Why Use Resource Manager 13-5         s an
                 Accessing Resource Plans 13-7
                                                 m ) ha ideฺ
                 Example: SYSTEM_PLAN 13-8
                                            g ฺco nt Gu
                                         kin ude
                 Creating a New Resource Plan 13-9
                                       o
                                    plo is St
                 Creating Consumer Groups 13-10
                                  u
                              g@ se th
                 Assigning Users to Consumer Groups 13-11
                           hon to u
                 Specifying Resource Plan Directives 13-12
                         z
                     hen nse
                 Resource Allocation Methods for Resource Plans 13-13

              he n (c lice
                 Comparison of EMPHASIS and RATIO 13-14
             c   Active Session Pool Mechanism 13-16

   zh ong        Setting the Active Session Pool 13-17
                 Maximum Estimated Execution Time 13-18
                 Consumer Group Switching 13-19
                 Switching Back to the Initial Consumer Group at the End of Call 13-20
                 Setting Idle Timeouts 13-22
                 Resource Consumer Group Mapping 13-23
                 Activating a Resource Plan for an Instance 13-25
                 Database Resource Manager Information 13-26
                 Monitoring the Resource Manager 13-27
                 Summary 13-30
                 Practice Overview: Using the Resource Manager 13-31

              14 Automating Tasks with the Scheduler
                 Objectives 14-2
                 Simplifying Management Tasks 14-3



                                                      xi
Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
北京尚观科技有限公司



                 A Simple Job 14-4
                 Key Components and Steps 14-5
                 1. Creating a Program 14-6
                 2. Creating and Using Schedules 14-7
                 3. Creating and Running a Job 14-8
                 4. Monitoring a Job 14-9
                 Using a Time-Based or Event-Based Schedule 14-10
                 Creating a Time-Based Job 14-11
                 Creating an Event-Based Schedule 14-13
                 Creating Event-Based Schedules with Enterprise Manager 14-14
                 Creating an Event-Based Job 14-15
                 Event-Based Scheduling 14-16                                                     le
                 Creating Complex Schedules 14-18                                          fe rab
                                                                                       ns
                 Creating Job Chains 14-19
                 Example of a Chain 14-21                                   o   n -tra
                 1. Creating a Chain Object 14-22      s an
                 2. Defining Chain Steps 14-23
                                                 m ) ha ideฺ
                 3. Defining Chain Rules 14-24
                                            g ฺco nt Gu
                                         kin ude
                 4. Starting the Chain 14-25
                                       o
                                  u plo is St
                 Monitoring Job Chains 14-26
                 Advanced Scheduler Concepts 14-27
                              g@ se th
                           hon to u
                 Creating a Job Class 14-28
                         z
                     hen nse
                 Creating a Window 14-29

              he n (c lice
                 Prioritizing Jobs Within a Window 14-30
                 Summary 14-31
             c
   zh ong        Practice Overview: Automating Tasks with the Scheduler 14-32

              15 Database Security
                 Objectives 15-2
                 Oracle Transparent Data Encryption (TDE): Overview 15-3
                 TDE Process 15-5
                 Implementing Transparent Data Encryption 15-6
                 Existing Tables and TDE 15-9
                 Transparent Data Encryption: Considerations 15-10
                 Wallet Support for Usernames and Passwords 15-11
                 Data Pump and Transparent Data Encryption 15-12
                 RMAN Encrypted Backups: Overview 15-13
                 Transparent Mode Setup 15-14
                 Password Mode Setup 15-15
                 Dual Mode Setup 15-16
                 RMAN-Encrypted Backups: Considerations 15-17


                                                   xii
Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
北京尚观科技有限公司



                 Need for Data Privacy 15-18
                 Definition and Usage of Terms 15-19
                 Virtual Private Database: Overview 15-20
                 Virtual Private Database: Features 15-21
                 Column-Level VPD: Example 15-22
                 Creating a Column-Level Policy 15-23
                 Summary 15-24
                 Practice Overview: Using Oracle Database Security 15-25

              16 Using Globalization Support
                 Objectives 16-2
                 What Every DBA Needs to Know 16-3                                                 le
                 What Is a Character Set? 16-4                                              fe rab
                                                                                        ns
                 Understanding Unicode 16-6
                 How Are Character Sets Used? 16-8                           o   n -tra
                 Problems to Avoid 16-9                s an
                 Another Sample Problem 16-10
                                                 m ) ha ideฺ
                                              ฺco nt Gu
                 Choosing Your Character Set 16-11
                                            g
                                         kin ude
                 Database Character Sets and National Character Sets 16-12
                                       o
                                  u plo is St
                 Obtaining Character Set Information 16-13
                 Specifying Language-Dependent Behavior 16-14
                              g@ se th
                           hon to u
                 Specifying Language-Dependent Behavior for the Session 16-15
                         z
                     hen nse
                 Language- and Territory-Dependent Parameters 16-16

              he n (c lice
                 Specifying Language-Dependent Behavior 16-18
                 Linguistic Searching and Sorting 16-19
             c
   zh ong        Using Linguistic Searching and Sorting 16-21
                 Case- and Accent-Insensitive Search and Sort 16-23
                 Support in SQL and Functions 16-24
                 Linguistic Index Support 16-25
                 Customizing Linguistic Searching and Sorting 16-26
                 Implicit Conversion Between CLOB and NCLOB 16-27
                 NLS Data Conversion with Oracle Utilities 16-28
                 NLS Data Conversion with Data Pump 16-30
                 Globalization Support Features 16-31
                 Summary 16-32
                 Practice Overview: Using Globalization Support Features 16-33

              17 Workshop
                 Objectives 17-2
                 Workshop Methodology 17-3
                 Business Requirements 17-5


                                                   xiii
Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
北京尚观科技有限公司



                 Database Configuration 17-6
                 Method for Resolving Database Issues 17-7
                 Summary 17-9
                 Practice Overview: Workshop Setup 17-10

              Appendix A: Practices

              Appendix B: Solutions

              Appendix C: Basic Linux and vi Commands

              Appendix D: Acronyms and Terms
                                                                                              le
              Appendix E: Oracle Shared Servers                                        fe rab
                                                                                   n s
                                                                              -tra
                Objectives E-2
                Establishing a Connection E-3                             o n
                Dedicated Server Process E-4
                                                        s an
                User Sessions E-5
                                                  m ) ha ideฺ
                                               ฺco nt Gu
                User Sessions: Dedicated Server E-6
                                             g
                                          kin ude
                User Sessions: Shared Server E-7
                                        o
                SGA and PGA E-9    u plo is St
                Processing a Request E-8

                               g@ se th
                            hon to u
                UGA and Oracle Shared Server E-10
                          z
                     hen nse
                Configuring Oracle Shared Server E-11

                 n (c lice E-14
                DISPATCHERS E-12
              heSHARED_SERVERS
             c
   zh ong        MAX_SHARED_SERVERS E-15
                 CIRCUITS E-16
                 SHARED_SERVER_SESSIONS E-17
                 Related Parameters E-18
                 Verifying Shared Server Setup E-19
                 Data Dictionary Views E-21
                 Choosing a Connection Type E-22
                 When Not to Use Shared Server E-23
                 Summary E-24

              Appendix F: Oracle Secure Backup
                Objectives F-2
                Data Protection to Tape for the Oracle Stack F-3
                The Customer Advantage: Complete Oracle Solution F-4
                Oracle Secure Backup for Centralized Tape Backup Management F-5
                Oracle Secure Backup Administrative Domain F-6


                                                  xiv
Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
北京尚观科技有限公司



                 Oracle Secure Backup: Backup Management Overview F-7
                 Oracle Secure Backup Catalog F-8
                 Oracle Secure Backup Users F-9
                 Predefined Classes F-11
                 Oracle Secure Backup Interface Options F-12
                 Managing Data to Be Protected F-13
                 Oracle Secure Backup Media Concepts F-14
                 Volume Set Recycling F-15
                 Automated Device Management F-17
                 Library Management Operations F-18
                 Oracle Secure Backup: Installation F-19
                 Installing Oracle Secure Backup Software F-20                                    le
                 Administrative Server Installation: Example F-21                          fe rab
                                                                                       ns
                 Defining Your Administrative Server in EM F-22
                 The Oracle Secure Backup Device and Media Page F-23           on -tra
                 Adding Devices F-24                   s an
                 Managing Devices by Using EM F-25
                                                 m ) ha ideฺ
                                              ฺco nt Gu
                 RMAN and Oracle Secure Backup F-26
                                            g
                                         kin ude
                 Accessing Oracle Secure Backup from RMAN F-27
                                       o
                                  u plo is St
                 User Preauthorization F-28
                 Database Backup Storage Selector F-29
                              g@ se th
                           hon to u
                 RMAN and Oracle Secure Backup: Usage Model F-30
                         z
                     hen nse
                 Defining Database Storage Selector F-31

              he n (c lice
                 Testing Your Tape Drives F-32
                 Scheduling Backups by Using EM Database Control F-33
             c
   zh ong        Oracle-Suggested Strategy for Backups F-34
                 Managing Tape Backups F-35
                 Performing Database Recovery by Using Tape Backups F-36
                 Backing Up File System Files with Oracle Secure Backup F-37
                 Oracle Secure Backup Web Tool F-38
                 Oracle Secure Backup Data Set Scripts F-39
                 Data Set Script: Examples F-40
                 Data Set Organization F-41
                 Creating Data Sets Using the Web Interface F-42
                 File System Files: Backup Concepts F-43
                 Oracle Secure Backup Jobs F-44
                 Creating On-Demand Backup Requests F-46
                 Sending Backup Requests to the Scheduler F-47
                 Creating Backup Schedules F-48
                 Creating Backup Triggers F-49
                 Viewing Job Properties and Transcripts F-50


                                                   xv
Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
北京尚观科技有限公司



                 Restoring File System Files with Oracle Secure Backup F-51
                 Creating a Catalog-Based Restore Request F-52
                 Sending Catalog-Based Restore Requests to the Scheduler F-55
                 Listing All Backups of a Client F-56
                 Summary F-57

              Appendix G: Miscellaneous Topics
                Appendix Overview G-2
                Bigfile Tablespaces: Overview G-3
                Benefits of Bigfile Tablespaces G-4
                Bigfile Tablespace: Usage Model G-5
                Creating Bigfile Tablespaces G-7                                                  le
                SQL Statement Clauses G-8                                                  fe rab
                                                                                       ns
                BFTs and SQL Statements: Examples G-9
                Data Dictionary Additions To Support VLDB G-10              o   n -tra
                Extended ROWID Format and BFTs G-11                s an
               VLDB Support: DBMS_ROWID Package G-13
                                                           m  ) ha ideฺ
                                                       ฺco nt G
               Temporary Tablespace Group (TTG): Overview G-14 u
                                                     g
                                                 kin ud
               Temporary Tablespace Group: Benefits G-15 e
                                               o
                                           plo is St
               Creating and Maintaining Temporary Tablespace Groups G-16
                                         u h
               Temporary Tablespace @
               Summary G-20 on
                                   g Group:eSQL Examples G-17
                                          s
                                              t
                             h          u
                        enz se to
                  (ch ce Steps: Continuing Your Education
             Appendix H: Nextn
                n        i
          g cheWhere Dol You Go from Here? H-2
   z hon         Continuing Education Resources H-3
                 Oracle University H-4
                 Continuing Your Education H-5
                 Oracle University Knowledge Center H-6
                 Oracle Technology Network H-7
                 Oracle Technology Training H-8
                 Oracle by Example H-9
                 Oracle Magazine H-10
                 Oracle Applications Community H-11
                 Technical Support: Oracle MetaLink H-12
                 Thank You! H-13

              Index




                                                   xvi
Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
北京尚观科技有限公司




                                                                          Preface




                                                                                              le
                                                                                       fe rab
                                                                                   n s
                                                                          o n -tra
                                                       s an
                                                 m ) ha ideฺ
                                            g ฺco nt Gu
                                       o kin ude
                                  u plo is St
                              g@ se th
                         z hon to u
                     hen nse
              he n (c lice
             c
   zh ong




Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
北京尚观科技有限公司




                                                                                              le
                                                                                       fe rab
                                                                                   n s
                                                                          o n -tra
                                                       s an
                                                 m ) ha ideฺ
                                            g ฺco nt Gu
                                       o kin ude
                                  u plo is St
                              g@ se th
                         z hon to u
                     hen nse
              he n (c lice
             c
   zh ong




Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
北京尚观科技有限公司
       Profile


        Before You Begin This Course
        Before you begin this course, you should have the following qualifications:
          •      Working experience with SQL and knowledge of basic Unix commands
        Prerequisites
        Oracle Database 10g: Administration Workshop I (D17090GC30)

        How This Course Is Organized
        Oracle Database 10g: Administration Workshop I is an instructor-led course featuring lecture and hands-on
        exercises. Online demonstrations and written practice sessions reinforce the concepts and skills introduced.

        Suggested Next Courses
          •      Oracle Database 10g: SQL Tuning Workshop (D17265GC10)
                                                                                                               l  e
          •      Oracle Enterprise Manager 10g Grid Control (D17244GC11)
                                                                                                        fe rab
          •      Oracle Database 10g: Real Application Clusters (D17276GC10)                       n  s
          •      Oracle Database 10g: Implement Streams (D17333GC10)
                                                                                         o  n -tra
          •                                                   an
                 Oracle Database 10g: Data Guard Administration (D17316GC11)
                                                            s
                                                      m ) ha ideฺ
                                                 g ฺco nt Gu
                                            o kin ude
                                       u plo is St
                                   g@ se th
                              z hon to u
                          hen nse
                   he n (c lice
                 c
   zh ong




                                                      Preface - 3
Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
北京尚观科技有限公司
     Related Publications


        Oracle Publications
        Title                                                                                Part Number
        Oracle Database 2 Day DBA 10g Release 2 (10.2)                                       B14196-02
        Oracle Database Administrator's Guide 10g Release 2 (10.2)                           B14231-01
        Oracle Database Application Developer’s Guide - Large Objects 10g Release 2 (10.2)   B14249-01
        Oracle Database Backup and Recovery Advanced User's Guide 10g Release 2 (10.2)       B14191-02
        Oracle Database Backup and Recovery Basics 10g Release 2 (10.2)                      B14192-03
        Oracle Database Concepts 10g Release 2 (10.2)                                        B14220-02
        Oracle Database Data Warehousing Guide 10g Release 2 (10.2)                          B14223-02
        Oracle Database Globalization Support Guide 10g Release 2 (10.2)                     B14225-01
        Oracle Database Licensing Information 10g Release 2 (10.2)                           B14199-02
        Oracle Database Net Services Administrator's Guide 10g Release 2 (10.2)              B14212-02
                                                                                                          le
                                                                                                      rab
        Oracle Database Net Services Reference 10g Release 2 (10.2)                          B14213-01
        Oracle Database New Features Guide 10g Release 2 (10.2)                                    fe
                                                                                             B14214-02
                                                                                              n  s
                                                                                         -tra
        Oracle Database Performance Tuning Guide 10g Release 2 (10.2)                        B14211-01
        Oracle Database PL/SQL Packages and Types Reference 10g Release 2 (10.2)
                                                                                     o n     B14258-01

                                                                   s an
        Oracle Database PL/SQL User's Guide and Reference 10g Release 2 (10.2)               B14261-01

                                                               ) ha ideฺ
        Oracle Database Recovery Manager Quick Start Guide 10g Release 2 (10.2)              B14193-03
        Oracle Database Recovery Manager Reference 10g Release 2 (10.2)
                                                             m                               B14194-03
        Oracle Database Reference 10g Release 2 (10.2)
                                                      g  ฺco nt Gu                           B14237-02
                                                 o kin ude
        Oracle Database Security Guide 10g Release 2 (10.2)                                  B14266-01

                                            u plo is St
        Oracle Database SQL Quick Reference 10g Release 2 (10.2)
        Oracle Database SQL Reference 10g Release 2 (10.2)
                                                                                             B14195-02
                                                                                             B14200-02
                                     g@ se th
                                hon User’s Guide and Reference
        Oracle Database Utilities 10g Release 2 (10.2)                                       B14215-01
      Oracle Streams Advanced z
                                           u
                          enQueuing to                                                       B14257-01

                  n  (ch cense
      Oracle Streams Concepts and Administration                                             B14229-01
            che           li
   zh ong Publications
      Additional
          •     System release bulletins
          •     Installation and user guides
          •     read.me files
          •     International Oracle Users Group (IOUG) articles
          •     Oracle Magazine




                                                       Preface - 4
Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
北京尚观科技有限公司
     Typographic Conventions
       Typographic Conventions in Text

        Convention       Element                        Example
        Bold             Emphasized words and           To navigate within this application, do not click
                         phrases in Web content         the Forward and Back buttons.
                         only
        Bold italic      Glossary term (if there is     The algorithm inserts the new key.
                         a glossary)

        Brackets         Key names                      Press [Enter].

        Caps and         Buttons,                       Click the Executable button.
        lowercase        check boxes,                   Select the Can’t Delete Card check box.
                         application triggers,          Assign a When-Validate-Item trigger to the
                         windows                        ORD block.                                           le
                                                        Open the Master Schedule window.
                                                                                                      fe rab
                                                                                                 n   s
        Angle brackets   Menu paths                     Select File > Save.
                                                                                 o        n -tra
       Commas          Key sequences             Press and release the as
                                                                            a n keys one at a
                                                                       following
                                                                    ) h ideฺ
                                                 time: [Alt], [F], [D]
                                                                m
       Courier new,    Code output,                       ฺco nt Gu
                                                 Code output: debug.set ('I', 300);
                                                        g
       case sensitive  directory names,            kin ude
                                                 Directory: bin (DOS), $FMHOME (UNIX)
                                                o name: Locate the
       (default is
       lowercase)
                       file names,
                       passwords,
                                             plo Password: Use tigerinit.ora file.
                                            u his St
                                                 File

                       path names,ng
                                       @ et                              as your password.

                             zho to us User input: Enter 300.
                                                 Path name: Open c:my_docsprojects.
                       user input,
                           n
                      che ense
                       usernames
                   n ( lic
                                                 Username: Log in as HR.

       Initialc
                he
      ong
              cap      Graphics labels           Customer address (but Oracle Payables)
   zh                  (unless the term is a
                         proper noun)

        Italic           Emphasized words and           Do not save changes to the database.
                         phrases,
                         titles of books and            For further information, see Oracle Database
                         courses,                       SQL Reference 10g Release 2(10.2).
                         variables
                                                        Enter user_id@us.oracle.com, where
                                                        user_id is the name of the user.




                                                      Preface - 5
Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
北京尚观科技有限公司
     Typographic Conventions (continued)
        Typographic Conventions in Text (continued)

         Convention         Element               Example
         Quotation marks    Interface elements    Select “Include a reusable module component” and
                            with long names       click Finish.
                            that have only
                            initial caps;         This subject is covered in the lesson titled, “Working
                            lesson and chapter    with Objects.”
                            titles in cross-
                            references

         Uppercase          SQL column            Use the SELECT command to view information stored
                            names, commands,      in the LAST_NAME column of the EMPLOYEES table.
                            functions, schemas,
                            table names,                                                                  le
                            database trigger                                                       fe rab
                            names                                                             n  s
                                                                     o                 n -tra
                                                               s an
                                                           ) ha ideฺ
      Typographic Conventions in Code
                                                         m
       Convention       Element            Example   ฺco nt Gu
                                                    g e
       Lowercase        Column names,      SELECTin
                                                k last_name
                                              o        d
                        table names,       FROM
                                         u hs      Stu
                                           plo iemployees;
                        names on
                                     g@ sCREATE OR REPLACE TRIGGER secure_employees
                        database trigger
                                           et
                              h          u
                        enz se to CREATE USER scott
                    (chPasswords
                              n
           c h en       lice               IDENTIFIED BY tiger;

      o ng              PL/SQL objects     items.DELETE(3);
   zh
         Lowercase italic   Syntax variables      CREATE ROLE role

         Uppercase          SQL commands          SELECT first_name
                            and functions         FROM employees;




                                                   Preface - 6
Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
北京尚观科技有限公司
       Typographic Conventions (continued)
        Typographic Conventions in Navigation Paths
        This course uses simplified navigation paths, such as the following example, to direct you through Oracle
        applications.
        Example:

        Invoice Batch Summary
        (N) Invoice > Entry > Invoice Batches Summary (M) Query > Find (B) Approve


        This simplified path translates to the following:
          1. (N) From the Navigator window, select Invoice > Entry > Invoice Batches Summary.
          2. (M) From the menu, select Query > Find.
          3. (B) Click the Approve button.
                                                                                                               l    e
                                                                                                           rab
          Notation:
              (N) = Navigator        (I) = Icon
                                                                                                  n   s fe
              (M) = Menu             (H) = Hyperlink
                                                                                         o n -tra
              (T) = Tab              (B) = Button
                                                          s an
                                                    m ) ha ideฺ
                                               g ฺco nt Gu
                                          o kin ude
                                     u plo is St
                                 g@ se th
                            z hon to u
                        hen nse
                 he n (c lice
               c
   zh ong




                                                        Preface - 7
Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
北京尚观科技有限公司




                                                                                              le
                                                                                       fe rab
                                                                                   n s
                                                                          o n -tra
                                                       s an
                                                 m ) ha ideฺ
                                            g ฺco nt Gu
                                       o kin ude
                                  u plo is St
                              g@ se th
                         z hon to u
                     hen nse
              he n (c lice
             c
   zh ong




Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
北京尚观科技有限公司




                                          Introduction

                                                                                                   le
                                                                                            fe rab
                                                                                        ns
                                                                              o  n -tra
                                                                          s an
                                                              m   ) ha ideฺ
                                                   g  ฺco nt Gu
                                          o  kin ude
                                  u  plo is St
                           g@ se th
                        honCopyright © 2008, Oracle. All rights reserved.
                                 u
                     enz se to
                  (ch cen
             chen    li
   zh ong




Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
北京尚观科技有限公司



                                    Lesson Objectives


              After completing this lesson, you should be able to do
              the following:
               • List the course objectives and explain the class
                   structure
               • Review the Oracle Database 10g architecture
                                                                                                   le
                                                                                            fe rab
                                                                                        ns
                                                                              o  n -tra
                                                                          s an
                                                              m   ) ha ideฺ
                                                   g  ฺco nt Gu
                                          o  kin ude
                                  u  plo is St
                           g@ se th
                        honCopyright © 2008, Oracle. All rights reserved.
                                 u
                     enz se to
                  (ch cen
             chen    li
   z h ong




Unauthorized reproduction or distribution 10g: Administration Workshop II 1 - 2 and/or its affiliates.
                       Oracle Database prohibited. Copyright© 2009, Oracle
北京尚观科技有限公司



                                    Course Objectives


              In this course, you gain experience in:
               • Using Recovery Manager (RMAN) for advanced
                   backup and recovery
               • Employing database monitoring practices for
                   memory, performance, and storage
               • Managing resources, job schedules, security, and rabl
                                                                       e
                                                                    e
                   globalization issues                       a nsf
                                                                            no n-tr
                                                                             a
                                                                        h as ฺ
                                                              o  m) uide
                                                   n  gฺc ent G
                                           o oki tud
                                     upl his S
                           o ng@ se t
                                    u
                        nzh e Copyright © 2008, Oracle. All rights reserved.
                     e s to
                  (ch cen
             chen    li
   z h ong




Unauthorized reproduction or distribution 10g: Administration Workshop II 1 - 3 and/or its affiliates.
                       Oracle Database prohibited. Copyright© 2009, Oracle
北京尚观科技有限公司



                                   Suggested Schedule


                     1: Introduction                                10: Schema
                     2: Configuring RMAN                            11: Storage
                     3: Using RMAN                                  12: ASM
                     4: Non-Critical Recovery
                                                                    13: Resources
                                                                                             e
                     5: Recovery                                    14: Scheduler
                                                                                     fer abl
                     6: Flashback                                   15: Security ans
                     7: Corruption                                          no n-tr
                     8: Memory                                  16: s a
                                                                 haGlobalization
                                                                        ฺ
                                                              ) 17: Workshop
                                                            m uide
                                                           o G
                                                        gฺc entAppendixes
                     9: Performance
                                          o         kin    d
                                  u  plo is Stu
                           g@ se th
                        honCopyright © 2008, Oracle. All rights reserved.
                                 u
                     enz se to
                  (ch cen
             chen    li
   z h ong




Unauthorized reproduction or distribution 10g: Administration Workshop II 1 - 4 and/or its affiliates.
                       Oracle Database prohibited. Copyright© 2009, Oracle
北京尚观科技有限公司



                    What Is Covered in the DBAI Course

                      1.   Introduction                      13. Performance
                      2.   Installation                      14. Backup & Recovery
                      3.   DB Creation                           Concepts
                      4.   Instance                          15. Backup


                      5.   Storage                           16. Recovery
                                                             17. Flashback                       le
                                                                                             rab
                      6.   Users
                                                             18. Moving Data              fe
                      7.   Schema
                                                                                      n s
                      8.   Data & Concurrency                                  n -tra o
                                                                                 s an
                      9. Undo
                                                                     m   ) ha ideฺ
                      10. Security
                                                          g  ฺco nt Gu
                      11. Network                o  kin ude
                                            plo is t
                      12. Proactive Maintenance S
                                         u
                                    g@ se th
                               honCopyright © 2008, Oracle. All rights reserved.
                                        u
                          enz se to
                    (ch cen
     What Ishen           li
          c Covered in the DBAI Course
       ng
      oDBAI refers to the Oracle Database 10g: Administration Workshop I (Release 2) course.
   zh




Unauthorized reproduction or distribution 10g: Administration Workshop II 1 - 5 and/or its affiliates.
                       Oracle Database prohibited. Copyright© 2009, Oracle
北京尚观科技有限公司



                       Course Examples: The HR Schema
                   REGIONS
                   REGION_ID (PK)
                   REGION_NAME


                                              JOBS
                   COUNTRIES                  JOB_ID (PK)
                   COUNTRY_ID (PK)            JOB_TITLE
                   COUNTRY_NAME               MIN_SALARY
                                                                          JOB_HISTORY
                   REGION_ID (FK)             MAX_SALARY                  EMPLOYEE_ID (PK)
                                                                          START_DATE (PK)
                                                                          END_DATE
                                                                          JOB_ID (FK)
                   LOCATIONS                  EMPLOYEES                   DEPARTMENT_ID (FK)
                                                                                                      le
                   LOCATION_ID (PK)           EMPLOYEE_ID (PK)
                                                                                               fe rab
                   STREET_ADDRESS             FIRST_NAME
                                                                                          n s
                                                                                     -tra
                   POSTAL_CODE                LAST_NAME
                   CITY                       EMAIL
                   STATE_PROVINCE             PHONE_NUMBER                         n     o
                   COUNTRY_ID (FK)            HIRE_DATE
                                              JOB_ID (FK)                           s an
                   DEPARTMENTS
                                              SALARY
                                              COMMISION_PCT
                                                                        m   ) ha ideฺ
                   DEPARTMENT_ID (PK)         MANAGER_ID (FK)
                                                             g  ฺco nt Gu
                                                       kin ude
                   DEPARTMENT_NAME            DEPARTMENT_ID (FK)
                   MANAGER_ID                       o
                   LOCATION_ID (FK)
                                              u plo is St
                                        g@ se th
                                  honCopyright © 2008, Oracle. All rights reserved.
                                             u
                           enz se to
                      (ch cen
      Course hen             i
             c Examples:l The HR Sample Schema
     h  ng
       ocreated as partused instarter database.from a human resources (HR) application, which can be
        The examples           this course are
   z                   of the
        The following are some principal business rules of the HR application:
         • Each department may be the employer of one or more employees. Each employee may be
              assigned to one and only one department.
         • Each job must be a job for one or more employees. Each employee must be currently
              assigned to one and only one job.
         • When an employee changes his or her department or job, a record in the JOB_HISTORY
              table records the start and end dates of the past assignments.
         •    JOB_HISTORY records are identified by a composite primary key (PK): the
              EMPLOYEE_ID and the START_DATE columns.
        Notation: PK = primary key, FK = foreign key
        Solid lines represent mandatory foreign key (FK) constraints and dashed lines represent optional
        FK constraints.
        The EMPLOYEES table also has an FK constraint with itself. This is an implementation of the
        business rule: Each employee may be reporting directly to one and only one manager. The FK is
        optional because the top employee does not report to another employee.


Unauthorized reproduction or distribution 10g: Administration Workshop II 1 - 6 and/or its affiliates.
                       Oracle Database prohibited. Copyright© 2009, Oracle
北京尚观科技有限公司



                                Oracle Database 10g:
                              The Database for the Grid

                •   Automatic Storage Management
                •   Portable clusterware
                •   Real Application Clusters and automatic workload
                    management
                •   Resource Manager
                                                                               e
                •   Oracle Streams                                       r abl
                •   Centralized management with Enterprise Manager n sfe
                                                              -tra
                    Grid Control
                                                        a non
                •                                     as ฺ
                    Oracle Database 10g new self-management
                                                    h
                    features                    o m) uide       c
                                                         i ngฺ dent G
                                                  ook Stu
                                             upl his
                                  o  ng@ se t
                                            u
                             nzh e Copyright © 2008, Oracle. All rights reserved.
                          e s to
                  n  (ch cen
            che           li
      Oracle Database 10g: The Database for the Grid
       ng
      oOracleofDatabase 10g is the first databasethe following: for grid computing. To summarize,
     h some the most important features are
                                                  that is designed
   z
          •   Automatic Storage Management (ASM) virtualizes your storage and provides easy
              provisioning of your database storage.
          •   Oracle Database 10g offers portable clusterware that runs on all platforms.
          •   Oracle Database 10g offers automatic workload management for services within a RAC
              database.
          •   Oracle Database 10g provides additional mappings for consumer groups based on user host
              machine, application, OS username, or service.
          •   Oracle Streams can stream data between databases, nodes, or blade farms in a grid. It
              provides a unified framework for information sharing, combining message queuing,
              replication, events, and data warehouse loading into a single technology.
          •   Enterprise Manager Grid Control provides a single tool that can monitor and manage not
              only every Oracle software element (Oracle Application Server 10g and Oracle Database
              10g) in your grid but also Web applications via Application Performance Management
              (APM), hosts, storage devices, and server load balancers.




Unauthorized reproduction or distribution 10g: Administration Workshop II 1 - 7 and/or its affiliates.
                       Oracle Database prohibited. Copyright© 2009, Oracle
北京尚观科技有限公司



                           Database Architecture: Review


               Memory structures                           Instance
                                                System Global Area (SGA)

               Process structures
                                                  Background processes
                                                                                                       l    e
                                                                                                fe rab
                                                                                            n s
                                                       Database files                n
                                                                                     o -tra
               Storage structures
                                                                                s an
                                                                    m   ) ha ideฺ
                                                         g  ฺco nt Gu
                                                o  kin ude
                                         u plo is St
                                   g@ se th
                              honCopyright © 2008, Oracle. All rights reserved.
                                        u
                         enz se to
                    (ch cen
      Databaseen         li
            ch Architecture: Review
       ng
      oThe followingknowledgeaof Oracle’s database Oracle database architecture. In this course, you
     h enhance your
                     pages are basic review of the
   z                                                 structures, processes, and utilities.
        Each running Oracle database is associated with an Oracle instance. When a database is started
        on a database server, the Oracle software allocates a shared memory area called the System
        Global Area (SGA) and starts several Oracle background processes. This combination of the
        SGA and the Oracle processes is called an Oracle instance.
        After starting an instance, the Oracle software associates the instance with a specific database.
        This is called mounting the database. The database is then ready to be opened, which makes it
        accessible to authorized users. Multiple instances can execute concurrently on the same
        computer, each accessing its own physical database.
        You can look at the Oracle database architecture as various interrelated structural components.
        An Oracle database uses memory structures and processes to manage and access the database.
        All memory structures exist in the main memory of the computers that constitute the database
        server. Processes are jobs that work in the memory of these computers. A process is defined as
        a “thread of control” or a mechanism in an operating system that can run a series of steps.




Unauthorized reproduction or distribution 10g: Administration Workshop II 1 - 8 and/or its affiliates.
                       Oracle Database prohibited. Copyright© 2009, Oracle
北京尚观科技有限公司



                              Oracle Memory Structures


                     Server                   Server
                                                                       Background
                    process       PGA        process       PGA                            PGA
                                                                         process
                       1                        2



                                                 SGA
                                                                                                  le
                     Shared pool           Streams pool            Large pool              fe rab
                                                                                       n  s
                                                                                n -tra
                                                                                    o
                                                                               an
                                                                          has eฺ
                                            Database                       Redo log
                   Java pool
                                          buffer cache                 ) buffer
                                                             c  om Guid
                                                    i ngฺ dent
                                             ook Stu
                                         upl his
                               o ng@ se t
                                        u
                          nzh e Copyright © 2008, Oracle. All rights reserved.
                       e s to
                n (ch cen
           che         li
     Oracle Memory Structures
      ng
     oThe basic memory structures associated with an Oracle instance include: processes
   zh • System Global Area (SGA): Shared by all server and background
          •   Program Global Area (PGA): Private to each server and background process; there is one
              PGA for each process
        The SGA is a memory area that contains data and control information for the instance.
        The SGA includes the following data structures:
          • Database buffer cache: Caches blocks of data retrieved from the database
          • Redo log buffer: Caches redo information (used for instance recovery) until it can be
              written to the physical redo log files stored on the disk
          • Shared pool: Caches various constructs that can be shared among users
          • Large pool: Is an optional area that provides large memory allocations for certain large
              processes, such as Oracle backup and recovery operations, and I/O server processes
          • Java pool: Is used for all session-specific Java code and data within the Java Virtual
              Machine (JVM)
          • Streams pool: Is used by Oracle Streams
        When you start the instance by using Enterprise Manager or SQL*Plus, the amount of memory
        allocated for the SGA is displayed.


Unauthorized reproduction or distribution 10g: Administration Workshop II 1 - 9 and/or its affiliates.
                       Oracle Database prohibited. Copyright© 2009, Oracle
北京尚观科技有限公司

       Oracle Memory Structures (continued)
        A Program Global Area (PGA) is a memory region that contains data and control information for
        each server process. An Oracle server process services a client’s requests. Each server process
        has its own private PGA that is created when the server process is started. Access to the PGA is
        exclusive to that server process, and the PGA is read and written only by the Oracle code acting
        on its behalf.
        With the dynamic SGA infrastructure, the size of the database buffer cache, the shared pool, the
        large pool, the Java pool, and the Streams pool changes without shutting down the instance.
        The Oracle database uses initialization parameters to create and configure memory structures.
        For example, the SGA_TARGET parameter specifies the total amount of space available to the
        SGA. If you set SGA_TARGET to 0, Automatic Shared Memory Management is disabled.

                                                                                                    l   e
                                                                                             fe rab
                                                                                         n s
                                                                                o n -tra
                                                        s an
                                                  m ) ha ideฺ
                                             g ฺco nt Gu
                                        o kin ude
                                   u plo is St
                               g@ se th
                          z hon to u
                      hen nse
               he n (c lice
             c
   zh ong




Unauthorized reproduction or distribution10g: Administration Workshop IIOracle and/or its affiliates.
                       Oracle Database prohibited. Copyright© 2009, 1 - 10
北京尚观科技有限公司



                                         Oracle Processes


                                 Server          Server         Server         Server
                                process         process        process        process




                                              System Global Area                                            l   e
                                                    (SGA)
                                                                                                     fe rab
                                                                                                n  s
                                                                                         n -tra
                                                                                           o
                                                                                      an
                    System       Process Database Check-                      has e
                                                                           )LogWriter ฺ Archiver
                    Monitor      Monitor       Writer        point m
                                                               ฺco n (LGWR) (ARCn)
                                                           (CKPT) t G
                                                                                   uid
                    (SMON)       (PMON)      (DBWn)         g e
                                                      kinprocesses
                                          Background tud
                                                    o
                                             u plo is S
                                        g@ se th
                                 honCopyright © 2008, Oracle. All rights reserved.
                                            u
                           enz se to
                   n  (ch cen
      Oracle Processes li
             che
     h  ng
       oOracleyou invoke an application program or an Oracle tool, suchissued by the application.the
        When                                                                       as Enterprise Manager,
   z           server creates a server process to execute the commands                                    The
        Oracle server also creates a set of background processes for an instance that interact with each
        other and with the operating system to manage the memory structures, asynchronously perform
        I/O to write data to disk, and perform other required tasks. Which background processes are
        present depends on the features that are being used in the database. The most common
        background processes are the following:
          • System Monitor (SMON): Performs crash recovery when the instance is started following
              a failure
          • Process Monitor (PMON): Performs process cleanup when a user process fails
          • Database Writer (DBWn): Writes modified blocks from the database buffer cache to the
              data files on the disk
          • Checkpoint (CKPT): Updates all the data files and control files of the database to indicate
              the most recent checkpoint
          • LogWriter (LGWR): Writes redo log entries to the disk
          • Archiver (ARCn): Copies redo log files to an archival storage when a log switch occurs




Unauthorized reproduction or distribution10g: Administration Workshop IIOracle and/or its affiliates.
                       Oracle Database prohibited. Copyright© 2009, 1 - 11
北京尚观科技有限公司



                   Reviewing Oracle Instance Management

                         Example:
               Starting a database instance                          1 Instance
                Establishing a connection
                                                                            SGA

                                                              Database               Redo log
                 System       Process                        buffer cache             buffer
                 Monitor      Monitor
                 (SMON)       (PMON)                                                                            e
                                                                                                            l
                                                                                                     fe rab
                                           Server              Database                         n  s
                                       3 process
                                                                 Writer                  n
                                                                                         o -tra
                                                                                     LogWriter
                                                                                      (LGWR)
                        2                                       (DBWn)
                                                                                    s an
               User process
                                                                        m   ) ha ideฺ
                                                             g  ฺco nt Gu
                                                  oo   kin ude
                                             u plDatais St
                                                        files                         Redo log files
                                       g@ se th
                                  honCopyright © 2008, Oracle. All rights reserved.
                                            u
                            enz se to
                      (ch cen
     Reviewing n             i
            che Oracle lInstance Management
       ng
      operforms. It illustrates an Oracle configuration where theoperations that the Oracle database
       The following example describes the most basic level of
   zh                                                                    user and associated server processes
        are on separate computers (connected through a network).
          1. An instance has started on the computer running Oracle (often called the host or database
              server).
          2. A computer running an application (a local computer or client workstation) runs the
              application in a user process. The client application attempts to establish a connection to
              the instance by using the Oracle Net Services driver.
          3. The instance detects the connection request from the application and connects to a server
              process on behalf of the user process.




Unauthorized reproduction or distribution10g: Administration Workshop IIOracle and/or its affiliates.
                       Oracle Database prohibited. Copyright© 2009, 1 - 12
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager
Configuring and Using Oracle Recovery Manager

More Related Content

Similar to Configuring and Using Oracle Recovery Manager

Oracle database 12c sql worshop 2 activity guide
Oracle database 12c sql worshop 2 activity guideOracle database 12c sql worshop 2 activity guide
Oracle database 12c sql worshop 2 activity guideOtto Paiz
 
oracle-weblogic-server-12c-administration-ii-activity-guidepdf.pptx
oracle-weblogic-server-12c-administration-ii-activity-guidepdf.pptxoracle-weblogic-server-12c-administration-ii-activity-guidepdf.pptx
oracle-weblogic-server-12c-administration-ii-activity-guidepdf.pptxsecago7072
 
Dynamic Performance Tuning and Troubleshooting With DTrace Ed 2 (Activity Guide)
Dynamic Performance Tuning and Troubleshooting With DTrace Ed 2 (Activity Guide)Dynamic Performance Tuning and Troubleshooting With DTrace Ed 2 (Activity Guide)
Dynamic Performance Tuning and Troubleshooting With DTrace Ed 2 (Activity Guide)BetaIndo
 
707 ethicsand complianceduediligenceinmergersacquisitionsandmajorcorporateeve...
707 ethicsand complianceduediligenceinmergersacquisitionsandmajorcorporateeve...707 ethicsand complianceduediligenceinmergersacquisitionsandmajorcorporateeve...
707 ethicsand complianceduediligenceinmergersacquisitionsandmajorcorporateeve...shyrtg
 

Similar to Configuring and Using Oracle Recovery Manager (8)

Csg vol3
Csg vol3Csg vol3
Csg vol3
 
Csg vol1
Csg vol1Csg vol1
Csg vol1
 
Ep cover
Ep coverEp cover
Ep cover
 
Csg3
Csg3Csg3
Csg3
 
Oracle database 12c sql worshop 2 activity guide
Oracle database 12c sql worshop 2 activity guideOracle database 12c sql worshop 2 activity guide
Oracle database 12c sql worshop 2 activity guide
 
oracle-weblogic-server-12c-administration-ii-activity-guidepdf.pptx
oracle-weblogic-server-12c-administration-ii-activity-guidepdf.pptxoracle-weblogic-server-12c-administration-ii-activity-guidepdf.pptx
oracle-weblogic-server-12c-administration-ii-activity-guidepdf.pptx
 
Dynamic Performance Tuning and Troubleshooting With DTrace Ed 2 (Activity Guide)
Dynamic Performance Tuning and Troubleshooting With DTrace Ed 2 (Activity Guide)Dynamic Performance Tuning and Troubleshooting With DTrace Ed 2 (Activity Guide)
Dynamic Performance Tuning and Troubleshooting With DTrace Ed 2 (Activity Guide)
 
707 ethicsand complianceduediligenceinmergersacquisitionsandmajorcorporateeve...
707 ethicsand complianceduediligenceinmergersacquisitionsandmajorcorporateeve...707 ethicsand complianceduediligenceinmergersacquisitionsandmajorcorporateeve...
707 ethicsand complianceduediligenceinmergersacquisitionsandmajorcorporateeve...
 

More from gavin shaw

Dba日记(第一部)
Dba日记(第一部)Dba日记(第一部)
Dba日记(第一部)gavin shaw
 
Dba日记(第一部)
Dba日记(第一部)Dba日记(第一部)
Dba日记(第一部)gavin shaw
 
Designing.and.implementing.linux
Designing.and.implementing.linuxDesigning.and.implementing.linux
Designing.and.implementing.linuxgavin shaw
 
1.基础篇 修改by徐定翔2 去掉批注
1.基础篇 修改by徐定翔2 去掉批注1.基础篇 修改by徐定翔2 去掉批注
1.基础篇 修改by徐定翔2 去掉批注gavin shaw
 
3.架构设计篇2
3.架构设计篇23.架构设计篇2
3.架构设计篇2gavin shaw
 
约会秘籍 高级篇
约会秘籍  高级篇约会秘籍  高级篇
约会秘籍 高级篇gavin shaw
 
Architect 201003-by-info q
Architect 201003-by-info qArchitect 201003-by-info q
Architect 201003-by-info qgavin shaw
 
Architect 201002-by-info q
Architect 201002-by-info qArchitect 201002-by-info q
Architect 201002-by-info qgavin shaw
 
Architect 201001-by-info q
Architect 201001-by-info qArchitect 201001-by-info q
Architect 201001-by-info qgavin shaw
 
Architect 200912-by-info q
Architect 200912-by-info qArchitect 200912-by-info q
Architect 200912-by-info qgavin shaw
 
Architect 200911-by-info q
Architect 200911-by-info qArchitect 200911-by-info q
Architect 200911-by-info qgavin shaw
 
Architect 200910-by-info q
Architect 200910-by-info qArchitect 200910-by-info q
Architect 200910-by-info qgavin shaw
 
O Reilly Learning Python 3rd Edition
 O Reilly Learning Python 3rd Edition O Reilly Learning Python 3rd Edition
O Reilly Learning Python 3rd Editiongavin shaw
 
[Python入门指南].(Python.Tutorial).Guido.Van.Rossum.文字版
[Python入门指南].(Python.Tutorial).Guido.Van.Rossum.文字版[Python入门指南].(Python.Tutorial).Guido.Van.Rossum.文字版
[Python入门指南].(Python.Tutorial).Guido.Van.Rossum.文字版gavin shaw
 
Python学习手册(第3版)
Python学习手册(第3版)Python学习手册(第3版)
Python学习手册(第3版)gavin shaw
 
[高性能MySQL(第2版)中文版].施瓦茨.扫描版
[高性能MySQL(第2版)中文版].施瓦茨.扫描版[高性能MySQL(第2版)中文版].施瓦茨.扫描版
[高性能MySQL(第2版)中文版].施瓦茨.扫描版gavin shaw
 
Perl语言入门(第五版)
Perl语言入门(第五版)Perl语言入门(第五版)
Perl语言入门(第五版)gavin shaw
 
[精通Perl.中文版].(美)福瓦.扫描版
[精通Perl.中文版].(美)福瓦.扫描版[精通Perl.中文版].(美)福瓦.扫描版
[精通Perl.中文版].(美)福瓦.扫描版gavin shaw
 
[MySQL.Cookbook(第2版)].(美)迪布瓦.中文版.扫描版
[MySQL.Cookbook(第2版)].(美)迪布瓦.中文版.扫描版[MySQL.Cookbook(第2版)].(美)迪布瓦.中文版.扫描版
[MySQL.Cookbook(第2版)].(美)迪布瓦.中文版.扫描版gavin shaw
 

More from gavin shaw (20)

Dba日记(第一部)
Dba日记(第一部)Dba日记(第一部)
Dba日记(第一部)
 
Dba日记(第一部)
Dba日记(第一部)Dba日记(第一部)
Dba日记(第一部)
 
Designing.and.implementing.linux
Designing.and.implementing.linuxDesigning.and.implementing.linux
Designing.and.implementing.linux
 
1.基础篇 修改by徐定翔2 去掉批注
1.基础篇 修改by徐定翔2 去掉批注1.基础篇 修改by徐定翔2 去掉批注
1.基础篇 修改by徐定翔2 去掉批注
 
3.架构设计篇2
3.架构设计篇23.架构设计篇2
3.架构设计篇2
 
约会秘籍 高级篇
约会秘籍  高级篇约会秘籍  高级篇
约会秘籍 高级篇
 
Architect 201003-by-info q
Architect 201003-by-info qArchitect 201003-by-info q
Architect 201003-by-info q
 
Architect 201002-by-info q
Architect 201002-by-info qArchitect 201002-by-info q
Architect 201002-by-info q
 
Architect 201001-by-info q
Architect 201001-by-info qArchitect 201001-by-info q
Architect 201001-by-info q
 
Architect 200912-by-info q
Architect 200912-by-info qArchitect 200912-by-info q
Architect 200912-by-info q
 
Architect 200911-by-info q
Architect 200911-by-info qArchitect 200911-by-info q
Architect 200911-by-info q
 
Architect 200910-by-info q
Architect 200910-by-info qArchitect 200910-by-info q
Architect 200910-by-info q
 
O Reilly Learning Python 3rd Edition
 O Reilly Learning Python 3rd Edition O Reilly Learning Python 3rd Edition
O Reilly Learning Python 3rd Edition
 
[Python入门指南].(Python.Tutorial).Guido.Van.Rossum.文字版
[Python入门指南].(Python.Tutorial).Guido.Van.Rossum.文字版[Python入门指南].(Python.Tutorial).Guido.Van.Rossum.文字版
[Python入门指南].(Python.Tutorial).Guido.Van.Rossum.文字版
 
Python学习手册(第3版)
Python学习手册(第3版)Python学习手册(第3版)
Python学习手册(第3版)
 
[高性能MySQL(第2版)中文版].施瓦茨.扫描版
[高性能MySQL(第2版)中文版].施瓦茨.扫描版[高性能MySQL(第2版)中文版].施瓦茨.扫描版
[高性能MySQL(第2版)中文版].施瓦茨.扫描版
 
Perl语言入门(第五版)
Perl语言入门(第五版)Perl语言入门(第五版)
Perl语言入门(第五版)
 
[精通Perl.中文版].(美)福瓦.扫描版
[精通Perl.中文版].(美)福瓦.扫描版[精通Perl.中文版].(美)福瓦.扫描版
[精通Perl.中文版].(美)福瓦.扫描版
 
[MySQL.Cookbook(第2版)].(美)迪布瓦.中文版.扫描版
[MySQL.Cookbook(第2版)].(美)迪布瓦.中文版.扫描版[MySQL.Cookbook(第2版)].(美)迪布瓦.中文版.扫描版
[MySQL.Cookbook(第2版)].(美)迪布瓦.中文版.扫描版
 
Abs guide
Abs guideAbs guide
Abs guide
 

Recently uploaded

microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 

Recently uploaded (20)

microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 

Configuring and Using Oracle Recovery Manager

  • 1. 北京尚观科技有限公司 le fe rab n s o n -tra s an ) ha ide10g: Oracle Database ฺ m Administration Workshop II ฺco nt Gu g o kin ude plo is St I • Student Guide u h Volume o ng@ se t e nzh e to u (ch cens c hen li zh ong D17092GC31 Edition 3.1 December 2008 D57199 Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
  • 2. 北京尚观科技有限公司 Authors Copyright © 2008, Oracle. All rights reserved. Tom Best Disclaimer Maria Billings 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 Technical Contributors any way. Except where your use constitutes "fair use" under copyright law, you may and Reviewers 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 Herbert Bradbury express authorization of Oracle. Howard Bradley The information contained in this document is subject to change without notice. If you Harald van Breederode 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 M.J. Bryksa warranted to be error-free. Donna Cooksey Restricted Rights Notice Joe Fong Andy Fortunak 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 l e Gerlinde Frenzen applicable: fe rab Joel Goodman U.S. GOVERNMENT RIGHTS n s Bert van Gorkom o n -tra The U.S. Government’s rights to use, modify, reproduce, release, perform, display, or disclose these training materials are restricted by the terms of the applicable Oracle an Sushma Jagannath license agreement and/or the applicable U.S. Government contract. Christine Jeal s ) ha ideฺ Trademark Notice Donna Keesling m Pierre Labrousse g ฺco nt Gu Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Jerry Lee o kin ude Stefan Lindblad u plo is St Wendy Lo g@ se th Yi Lu Claudia O'Callaghan nz hon to u e (ch cense Andreas Reinhardt n che Ira Singer li zh ongJames Spiller Janet Stern Jean-Francois Verrier Editors Aju Kumar Nita Pavitran Arijit Ghosh Graphic Designer Steve Elwood Publishers Joseph Fernandez Sujatha Nagendra Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
  • 3. 北京尚观科技有限公司 Contents Preface 1 Introduction Lesson Objectives 1-2 Course Objectives 1-3 Suggested Schedule 1-4 le What Is Covered in the DBAI Course 1-5 fe rab Course Examples: The HR Schema 1-6 ns Oracle Database 10g: The Database for the Grid 1-7 o n -tra Database Architecture: Review 1-8 Oracle Memory Structures 1-9 s an Oracle Processes 1-11 m ) ha ideฺ ฺco nt Gu Reviewing Oracle Instance Management 1-12 g kin ude Physical Database Structure 1-14 o plo is St Oracle Managed Files (OMF) 1-16 u g@ se th Logical and Physical Database Structures 1-17 hon to u Database Architecture: Summary of Structural Components 1-19 z hen nse Summary 1-20 he n (c lice c2 Configuring Recovery Manager zh ong Objectives 2-2 Backup and Recovery: Review 2-3 Features of Recovery Manager 2-4 Recovery Manager Components 2-6 Steps for Configuring RMAN 2-8 RMAN Repository Data Storage: Comparison of Options 2-9 Backup Destinations 2-11 Media Management 2-12 Using a Flash Recovery Area with RMAN 2-14 Monitoring the Flash Recovery Area with EM 2-16 Flash Recovery Area Space Usage 2-17 V$FLASH_RECOVERY_AREA_USAGE 2-18 Backing Up the Flash Recovery Area 2-20 Benefits of Using a Flash Recovery Area 2-21 Setting Parameters That Affect RMAN 2-22 iii Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
  • 4. 北京尚观科技有限公司 RMAN Usage Considerations 2-24 Connection Types with RMAN 2-25 Starting RMAN 2-26 Additional RMAN Command-Line Arguments 2-27 Configuring Persistent Settings for RMAN 2-28 Configuring RMAN Settings by Using EM 2-29 Control File Autobackups 2-30 Retention Policies 2-32 Managing Persistent Settings 2-34 Channel Allocation 2-35 Automatic and Manual Channel Allocation 2-36 Channel Control Options 2-37 le Summary 2-39 fe rab n s Practice Overview: Configuring RMAN 2-40 o n -tra 3 Using Recovery Manager s an Objectives 3-2 m ) ha ideฺ ฺco nt Gu Issuing Recovery Manager Commands 3-3 g kin ude Types of RMAN Commands 3-5 o u plo is St Job Commands: Example 3-6 RMAN Commands: Overview 3-7 g@ se th hon to u BACKUP Command 3-9 z hen nse Backup Constraints 3-10 he n (c lice Parallelization of Backup Sets 3-11 Compressed Backups 3-13 c zh ong Image Copy 3-14 Tags for Backups and Image Copies 3-16 BACKUP Command Options 3-17 Backing Up Archived Redo Logs 3-19 Whole Database Backup 3-21 RMAN Backup Types 3-22 Differential Versus Cumulative 3-24 Block Change Tracking 3-25 Enabling Block Change Tracking 3-26 Incrementally Updating Backups 3-27 LIST Command 3-28 REPORT Command 3-29 REPORT NEED BACKUP Command 3-30 REPORT NEED BACKUP: Examples 3-31 REPORT OBSOLETE and DELETE OBSOLETE 3-32 iv Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
  • 5. 北京尚观科技有限公司 Managing Backups with EM 3-33 RMAN Dynamic Views 3-34 Monitoring RMAN Backups 3-36 Summary 3-38 Practice Overview: Backing Up Your Database 3-39 4 Recovering from Noncritical Losses Objectives 4-2 Causes of File Loss 4-3 Critical Versus Noncritical 4-4 Losing a TEMPFILE 4-5 le rab Recovering from a TEMPFILE Loss 4-6 Log Group Status: Review 4-7 n s fe Losing a Redo Log Group Member 4-8 Re-creating Redo Log Files 4-9 o n -tra Re-creating Indexes 4-13 s an ) ha ideฺ Authentication Methods for Database Administrators 4-15 m ฺco nt Gu Re-creating a Password Authentication File 4-16 g Summary 4-18 o kin ude plo is St Practice Overview: Recovering from Lost TEMPFILE and Redo Log File 4-19 u g@ se th hon to u 5 Database Recovery z Objectives n he 5-2nse5-3 n (c lice Recovery Methods g cheUser-Managed Recovery: RECOVER Command 5-4 z hon RMAN Recovery: RESTORE and RECOVER Commands 5-5 Recovery Using Enterprise Manager 5-6 Complete Versus Incomplete Recovery 5-7 Complete Recovery Process 5-8 Incomplete Recovery Process 5-9 Situations Requiring Incomplete Recovery 5-11 Types of Incomplete Recovery 5-12 Performing User-Managed Incomplete Recovery 5-14 User-Managed Time-Based Recovery: Example 5-16 User-Managed Cancel-Based Recovery: Example 5-18 Performing Incomplete Recovery by Using RMAN 5-20 Time-Based Recovery Using RMAN: Example 5-21 Log Sequence Recovery Using RMAN: Example 5-23 Incomplete Recovery Using Enterprise Manager 5-24 Incomplete Recovery and the Alert Log 5-25 v Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
  • 6. 北京尚观科技有限公司 Restore Points 5-26 Incomplete Recovery: Best Practices 5-27 Recovering a Control File Autobackup 5-29 Creating a New Control File 5-31 Recovering Read-Only Tablespaces 5-33 Read-Only Tablespace Recovery Issues 5-35 Summary 5-37 Practice Overview: Performing Incomplete Recovery 5-38 6 Flashback Objectives 6-2 Flashback Technology: Review 6-3 le Flashback Drop and the Recycle Bin 6-4 fe rab n s Recycle Bin 6-5 Restoring Tables from the Recycle Bin 6-7 on -tra an Recycle Bin: Automatic Space Reclamation 6-8 s ) ha ideฺ Recycle Bin: Manual Space Reclamation 6-10 m ฺco nt Gu Bypassing the Recycle Bin 6-11 g kin ude Querying the Recycle Bin 6-12 o u plo is St Querying Data from Dropped Tables 6-13 Flashback Database: Review 6-14 g@ se th hon to u Flashback Database Architecture 6-15 z hen nse Configuring Flashback Database 6-16 he n (c lice Configuring Flashback Database Using EM 6-17 Flashback Database: Examples 6-19 c zh ong Performing Flashback Database Using EM 6-20 Flashback Database Considerations 6-23 Monitoring Flashback Database 6-25 Monitoring Flashback Database with EM 6-27 Guaranteed Restore Points 6-28 Summary 6-29 Practice Overview: Performing Flashback Database 6-30 7 Dealing with Database Corruption Objectives 7-2 What Is Block Corruption? 7-3 Block Corruption Symptoms: ORA-01578 7-4 How to Handle Corruption 7-5 Corruption-Related Features 7-7 DBVERIFY Utility 7-8 vi Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
  • 7. 北京尚观科技有限公司 Interpreting DBVERIFY Output 7-9 ANALYZE Command 7-11 Verifying Block Integrity in Real Time: DB_BLOCK_CHECKING 7-12 Verifying Block Integrity in Real Time: DB_BLOCK_CHECKSUM 7-13 Using EXP to Detect Corruption 7-14 Using Flashback for Logical Corruption 7-15 DBMS_REPAIR Package 7-16 Using DBMS_REPAIR 7-17 Block Media Recovery (BMR) 7-21 BLOCKRECOVER Command 7-22 Examples of Using BLOCKRECOVER 7-23 le The RMAN BMR Interface 7-25 fe rab Alternative Actions to Take 7-26 ns Summary 7-27 on -tra an Practice Overview: Perform Block Media Recovery 7-28 s 8 Monitoring and Managing Memory m ) ha ideฺ ฺco nt Gu ing de Objectives 8-2 Memory Management: Overview ok 8-3 Oracle Memory Structures up 8-4 lo Stu Buffer Cache 8-6 ng@ this nz ho to use Using Multiple Buffer Pools 8-8 Sharedhe 8-10e Pool s n (c li en Large Pool c8-11 g cheJava Pool 8-12 z hon Redo Log Buffer 8-13 Automatic Shared Memory Management: Overview 8-14 Benefits of Automatic Shared Memory Management 8-15 How ASMM Works 8-16 Configuring ASMM by Using Database Control 8-17 Manually Configuring ASMM 8-18 Behavior of Autotuned SGA Parameters 8-21 Behavior of Manually Tuned SGA Parameters 8-22 Using the V$PARAMETER View 8-23 Modifying the SGA_TARGET Parameter 8-24 Disabling ASMM 8-25 Manually Resizing Dynamic SGA Parameters 8-26 Program Global Area (PGA) 8-27 Automatic PGA Memory Management 8-29 vii Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
  • 8. 北京尚观科技有限公司 PGA Management Resources 8-30 Using the Memory Advisor to Size the SGA 8-31 Using the Memory Advisor to Size the PGA 8-32 Efficient Memory Usage: Guidelines 8-33 Memory Tuning Guidelines for the Library Cache 8-35 Summary 8-37 Practice Overview: Using ASMM to Correct a Memory Allocation Problem 8-38 9 Automatic Performance Management Objectives 9-2 Tuning Activities 9-3 Performance Planning 9-4 le Instance Tuning 9-6 fe rab n s Performance Tuning Methodology 9-7 Statistics Collection 9-8 on -tra Oracle Wait Events 9-10 s an System Statistics 9-11 m ) ha ideฺ ฺco nt Gu Displaying Session-Related Statistics 9-13 g kin ude Displaying Service-Related Statistics 9-14 o u plo is St Troubleshooting and Tuning Views 9-15 Dictionary Views 9-16 g@ se th hon to u Diagnosis of Hung or Extremely Slow Databases 9-17 z hen nse Using Memory Access Mode 9-18 he n (c lice Using the Hang Analysis Page 9-19 Automatic Workload Repository 9-21 c zh ong AWR Snapshot Baselines 9-23 Advisory Framework: Overview 9-24 Database Control and Advisors 9-26 Typical Advisor Tuning Session 9-27 Manually Invoking ADDM 9-28 Using the SQL Tuning Advisor: Review 9-29 SQL Access Advisor: Overview 9-30 Typical SQL Access Advisor Session 9-31 Workload Source 9-32 Recommendation Options 9-33 Reviewing Recommendations 9-35 Asynchronous COMMIT 9-36 Using Asynchronous COMMIT 9-37 Summary 9-38 Practice Overview: Using ADDM to Diagnose Performance Problems 9-39 viii Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
  • 9. 北京尚观科技有限公司 10 Managing Schema Objects Objectives 10-2 Table Types 10-3 What Is a Partition and Why Use It? 10-4 Partitions 10-5 Creating a Partition 10-6 Partitioning Methods 10-7 Partition Maintenance 10-8 Index-Organized Tables 10-9 Index-Organized Tables and Heap Tables 10-10 Creating Index-Organized Tables 10-12 Clusters 10-13 le Cluster Types 10-14 fe rab n s Situations Where Clusters Are Useful 10-16 Sorted Hash Cluster: Overview 10-17 o n -tra Sorted Hash Cluster: Example 10-18 s an ) ha ideฺ Sorted Hash Cluster: Basic Architecture 10-19 m Schema Management Tasks 10-20 g ฺco nt Gu kin ude Estimating Resource Usage 10-21 o u plo is St Analyzing Growth Trends 10-22 Managing Optimizer Statistics 10-23 g@ se th hon to u Reorganizing Schema Objects Online 10-24 z hen nse Reorganizing Objects: Impact Report 10-26 he n (c lice Reorganizing Objects: Review 10-27 Basic Steps for Manual Online Reorganization 10-28 c zh ong Summary 10-29 Practice Overview: Managing Schema Objects 10-30 11 Managing Storage Objectives 11-2 Space Management: Overview 11-3 Free Space Management 11-4 Types of Segments 11-5 Allocating Extents 11-6 Block Space Management 11-7 Row Chaining and Migration 11-8 Proactive Tablespace Monitoring 11-9 Thresholds and Resolving Space Problems 11-10 Monitoring Tablespace Space Usage 11-11 Shrinking Segments 11-12 Results of Shrink Operation 11-13 ix Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
  • 10. 北京尚观科技有限公司 Space Reclamation with ASSM 11-14 Segment Advisor: Overview 11-15 Segment Advisor 11-16 Implementing Recommendations 11-18 Database Control and Segment Shrink 11-19 Shrinking Segments by Using SQL 11-20 Managing Resumable Space Allocation 11-21 Using Resumable Space Allocation 11-22 Resuming Suspended Statements 11-24 Transporting Tablespaces 11-26 Concept: Minimum Compatibility Level 11-27 Transportable Tablespace Procedure 11-28 le Determining the Endian Format of a Platform 11-29 fe rab ns Transporting Databases 11-30 o n -tra Database Transportation Procedure: Source System Conversion 11-31 an Database Transportation Procedure: Target System Conversion 11-32 s ) ha ideฺ Database Transportation: Considerations 11-33 m Summary 11-34 g ฺco nt Gu kin ude Practice Overview: Managing Storage 11-35 o u plo is St 12 Automatic Storage Managementh Objectives 12-2 on g@ se t h u enz se to Automatic Storage Management: Review 12-3 h n ASM c ( GeneraleArchitecture 12-5 n lic g cheASM Instance Tasks 12-7 hon Creating an ASM Instance 12-8 z ASM Instance Initialization Parameters 12-9 Database Instance Parameter Changes 12-10 Starting Up an ASM Instance 12-11 Accessing an ASM Instance 12-12 ASM Home Page 12-14 ASM Performance Page 12-15 ASM Configuration Page 12-16 Shutting Down an ASM Instance 12-17 DBCA and Storage Options 12-19 ASM Storage: Concepts 12-20 ASM Disk Groups 12-21 Failure Group 12-22 Disk Group Mirroring 12-23 Disk Group Dynamic Rebalancing 12-24 Managing Disk Groups 12-25 x Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
  • 11. 北京尚观科技有限公司 ASM Administration Page 12-26 Create Disk Group Page 12-27 Creating and Dropping Disk Groups 12-28 Adding Disks to Disk Groups 12-29 Miscellaneous ALTER Commands 12-31 ASM Files 12-33 ASMCMD Utility 12-34 Migrating Your Database to ASM Storage 12-35 Summary 12-37 Practice Overview: Using Automatic Storage Management 12-38 le rab 13 Managing Resources Objectives 13-2 ns fe Database Resource Manager: Overview 13-3 Database Resource Manager Concepts 13-4 o n -tra Why Use Resource Manager 13-5 s an Accessing Resource Plans 13-7 m ) ha ideฺ Example: SYSTEM_PLAN 13-8 g ฺco nt Gu kin ude Creating a New Resource Plan 13-9 o plo is St Creating Consumer Groups 13-10 u g@ se th Assigning Users to Consumer Groups 13-11 hon to u Specifying Resource Plan Directives 13-12 z hen nse Resource Allocation Methods for Resource Plans 13-13 he n (c lice Comparison of EMPHASIS and RATIO 13-14 c Active Session Pool Mechanism 13-16 zh ong Setting the Active Session Pool 13-17 Maximum Estimated Execution Time 13-18 Consumer Group Switching 13-19 Switching Back to the Initial Consumer Group at the End of Call 13-20 Setting Idle Timeouts 13-22 Resource Consumer Group Mapping 13-23 Activating a Resource Plan for an Instance 13-25 Database Resource Manager Information 13-26 Monitoring the Resource Manager 13-27 Summary 13-30 Practice Overview: Using the Resource Manager 13-31 14 Automating Tasks with the Scheduler Objectives 14-2 Simplifying Management Tasks 14-3 xi Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
  • 12. 北京尚观科技有限公司 A Simple Job 14-4 Key Components and Steps 14-5 1. Creating a Program 14-6 2. Creating and Using Schedules 14-7 3. Creating and Running a Job 14-8 4. Monitoring a Job 14-9 Using a Time-Based or Event-Based Schedule 14-10 Creating a Time-Based Job 14-11 Creating an Event-Based Schedule 14-13 Creating Event-Based Schedules with Enterprise Manager 14-14 Creating an Event-Based Job 14-15 Event-Based Scheduling 14-16 le Creating Complex Schedules 14-18 fe rab ns Creating Job Chains 14-19 Example of a Chain 14-21 o n -tra 1. Creating a Chain Object 14-22 s an 2. Defining Chain Steps 14-23 m ) ha ideฺ 3. Defining Chain Rules 14-24 g ฺco nt Gu kin ude 4. Starting the Chain 14-25 o u plo is St Monitoring Job Chains 14-26 Advanced Scheduler Concepts 14-27 g@ se th hon to u Creating a Job Class 14-28 z hen nse Creating a Window 14-29 he n (c lice Prioritizing Jobs Within a Window 14-30 Summary 14-31 c zh ong Practice Overview: Automating Tasks with the Scheduler 14-32 15 Database Security Objectives 15-2 Oracle Transparent Data Encryption (TDE): Overview 15-3 TDE Process 15-5 Implementing Transparent Data Encryption 15-6 Existing Tables and TDE 15-9 Transparent Data Encryption: Considerations 15-10 Wallet Support for Usernames and Passwords 15-11 Data Pump and Transparent Data Encryption 15-12 RMAN Encrypted Backups: Overview 15-13 Transparent Mode Setup 15-14 Password Mode Setup 15-15 Dual Mode Setup 15-16 RMAN-Encrypted Backups: Considerations 15-17 xii Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
  • 13. 北京尚观科技有限公司 Need for Data Privacy 15-18 Definition and Usage of Terms 15-19 Virtual Private Database: Overview 15-20 Virtual Private Database: Features 15-21 Column-Level VPD: Example 15-22 Creating a Column-Level Policy 15-23 Summary 15-24 Practice Overview: Using Oracle Database Security 15-25 16 Using Globalization Support Objectives 16-2 What Every DBA Needs to Know 16-3 le What Is a Character Set? 16-4 fe rab ns Understanding Unicode 16-6 How Are Character Sets Used? 16-8 o n -tra Problems to Avoid 16-9 s an Another Sample Problem 16-10 m ) ha ideฺ ฺco nt Gu Choosing Your Character Set 16-11 g kin ude Database Character Sets and National Character Sets 16-12 o u plo is St Obtaining Character Set Information 16-13 Specifying Language-Dependent Behavior 16-14 g@ se th hon to u Specifying Language-Dependent Behavior for the Session 16-15 z hen nse Language- and Territory-Dependent Parameters 16-16 he n (c lice Specifying Language-Dependent Behavior 16-18 Linguistic Searching and Sorting 16-19 c zh ong Using Linguistic Searching and Sorting 16-21 Case- and Accent-Insensitive Search and Sort 16-23 Support in SQL and Functions 16-24 Linguistic Index Support 16-25 Customizing Linguistic Searching and Sorting 16-26 Implicit Conversion Between CLOB and NCLOB 16-27 NLS Data Conversion with Oracle Utilities 16-28 NLS Data Conversion with Data Pump 16-30 Globalization Support Features 16-31 Summary 16-32 Practice Overview: Using Globalization Support Features 16-33 17 Workshop Objectives 17-2 Workshop Methodology 17-3 Business Requirements 17-5 xiii Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
  • 14. 北京尚观科技有限公司 Database Configuration 17-6 Method for Resolving Database Issues 17-7 Summary 17-9 Practice Overview: Workshop Setup 17-10 Appendix A: Practices Appendix B: Solutions Appendix C: Basic Linux and vi Commands Appendix D: Acronyms and Terms le Appendix E: Oracle Shared Servers fe rab n s -tra Objectives E-2 Establishing a Connection E-3 o n Dedicated Server Process E-4 s an User Sessions E-5 m ) ha ideฺ ฺco nt Gu User Sessions: Dedicated Server E-6 g kin ude User Sessions: Shared Server E-7 o SGA and PGA E-9 u plo is St Processing a Request E-8 g@ se th hon to u UGA and Oracle Shared Server E-10 z hen nse Configuring Oracle Shared Server E-11 n (c lice E-14 DISPATCHERS E-12 heSHARED_SERVERS c zh ong MAX_SHARED_SERVERS E-15 CIRCUITS E-16 SHARED_SERVER_SESSIONS E-17 Related Parameters E-18 Verifying Shared Server Setup E-19 Data Dictionary Views E-21 Choosing a Connection Type E-22 When Not to Use Shared Server E-23 Summary E-24 Appendix F: Oracle Secure Backup Objectives F-2 Data Protection to Tape for the Oracle Stack F-3 The Customer Advantage: Complete Oracle Solution F-4 Oracle Secure Backup for Centralized Tape Backup Management F-5 Oracle Secure Backup Administrative Domain F-6 xiv Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
  • 15. 北京尚观科技有限公司 Oracle Secure Backup: Backup Management Overview F-7 Oracle Secure Backup Catalog F-8 Oracle Secure Backup Users F-9 Predefined Classes F-11 Oracle Secure Backup Interface Options F-12 Managing Data to Be Protected F-13 Oracle Secure Backup Media Concepts F-14 Volume Set Recycling F-15 Automated Device Management F-17 Library Management Operations F-18 Oracle Secure Backup: Installation F-19 Installing Oracle Secure Backup Software F-20 le Administrative Server Installation: Example F-21 fe rab ns Defining Your Administrative Server in EM F-22 The Oracle Secure Backup Device and Media Page F-23 on -tra Adding Devices F-24 s an Managing Devices by Using EM F-25 m ) ha ideฺ ฺco nt Gu RMAN and Oracle Secure Backup F-26 g kin ude Accessing Oracle Secure Backup from RMAN F-27 o u plo is St User Preauthorization F-28 Database Backup Storage Selector F-29 g@ se th hon to u RMAN and Oracle Secure Backup: Usage Model F-30 z hen nse Defining Database Storage Selector F-31 he n (c lice Testing Your Tape Drives F-32 Scheduling Backups by Using EM Database Control F-33 c zh ong Oracle-Suggested Strategy for Backups F-34 Managing Tape Backups F-35 Performing Database Recovery by Using Tape Backups F-36 Backing Up File System Files with Oracle Secure Backup F-37 Oracle Secure Backup Web Tool F-38 Oracle Secure Backup Data Set Scripts F-39 Data Set Script: Examples F-40 Data Set Organization F-41 Creating Data Sets Using the Web Interface F-42 File System Files: Backup Concepts F-43 Oracle Secure Backup Jobs F-44 Creating On-Demand Backup Requests F-46 Sending Backup Requests to the Scheduler F-47 Creating Backup Schedules F-48 Creating Backup Triggers F-49 Viewing Job Properties and Transcripts F-50 xv Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
  • 16. 北京尚观科技有限公司 Restoring File System Files with Oracle Secure Backup F-51 Creating a Catalog-Based Restore Request F-52 Sending Catalog-Based Restore Requests to the Scheduler F-55 Listing All Backups of a Client F-56 Summary F-57 Appendix G: Miscellaneous Topics Appendix Overview G-2 Bigfile Tablespaces: Overview G-3 Benefits of Bigfile Tablespaces G-4 Bigfile Tablespace: Usage Model G-5 Creating Bigfile Tablespaces G-7 le SQL Statement Clauses G-8 fe rab ns BFTs and SQL Statements: Examples G-9 Data Dictionary Additions To Support VLDB G-10 o n -tra Extended ROWID Format and BFTs G-11 s an VLDB Support: DBMS_ROWID Package G-13 m ) ha ideฺ ฺco nt G Temporary Tablespace Group (TTG): Overview G-14 u g kin ud Temporary Tablespace Group: Benefits G-15 e o plo is St Creating and Maintaining Temporary Tablespace Groups G-16 u h Temporary Tablespace @ Summary G-20 on g Group:eSQL Examples G-17 s t h u enz se to (ch ce Steps: Continuing Your Education Appendix H: Nextn n i g cheWhere Dol You Go from Here? H-2 z hon Continuing Education Resources H-3 Oracle University H-4 Continuing Your Education H-5 Oracle University Knowledge Center H-6 Oracle Technology Network H-7 Oracle Technology Training H-8 Oracle by Example H-9 Oracle Magazine H-10 Oracle Applications Community H-11 Technical Support: Oracle MetaLink H-12 Thank You! H-13 Index xvi Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
  • 17. 北京尚观科技有限公司 Preface le fe rab n s o n -tra s an m ) ha ideฺ g ฺco nt Gu o kin ude u plo is St g@ se th z hon to u hen nse he n (c lice c zh ong Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
  • 18. 北京尚观科技有限公司 le fe rab n s o n -tra s an m ) ha ideฺ g ฺco nt Gu o kin ude u plo is St g@ se th z hon to u hen nse he n (c lice c zh ong Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
  • 19. 北京尚观科技有限公司 Profile Before You Begin This Course Before you begin this course, you should have the following qualifications: • Working experience with SQL and knowledge of basic Unix commands Prerequisites Oracle Database 10g: Administration Workshop I (D17090GC30) How This Course Is Organized Oracle Database 10g: Administration Workshop I is an instructor-led course featuring lecture and hands-on exercises. Online demonstrations and written practice sessions reinforce the concepts and skills introduced. Suggested Next Courses • Oracle Database 10g: SQL Tuning Workshop (D17265GC10) l e • Oracle Enterprise Manager 10g Grid Control (D17244GC11) fe rab • Oracle Database 10g: Real Application Clusters (D17276GC10) n s • Oracle Database 10g: Implement Streams (D17333GC10) o n -tra • an Oracle Database 10g: Data Guard Administration (D17316GC11) s m ) ha ideฺ g ฺco nt Gu o kin ude u plo is St g@ se th z hon to u hen nse he n (c lice c zh ong Preface - 3 Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
  • 20. 北京尚观科技有限公司 Related Publications Oracle Publications Title Part Number Oracle Database 2 Day DBA 10g Release 2 (10.2) B14196-02 Oracle Database Administrator's Guide 10g Release 2 (10.2) B14231-01 Oracle Database Application Developer’s Guide - Large Objects 10g Release 2 (10.2) B14249-01 Oracle Database Backup and Recovery Advanced User's Guide 10g Release 2 (10.2) B14191-02 Oracle Database Backup and Recovery Basics 10g Release 2 (10.2) B14192-03 Oracle Database Concepts 10g Release 2 (10.2) B14220-02 Oracle Database Data Warehousing Guide 10g Release 2 (10.2) B14223-02 Oracle Database Globalization Support Guide 10g Release 2 (10.2) B14225-01 Oracle Database Licensing Information 10g Release 2 (10.2) B14199-02 Oracle Database Net Services Administrator's Guide 10g Release 2 (10.2) B14212-02 le rab Oracle Database Net Services Reference 10g Release 2 (10.2) B14213-01 Oracle Database New Features Guide 10g Release 2 (10.2) fe B14214-02 n s -tra Oracle Database Performance Tuning Guide 10g Release 2 (10.2) B14211-01 Oracle Database PL/SQL Packages and Types Reference 10g Release 2 (10.2) o n B14258-01 s an Oracle Database PL/SQL User's Guide and Reference 10g Release 2 (10.2) B14261-01 ) ha ideฺ Oracle Database Recovery Manager Quick Start Guide 10g Release 2 (10.2) B14193-03 Oracle Database Recovery Manager Reference 10g Release 2 (10.2) m B14194-03 Oracle Database Reference 10g Release 2 (10.2) g ฺco nt Gu B14237-02 o kin ude Oracle Database Security Guide 10g Release 2 (10.2) B14266-01 u plo is St Oracle Database SQL Quick Reference 10g Release 2 (10.2) Oracle Database SQL Reference 10g Release 2 (10.2) B14195-02 B14200-02 g@ se th hon User’s Guide and Reference Oracle Database Utilities 10g Release 2 (10.2) B14215-01 Oracle Streams Advanced z u enQueuing to B14257-01 n (ch cense Oracle Streams Concepts and Administration B14229-01 che li zh ong Publications Additional • System release bulletins • Installation and user guides • read.me files • International Oracle Users Group (IOUG) articles • Oracle Magazine Preface - 4 Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
  • 21. 北京尚观科技有限公司 Typographic Conventions Typographic Conventions in Text Convention Element Example Bold Emphasized words and To navigate within this application, do not click phrases in Web content the Forward and Back buttons. only Bold italic Glossary term (if there is The algorithm inserts the new key. a glossary) Brackets Key names Press [Enter]. Caps and Buttons, Click the Executable button. lowercase check boxes, Select the Can’t Delete Card check box. application triggers, Assign a When-Validate-Item trigger to the windows ORD block. le Open the Master Schedule window. fe rab n s Angle brackets Menu paths Select File > Save. o n -tra Commas Key sequences Press and release the as a n keys one at a following ) h ideฺ time: [Alt], [F], [D] m Courier new, Code output, ฺco nt Gu Code output: debug.set ('I', 300); g case sensitive directory names, kin ude Directory: bin (DOS), $FMHOME (UNIX) o name: Locate the (default is lowercase) file names, passwords, plo Password: Use tigerinit.ora file. u his St File path names,ng @ et as your password. zho to us User input: Enter 300. Path name: Open c:my_docsprojects. user input, n che ense usernames n ( lic Username: Log in as HR. Initialc he ong cap Graphics labels Customer address (but Oracle Payables) zh (unless the term is a proper noun) Italic Emphasized words and Do not save changes to the database. phrases, titles of books and For further information, see Oracle Database courses, SQL Reference 10g Release 2(10.2). variables Enter user_id@us.oracle.com, where user_id is the name of the user. Preface - 5 Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
  • 22. 北京尚观科技有限公司 Typographic Conventions (continued) Typographic Conventions in Text (continued) Convention Element Example Quotation marks Interface elements Select “Include a reusable module component” and with long names click Finish. that have only initial caps; This subject is covered in the lesson titled, “Working lesson and chapter with Objects.” titles in cross- references Uppercase SQL column Use the SELECT command to view information stored names, commands, in the LAST_NAME column of the EMPLOYEES table. functions, schemas, table names, le database trigger fe rab names n s o n -tra s an ) ha ideฺ Typographic Conventions in Code m Convention Element Example ฺco nt Gu g e Lowercase Column names, SELECTin k last_name o d table names, FROM u hs Stu plo iemployees; names on g@ sCREATE OR REPLACE TRIGGER secure_employees database trigger et h u enz se to CREATE USER scott (chPasswords n c h en lice IDENTIFIED BY tiger; o ng PL/SQL objects items.DELETE(3); zh Lowercase italic Syntax variables CREATE ROLE role Uppercase SQL commands SELECT first_name and functions FROM employees; Preface - 6 Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
  • 23. 北京尚观科技有限公司 Typographic Conventions (continued) Typographic Conventions in Navigation Paths This course uses simplified navigation paths, such as the following example, to direct you through Oracle applications. Example: Invoice Batch Summary (N) Invoice > Entry > Invoice Batches Summary (M) Query > Find (B) Approve This simplified path translates to the following: 1. (N) From the Navigator window, select Invoice > Entry > Invoice Batches Summary. 2. (M) From the menu, select Query > Find. 3. (B) Click the Approve button. l e rab Notation: (N) = Navigator (I) = Icon n s fe (M) = Menu (H) = Hyperlink o n -tra (T) = Tab (B) = Button s an m ) ha ideฺ g ฺco nt Gu o kin ude u plo is St g@ se th z hon to u hen nse he n (c lice c zh ong Preface - 7 Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
  • 24. 北京尚观科技有限公司 le fe rab n s o n -tra s an m ) ha ideฺ g ฺco nt Gu o kin ude u plo is St g@ se th z hon to u hen nse he n (c lice c zh ong Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
  • 25. 北京尚观科技有限公司 Introduction le fe rab ns o n -tra s an m ) ha ideฺ g ฺco nt Gu o kin ude u plo is St g@ se th honCopyright © 2008, Oracle. All rights reserved. u enz se to (ch cen chen li zh ong Unauthorized reproduction or distribution prohibited. Copyright© 2009, Oracle and/or its affiliates.
  • 26. 北京尚观科技有限公司 Lesson Objectives After completing this lesson, you should be able to do the following: • List the course objectives and explain the class structure • Review the Oracle Database 10g architecture le fe rab ns o n -tra s an m ) ha ideฺ g ฺco nt Gu o kin ude u plo is St g@ se th honCopyright © 2008, Oracle. All rights reserved. u enz se to (ch cen chen li z h ong Unauthorized reproduction or distribution 10g: Administration Workshop II 1 - 2 and/or its affiliates. Oracle Database prohibited. Copyright© 2009, Oracle
  • 27. 北京尚观科技有限公司 Course Objectives In this course, you gain experience in: • Using Recovery Manager (RMAN) for advanced backup and recovery • Employing database monitoring practices for memory, performance, and storage • Managing resources, job schedules, security, and rabl e e globalization issues a nsf no n-tr a h as ฺ o m) uide n gฺc ent G o oki tud upl his S o ng@ se t u nzh e Copyright © 2008, Oracle. All rights reserved. e s to (ch cen chen li z h ong Unauthorized reproduction or distribution 10g: Administration Workshop II 1 - 3 and/or its affiliates. Oracle Database prohibited. Copyright© 2009, Oracle
  • 28. 北京尚观科技有限公司 Suggested Schedule 1: Introduction 10: Schema 2: Configuring RMAN 11: Storage 3: Using RMAN 12: ASM 4: Non-Critical Recovery 13: Resources e 5: Recovery 14: Scheduler fer abl 6: Flashback 15: Security ans 7: Corruption no n-tr 8: Memory 16: s a haGlobalization ฺ ) 17: Workshop m uide o G gฺc entAppendixes 9: Performance o kin d u plo is Stu g@ se th honCopyright © 2008, Oracle. All rights reserved. u enz se to (ch cen chen li z h ong Unauthorized reproduction or distribution 10g: Administration Workshop II 1 - 4 and/or its affiliates. Oracle Database prohibited. Copyright© 2009, Oracle
  • 29. 北京尚观科技有限公司 What Is Covered in the DBAI Course 1. Introduction 13. Performance 2. Installation 14. Backup & Recovery 3. DB Creation Concepts 4. Instance 15. Backup 5. Storage 16. Recovery 17. Flashback le rab 6. Users 18. Moving Data fe 7. Schema n s 8. Data & Concurrency n -tra o s an 9. Undo m ) ha ideฺ 10. Security g ฺco nt Gu 11. Network o kin ude plo is t 12. Proactive Maintenance S u g@ se th honCopyright © 2008, Oracle. All rights reserved. u enz se to (ch cen What Ishen li c Covered in the DBAI Course ng oDBAI refers to the Oracle Database 10g: Administration Workshop I (Release 2) course. zh Unauthorized reproduction or distribution 10g: Administration Workshop II 1 - 5 and/or its affiliates. Oracle Database prohibited. Copyright© 2009, Oracle
  • 30. 北京尚观科技有限公司 Course Examples: The HR Schema REGIONS REGION_ID (PK) REGION_NAME JOBS COUNTRIES JOB_ID (PK) COUNTRY_ID (PK) JOB_TITLE COUNTRY_NAME MIN_SALARY JOB_HISTORY REGION_ID (FK) MAX_SALARY EMPLOYEE_ID (PK) START_DATE (PK) END_DATE JOB_ID (FK) LOCATIONS EMPLOYEES DEPARTMENT_ID (FK) le LOCATION_ID (PK) EMPLOYEE_ID (PK) fe rab STREET_ADDRESS FIRST_NAME n s -tra POSTAL_CODE LAST_NAME CITY EMAIL STATE_PROVINCE PHONE_NUMBER n o COUNTRY_ID (FK) HIRE_DATE JOB_ID (FK) s an DEPARTMENTS SALARY COMMISION_PCT m ) ha ideฺ DEPARTMENT_ID (PK) MANAGER_ID (FK) g ฺco nt Gu kin ude DEPARTMENT_NAME DEPARTMENT_ID (FK) MANAGER_ID o LOCATION_ID (FK) u plo is St g@ se th honCopyright © 2008, Oracle. All rights reserved. u enz se to (ch cen Course hen i c Examples:l The HR Sample Schema h ng ocreated as partused instarter database.from a human resources (HR) application, which can be The examples this course are z of the The following are some principal business rules of the HR application: • Each department may be the employer of one or more employees. Each employee may be assigned to one and only one department. • Each job must be a job for one or more employees. Each employee must be currently assigned to one and only one job. • When an employee changes his or her department or job, a record in the JOB_HISTORY table records the start and end dates of the past assignments. • JOB_HISTORY records are identified by a composite primary key (PK): the EMPLOYEE_ID and the START_DATE columns. Notation: PK = primary key, FK = foreign key Solid lines represent mandatory foreign key (FK) constraints and dashed lines represent optional FK constraints. The EMPLOYEES table also has an FK constraint with itself. This is an implementation of the business rule: Each employee may be reporting directly to one and only one manager. The FK is optional because the top employee does not report to another employee. Unauthorized reproduction or distribution 10g: Administration Workshop II 1 - 6 and/or its affiliates. Oracle Database prohibited. Copyright© 2009, Oracle
  • 31. 北京尚观科技有限公司 Oracle Database 10g: The Database for the Grid • Automatic Storage Management • Portable clusterware • Real Application Clusters and automatic workload management • Resource Manager e • Oracle Streams r abl • Centralized management with Enterprise Manager n sfe -tra Grid Control a non • as ฺ Oracle Database 10g new self-management h features o m) uide c i ngฺ dent G ook Stu upl his o ng@ se t u nzh e Copyright © 2008, Oracle. All rights reserved. e s to n (ch cen che li Oracle Database 10g: The Database for the Grid ng oOracleofDatabase 10g is the first databasethe following: for grid computing. To summarize, h some the most important features are that is designed z • Automatic Storage Management (ASM) virtualizes your storage and provides easy provisioning of your database storage. • Oracle Database 10g offers portable clusterware that runs on all platforms. • Oracle Database 10g offers automatic workload management for services within a RAC database. • Oracle Database 10g provides additional mappings for consumer groups based on user host machine, application, OS username, or service. • Oracle Streams can stream data between databases, nodes, or blade farms in a grid. It provides a unified framework for information sharing, combining message queuing, replication, events, and data warehouse loading into a single technology. • Enterprise Manager Grid Control provides a single tool that can monitor and manage not only every Oracle software element (Oracle Application Server 10g and Oracle Database 10g) in your grid but also Web applications via Application Performance Management (APM), hosts, storage devices, and server load balancers. Unauthorized reproduction or distribution 10g: Administration Workshop II 1 - 7 and/or its affiliates. Oracle Database prohibited. Copyright© 2009, Oracle
  • 32. 北京尚观科技有限公司 Database Architecture: Review Memory structures Instance System Global Area (SGA) Process structures Background processes l e fe rab n s Database files n o -tra Storage structures s an m ) ha ideฺ g ฺco nt Gu o kin ude u plo is St g@ se th honCopyright © 2008, Oracle. All rights reserved. u enz se to (ch cen Databaseen li ch Architecture: Review ng oThe followingknowledgeaof Oracle’s database Oracle database architecture. In this course, you h enhance your pages are basic review of the z structures, processes, and utilities. Each running Oracle database is associated with an Oracle instance. When a database is started on a database server, the Oracle software allocates a shared memory area called the System Global Area (SGA) and starts several Oracle background processes. This combination of the SGA and the Oracle processes is called an Oracle instance. After starting an instance, the Oracle software associates the instance with a specific database. This is called mounting the database. The database is then ready to be opened, which makes it accessible to authorized users. Multiple instances can execute concurrently on the same computer, each accessing its own physical database. You can look at the Oracle database architecture as various interrelated structural components. An Oracle database uses memory structures and processes to manage and access the database. All memory structures exist in the main memory of the computers that constitute the database server. Processes are jobs that work in the memory of these computers. A process is defined as a “thread of control” or a mechanism in an operating system that can run a series of steps. Unauthorized reproduction or distribution 10g: Administration Workshop II 1 - 8 and/or its affiliates. Oracle Database prohibited. Copyright© 2009, Oracle
  • 33. 北京尚观科技有限公司 Oracle Memory Structures Server Server Background process PGA process PGA PGA process 1 2 SGA le Shared pool Streams pool Large pool fe rab n s n -tra o an has eฺ Database Redo log Java pool buffer cache ) buffer c om Guid i ngฺ dent ook Stu upl his o ng@ se t u nzh e Copyright © 2008, Oracle. All rights reserved. e s to n (ch cen che li Oracle Memory Structures ng oThe basic memory structures associated with an Oracle instance include: processes zh • System Global Area (SGA): Shared by all server and background • Program Global Area (PGA): Private to each server and background process; there is one PGA for each process The SGA is a memory area that contains data and control information for the instance. The SGA includes the following data structures: • Database buffer cache: Caches blocks of data retrieved from the database • Redo log buffer: Caches redo information (used for instance recovery) until it can be written to the physical redo log files stored on the disk • Shared pool: Caches various constructs that can be shared among users • Large pool: Is an optional area that provides large memory allocations for certain large processes, such as Oracle backup and recovery operations, and I/O server processes • Java pool: Is used for all session-specific Java code and data within the Java Virtual Machine (JVM) • Streams pool: Is used by Oracle Streams When you start the instance by using Enterprise Manager or SQL*Plus, the amount of memory allocated for the SGA is displayed. Unauthorized reproduction or distribution 10g: Administration Workshop II 1 - 9 and/or its affiliates. Oracle Database prohibited. Copyright© 2009, Oracle
  • 34. 北京尚观科技有限公司 Oracle Memory Structures (continued) A Program Global Area (PGA) is a memory region that contains data and control information for each server process. An Oracle server process services a client’s requests. Each server process has its own private PGA that is created when the server process is started. Access to the PGA is exclusive to that server process, and the PGA is read and written only by the Oracle code acting on its behalf. With the dynamic SGA infrastructure, the size of the database buffer cache, the shared pool, the large pool, the Java pool, and the Streams pool changes without shutting down the instance. The Oracle database uses initialization parameters to create and configure memory structures. For example, the SGA_TARGET parameter specifies the total amount of space available to the SGA. If you set SGA_TARGET to 0, Automatic Shared Memory Management is disabled. l e fe rab n s o n -tra s an m ) ha ideฺ g ฺco nt Gu o kin ude u plo is St g@ se th z hon to u hen nse he n (c lice c zh ong Unauthorized reproduction or distribution10g: Administration Workshop IIOracle and/or its affiliates. Oracle Database prohibited. Copyright© 2009, 1 - 10
  • 35. 北京尚观科技有限公司 Oracle Processes Server Server Server Server process process process process System Global Area l e (SGA) fe rab n s n -tra o an System Process Database Check- has e )LogWriter ฺ Archiver Monitor Monitor Writer point m ฺco n (LGWR) (ARCn) (CKPT) t G uid (SMON) (PMON) (DBWn) g e kinprocesses Background tud o u plo is S g@ se th honCopyright © 2008, Oracle. All rights reserved. u enz se to n (ch cen Oracle Processes li che h ng oOracleyou invoke an application program or an Oracle tool, suchissued by the application.the When as Enterprise Manager, z server creates a server process to execute the commands The Oracle server also creates a set of background processes for an instance that interact with each other and with the operating system to manage the memory structures, asynchronously perform I/O to write data to disk, and perform other required tasks. Which background processes are present depends on the features that are being used in the database. The most common background processes are the following: • System Monitor (SMON): Performs crash recovery when the instance is started following a failure • Process Monitor (PMON): Performs process cleanup when a user process fails • Database Writer (DBWn): Writes modified blocks from the database buffer cache to the data files on the disk • Checkpoint (CKPT): Updates all the data files and control files of the database to indicate the most recent checkpoint • LogWriter (LGWR): Writes redo log entries to the disk • Archiver (ARCn): Copies redo log files to an archival storage when a log switch occurs Unauthorized reproduction or distribution10g: Administration Workshop IIOracle and/or its affiliates. Oracle Database prohibited. Copyright© 2009, 1 - 11
  • 36. 北京尚观科技有限公司 Reviewing Oracle Instance Management Example: Starting a database instance 1 Instance Establishing a connection SGA Database Redo log System Process buffer cache buffer Monitor Monitor (SMON) (PMON) e l fe rab Server Database n s 3 process Writer n o -tra LogWriter (LGWR) 2 (DBWn) s an User process m ) ha ideฺ g ฺco nt Gu oo kin ude u plDatais St files Redo log files g@ se th honCopyright © 2008, Oracle. All rights reserved. u enz se to (ch cen Reviewing n i che Oracle lInstance Management ng operforms. It illustrates an Oracle configuration where theoperations that the Oracle database The following example describes the most basic level of zh user and associated server processes are on separate computers (connected through a network). 1. An instance has started on the computer running Oracle (often called the host or database server). 2. A computer running an application (a local computer or client workstation) runs the application in a user process. The client application attempts to establish a connection to the instance by using the Oracle Net Services driver. 3. The instance detects the connection request from the application and connects to a server process on behalf of the user process. Unauthorized reproduction or distribution10g: Administration Workshop IIOracle and/or its affiliates. Oracle Database prohibited. Copyright© 2009, 1 - 12