SlideShare a Scribd company logo
Oracle10g Data Guard
      Overview
Objectives

•   Explain the benefits of Data Guard and why we
    might use it
•   Describe the basic components of Oracle Data
    Guard
Benefits of Oracle Data Guard
•   Configure the system to meet business protection
    and recovery requirements
•   Continuous service through a disaster or crippling
    data failure
•   Complete data protection against corruptions and
    data loss
•   Reduce overhead on primary systems by
    offloading:
    – adhoc queries
    – reporting
    – backups
•   Centralized management (Data Guard Broker, Data
    Guard Manager via Enterprise Manager)
Data Loss Causes…



Hardware & System Error                                 44%

Human Error                                   32%

Software Corruption               14%

Computer Viruses             7%

Natural Disasters          3%


                                  * Protect Data 2006
What is Data Guard?

                       Primary                                          Standby
                      Database                                          Database
                                                  Redo




                                                 Oracle Net




                              Database                                Database Copy
Oracle® Data Guard Concepts and Administration 10g Release 2 (10.2)
“Ch. 1 Introduction to Oracle Data Guard “
Oracle dataguard overview
Standby Databases

There are two types of standby databases:
 1. Physical standby database
 2. Logical standby database
Data Guard Services

There are three types of services provided
between the Primary and Standby databases:

1. Redo Transport: (2 types: Archival or Real-Time)
    • Controls the transfer of redo data from the primary
      database to the standby database.
2. Log Apply: (2 types: Redo Apply or SQL Apply)
    • Applies redo data on the standby database to maintain
      synchronization with the primary database.
3. Role Transitions: (2 types: Switchover or Failover)
    • Change the role of a database:
        SWITCHOVER: standby to primary + primary to standby
        FAILOVER: standby to primary
Data Guard Services
               Redo Transport
Redo transport services perform the following
tasks:
 • Transmits redo data from the primary to one
    or more standbys (9 max*) using ARCH or
    LGWR (LNSn)
 • Enforces the database protection mode
 • Automatically detects missing or corrupted
    archived redo log files on the standby and
    retrieves replacement archived redo log files
    from the primary, or another standby database
    i.e.: “GAP” RESOLUTION
 • Archival or Real-Time
Data Guard Services
               No Standby – No REDO Transport
   Primary
  Database
Transactions

                   LGWR




     Online
  Redo Log Files




                   ARC0




                        Archived
                      Redo Log Files
Data Guard Services
                          Redo Transport (Archival)
   Primary                                                                Physical
  Database                                                                Standby
Transactions                                                              Database
                   LGWR                   RFS                MSRP
                               Archival
                              Transport



     Online
                                                                        Redo
  Redo Log Files
                                                                        Apply




                   ARC0           ARC1          ARC0




                        Archived
                      Redo Log Files
                                                         Archived
                                                       Redo Log Files
Data Guard Services
                     Redo Transport (Real-Time)
   Primary                                                                          Logical
  Database                                                                         Standby
Transactions                                                                       Database

                   LGWR          LSN0       RFS            LGWR          LSP




     Online                                  Standby
                                                                           SQL
  Redo Log Files                          Redo Log Files
                              Real-Time                                    Apply
                              Transport     (Required)



                   ARC0                                    ARC0




                        Archived
                      Redo Log Files
                                                                    Archived
                                                                  Redo Log Files
Data Guard Services
          Redo Transport Configuration
Redo transport is configured via parameters:
LOG_ARCHIVE_DEST_n (n = { 1..10 })
 •  One destination must be LOCAL and must be MANDATORY.
    This destination, usually n = 1, is always archived first when
    using ARCH for redo transport
 •  Destination n = 10 is the default FLASHBACK RECOVERY
    area.

LOG_ARCHIVE_DEST_STATE_n
 •  Allows one to ENABLE, DEFER, or RESET a specific
    destination

STANDBY_ARCHIVE_DEST (standby only)
 •  If no LOG_ARCHIVE_DEST_n locations specified then
    provides default location for archived redo logs
Data Guard Services
                Log Apply (Redo Apply)
For physical standby databases, Data Guard uses Redo Apply
technology, which applies redo data on the standby database
using standard recovery techniques of an Oracle database.

I.e. Block-for-block, byte-for-byte, bit-for-bit identical to primary.
Data Guard Services
                Log Apply (SQL Apply)
For logical standby databases, Data Guard uses SQL Apply
technology, which transforms the received redo data into SQL
statements and then executes the generated SQL statements on
the logical standby database.

I.e. Use Log Mining to extract the redo, transform the redo into SQL
statements, then execute the SQL statements against the logical
standby.
Role Transitions
               Switchover and Failover

•   Not automatically invoked (but can be…)
•   Switchover
    – Planned role reversal
    – Used for OS or hardware maintenance
•   Failover
    – Unplanned role reversal
    – Use in an emergency
    – Minimal or zero data loss depending on choice of
      data protection mode
Data Protection Modes
              Maximum Protection

•   Ensures that no data loss will occur if the primary
    database fails.
•   Redo needed to recover each transaction must be
    written to both the local online redo log and to the
    standby redo log on at least one standby database
    before the transaction commits.
•   If a fault prevents the primary database from
    writing its redo stream to the standby redo log of
    at least one transactionally-consistent standby
    database, the primary database shuts down.
Oracle dataguard overview
Data Protection Modes
            Maximum Performance

•   Default. Provides highest level of data protection
    possible without affecting the performance of the
    primary database.
•   Transactions may commit as soon as the redo
    data needed to recover them transaction is written
    to the primary’s online redo log.
•   Redo data stream written asynchronously to at
    least one standby database.
•   If sufficient bandwidth exists, provides a level of
    data protection that approaches that of maximum
    availability mode with minimal impact on primary
    database performance.
Setting the Protection Mode

     To set up redo transport services and specify a level of data
     protection for the Data Guard configuration, perform the following
     steps.

     Step 1: Configure the LOG_ARCHIVE_DEST_n parameters on the
     primary database.
                          Maximum      Maximum            Maximum
                          Protection   Availability       Performance
Redo archival process     LGWR         LGWR               LGWR or ARCH


Network Transmission      SYNC         SYNC               SYNC or ASYNC (LGWR)
Mode                                                      SYNC (ARCH)
Disk Write Option         AFFIRM       AFFIRM             AFFIRM or NOAFFIRM


Standby Redo Log          Yes          Yes                No but recommended
Required?
Setting the Protection Mode

Step 1: Bounce the primary database:
      SQL> SHUTDOWN IMMEDIATE;
      SQL> STARTUP MOUNT;
      * If RAC, shutdown all instances, restart/mount one instance.
Step 2: Set the mode:
      SQL> ALTER DATABASE SET STANDBY DATABASE TO PROTECTION MODE;


Step 3: Open the Primary Database:
      SQL> ALTER DATABASE OPEN;


Step 4: Confirm LOG_ARCHIVE_DEST_n parameter(s) on Standby
        Database:
      SQL> SHOW PARAMETER log_archive_dest_


Step 5: Confirm configuration:
      SQL> SELECT PROTECTION_MODE, PROTECTION_LEVEL FROM V$DATABASE;
Summary


In this lesson you should have learned:
 • Benefits of Data Guard and why we might use it
 • Basic components of Oracle Data Guard

More Related Content

What's hot (20)

PDF
Securefile LOBs
Martin Berger
 
PPTX
Migrate Oracle database to Amazon RDS
Jesus Guzman
 
PDF
Oracle RAC 19c and Later - Best Practices #OOWLON
Markus Michalewicz
 
PPT
Oracle Architecture
Neeraj Singh
 
PDF
Exadata master series_asm_2020
Anil Nair
 
DOCX
Oracle Database 19c (19.3) Installation on Windows (Step-by-Step)
Feras Ahmad
 
PDF
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Markus Michalewicz
 
PDF
Migration to Oracle Multitenant
Jitendra Singh
 
PDF
Deep review of LMS process
Riyaj Shamsudeen
 
PDF
The Oracle RAC Family of Solutions - Presentation
Markus Michalewicz
 
PDF
Linux tuning to improve PostgreSQL performance
PostgreSQL-Consulting
 
PPT
Your tuning arsenal: AWR, ADDM, ASH, Metrics and Advisors
John Kanagaraj
 
PDF
Oracle Data Guard for Beginners
Pini Dibask
 
PPTX
Oracle ASM Training
Vigilant Technologies
 
PDF
DOAG - Oracle Database Locking Mechanism Demystified
Pini Dibask
 
PDF
Oracle RAC Internals - The Cache Fusion Edition
Markus Michalewicz
 
PDF
Oracle RAC 12c Overview
Markus Michalewicz
 
PDF
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Sandesh Rao
 
PDF
MAA Best Practices for Oracle Database 19c
Markus Michalewicz
 
Securefile LOBs
Martin Berger
 
Migrate Oracle database to Amazon RDS
Jesus Guzman
 
Oracle RAC 19c and Later - Best Practices #OOWLON
Markus Michalewicz
 
Oracle Architecture
Neeraj Singh
 
Exadata master series_asm_2020
Anil Nair
 
Oracle Database 19c (19.3) Installation on Windows (Step-by-Step)
Feras Ahmad
 
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Markus Michalewicz
 
Migration to Oracle Multitenant
Jitendra Singh
 
Deep review of LMS process
Riyaj Shamsudeen
 
The Oracle RAC Family of Solutions - Presentation
Markus Michalewicz
 
Linux tuning to improve PostgreSQL performance
PostgreSQL-Consulting
 
Your tuning arsenal: AWR, ADDM, ASH, Metrics and Advisors
John Kanagaraj
 
Oracle Data Guard for Beginners
Pini Dibask
 
Oracle ASM Training
Vigilant Technologies
 
DOAG - Oracle Database Locking Mechanism Demystified
Pini Dibask
 
Oracle RAC Internals - The Cache Fusion Edition
Markus Michalewicz
 
Oracle RAC 12c Overview
Markus Michalewicz
 
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Sandesh Rao
 
MAA Best Practices for Oracle Database 19c
Markus Michalewicz
 

Viewers also liked (20)

PPT
Dataguard presentation
Vimlendu Kumar
 
PDF
Active dataguard
Manoj Kumar
 
PPT
High Availability And Oracle Data Guard 11g R2
Mario Redón Luz
 
PPTX
Data Guard25 August
Guenadi JILEVSKI
 
PPSX
Oracle 11g R2 RAC implementation and concept
Santosh Kangane
 
DOC
Oracle data guard configuration in 12c
uzzal basak
 
DOCX
Rac questions
parvezsigan
 
PDF
Know Your Competitor - Oracle 10g Express Edition
Ronald Bradford
 
PPT
Les01
Sudharsan S
 
DOCX
Data guard architecture
Vimlendu Kumar
 
PDF
Data guard oracle
Antony James Vijay
 
PPT
D17316 gc20 l05_phys_sql
Moeen_uddin
 
PPT
D17316 gc20 l04_phys_em
Moeen_uddin
 
PPT
D17316 gc20 l03_broker_em
Moeen_uddin
 
PPT
D17316 gc20 l02_architecture
Moeen_uddin
 
PPT
D17316 gc20 l01_overview
Moeen_uddin
 
PDF
Advanced analytics with sap hana and r
SAP Technology
 
PDF
Manual de instalacion_oracle_11g_r2
Daniel Moo Moo
 
PDF
Oracle 11g concept
Battlecruiser Vodanh
 
PPT
D17316 gc20 l06_dataprot_logtrans
Moeen_uddin
 
Dataguard presentation
Vimlendu Kumar
 
Active dataguard
Manoj Kumar
 
High Availability And Oracle Data Guard 11g R2
Mario Redón Luz
 
Data Guard25 August
Guenadi JILEVSKI
 
Oracle 11g R2 RAC implementation and concept
Santosh Kangane
 
Oracle data guard configuration in 12c
uzzal basak
 
Rac questions
parvezsigan
 
Know Your Competitor - Oracle 10g Express Edition
Ronald Bradford
 
Data guard architecture
Vimlendu Kumar
 
Data guard oracle
Antony James Vijay
 
D17316 gc20 l05_phys_sql
Moeen_uddin
 
D17316 gc20 l04_phys_em
Moeen_uddin
 
D17316 gc20 l03_broker_em
Moeen_uddin
 
D17316 gc20 l02_architecture
Moeen_uddin
 
D17316 gc20 l01_overview
Moeen_uddin
 
Advanced analytics with sap hana and r
SAP Technology
 
Manual de instalacion_oracle_11g_r2
Daniel Moo Moo
 
Oracle 11g concept
Battlecruiser Vodanh
 
D17316 gc20 l06_dataprot_logtrans
Moeen_uddin
 
Ad

Similar to Oracle dataguard overview (20)

PPT
Data guard logical_r3.1
Ram Naani
 
PPT
D17316 gc20 l12_other
Moeen_uddin
 
PPT
DataGuard_architecture
Moeen_uddin
 
PPT
Oracle Dataguard
Navneet Upneja
 
PDF
DataGuard - Oracle's Time Machine
Navneet Upneja
 
PPT
Oracle presentations RAC dataguard active database
mabessisindu
 
PPT
dgintro (1).ppt
Ans Sembiring
 
PPT
Oracle DataGuard Online Training in USA | INDIA
Xoom Trainings
 
PPTX
Fast Start Failover DataGuard
Borsaniya Vaibhav
 
PDF
Dataguard physical stand by setup
smajeed1
 
PPTX
Data Guard 19c Data Guard 19c Data Guard 19c
ssuser0284a2
 
PPT
D79232GC10_les01.ppt
HODCA1
 
PDF
Twee remedies tegen systeemuitval en datacorruptie
Jos van den Oord [Oracle DBA,OCM,OCP,RAC,CLOUD]
 
PPT
Adventures in Dataguard
Jason Arneil
 
PDF
Data guard
Flavio Artur Rangel
 
PDF
oracle10g datagurad
Nst Tnagar
 
PDF
IOUG Collaborate 18 - Data Guard for Beginners
Pini Dibask
 
PDF
Oracle data guard for beginners
Pini Dibask
 
PDF
Oracle Data Guard Physical Standby Configuration
Arun Sharma
 
PPTX
Oracle-12cData-Guard-Broker-Session-4.pptx
naveencl4
 
Data guard logical_r3.1
Ram Naani
 
D17316 gc20 l12_other
Moeen_uddin
 
DataGuard_architecture
Moeen_uddin
 
Oracle Dataguard
Navneet Upneja
 
DataGuard - Oracle's Time Machine
Navneet Upneja
 
Oracle presentations RAC dataguard active database
mabessisindu
 
dgintro (1).ppt
Ans Sembiring
 
Oracle DataGuard Online Training in USA | INDIA
Xoom Trainings
 
Fast Start Failover DataGuard
Borsaniya Vaibhav
 
Dataguard physical stand by setup
smajeed1
 
Data Guard 19c Data Guard 19c Data Guard 19c
ssuser0284a2
 
D79232GC10_les01.ppt
HODCA1
 
Twee remedies tegen systeemuitval en datacorruptie
Jos van den Oord [Oracle DBA,OCM,OCP,RAC,CLOUD]
 
Adventures in Dataguard
Jason Arneil
 
oracle10g datagurad
Nst Tnagar
 
IOUG Collaborate 18 - Data Guard for Beginners
Pini Dibask
 
Oracle data guard for beginners
Pini Dibask
 
Oracle Data Guard Physical Standby Configuration
Arun Sharma
 
Oracle-12cData-Guard-Broker-Session-4.pptx
naveencl4
 
Ad

Recently uploaded (20)

PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PPTX
Digital Circuits, important subject in CS
contactparinay1
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
PPTX
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
PDF
NASA A Researcher’s Guide to International Space Station : Physical Sciences ...
Dr. PANKAJ DHUSSA
 
PDF
AI Agents in the Cloud: The Rise of Agentic Cloud Architecture
Lilly Gracia
 
PDF
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PDF
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
PDF
Staying Human in a Machine- Accelerated World
Catalin Jora
 
PDF
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
PDF
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
PDF
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
PDF
🚀 Let’s Build Our First Slack Workflow! 🔧.pdf
SanjeetMishra29
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
Digital Circuits, important subject in CS
contactparinay1
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
NASA A Researcher’s Guide to International Space Station : Physical Sciences ...
Dr. PANKAJ DHUSSA
 
AI Agents in the Cloud: The Rise of Agentic Cloud Architecture
Lilly Gracia
 
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
Staying Human in a Machine- Accelerated World
Catalin Jora
 
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
🚀 Let’s Build Our First Slack Workflow! 🔧.pdf
SanjeetMishra29
 

Oracle dataguard overview

  • 2. Objectives • Explain the benefits of Data Guard and why we might use it • Describe the basic components of Oracle Data Guard
  • 3. Benefits of Oracle Data Guard • Configure the system to meet business protection and recovery requirements • Continuous service through a disaster or crippling data failure • Complete data protection against corruptions and data loss • Reduce overhead on primary systems by offloading: – adhoc queries – reporting – backups • Centralized management (Data Guard Broker, Data Guard Manager via Enterprise Manager)
  • 4. Data Loss Causes… Hardware & System Error 44% Human Error 32% Software Corruption 14% Computer Viruses 7% Natural Disasters 3% * Protect Data 2006
  • 5. What is Data Guard? Primary Standby Database Database Redo Oracle Net Database Database Copy Oracle® Data Guard Concepts and Administration 10g Release 2 (10.2) “Ch. 1 Introduction to Oracle Data Guard “
  • 7. Standby Databases There are two types of standby databases: 1. Physical standby database 2. Logical standby database
  • 8. Data Guard Services There are three types of services provided between the Primary and Standby databases: 1. Redo Transport: (2 types: Archival or Real-Time) • Controls the transfer of redo data from the primary database to the standby database. 2. Log Apply: (2 types: Redo Apply or SQL Apply) • Applies redo data on the standby database to maintain synchronization with the primary database. 3. Role Transitions: (2 types: Switchover or Failover) • Change the role of a database: SWITCHOVER: standby to primary + primary to standby FAILOVER: standby to primary
  • 9. Data Guard Services Redo Transport Redo transport services perform the following tasks: • Transmits redo data from the primary to one or more standbys (9 max*) using ARCH or LGWR (LNSn) • Enforces the database protection mode • Automatically detects missing or corrupted archived redo log files on the standby and retrieves replacement archived redo log files from the primary, or another standby database i.e.: “GAP” RESOLUTION • Archival or Real-Time
  • 10. Data Guard Services No Standby – No REDO Transport Primary Database Transactions LGWR Online Redo Log Files ARC0 Archived Redo Log Files
  • 11. Data Guard Services Redo Transport (Archival) Primary Physical Database Standby Transactions Database LGWR RFS MSRP Archival Transport Online Redo Redo Log Files Apply ARC0 ARC1 ARC0 Archived Redo Log Files Archived Redo Log Files
  • 12. Data Guard Services Redo Transport (Real-Time) Primary Logical Database Standby Transactions Database LGWR LSN0 RFS LGWR LSP Online Standby SQL Redo Log Files Redo Log Files Real-Time Apply Transport (Required) ARC0 ARC0 Archived Redo Log Files Archived Redo Log Files
  • 13. Data Guard Services Redo Transport Configuration Redo transport is configured via parameters: LOG_ARCHIVE_DEST_n (n = { 1..10 }) • One destination must be LOCAL and must be MANDATORY. This destination, usually n = 1, is always archived first when using ARCH for redo transport • Destination n = 10 is the default FLASHBACK RECOVERY area. LOG_ARCHIVE_DEST_STATE_n • Allows one to ENABLE, DEFER, or RESET a specific destination STANDBY_ARCHIVE_DEST (standby only) • If no LOG_ARCHIVE_DEST_n locations specified then provides default location for archived redo logs
  • 14. Data Guard Services Log Apply (Redo Apply) For physical standby databases, Data Guard uses Redo Apply technology, which applies redo data on the standby database using standard recovery techniques of an Oracle database. I.e. Block-for-block, byte-for-byte, bit-for-bit identical to primary.
  • 15. Data Guard Services Log Apply (SQL Apply) For logical standby databases, Data Guard uses SQL Apply technology, which transforms the received redo data into SQL statements and then executes the generated SQL statements on the logical standby database. I.e. Use Log Mining to extract the redo, transform the redo into SQL statements, then execute the SQL statements against the logical standby.
  • 16. Role Transitions Switchover and Failover • Not automatically invoked (but can be…) • Switchover – Planned role reversal – Used for OS or hardware maintenance • Failover – Unplanned role reversal – Use in an emergency – Minimal or zero data loss depending on choice of data protection mode
  • 17. Data Protection Modes Maximum Protection • Ensures that no data loss will occur if the primary database fails. • Redo needed to recover each transaction must be written to both the local online redo log and to the standby redo log on at least one standby database before the transaction commits. • If a fault prevents the primary database from writing its redo stream to the standby redo log of at least one transactionally-consistent standby database, the primary database shuts down.
  • 19. Data Protection Modes Maximum Performance • Default. Provides highest level of data protection possible without affecting the performance of the primary database. • Transactions may commit as soon as the redo data needed to recover them transaction is written to the primary’s online redo log. • Redo data stream written asynchronously to at least one standby database. • If sufficient bandwidth exists, provides a level of data protection that approaches that of maximum availability mode with minimal impact on primary database performance.
  • 20. Setting the Protection Mode To set up redo transport services and specify a level of data protection for the Data Guard configuration, perform the following steps. Step 1: Configure the LOG_ARCHIVE_DEST_n parameters on the primary database. Maximum Maximum Maximum Protection Availability Performance Redo archival process LGWR LGWR LGWR or ARCH Network Transmission SYNC SYNC SYNC or ASYNC (LGWR) Mode SYNC (ARCH) Disk Write Option AFFIRM AFFIRM AFFIRM or NOAFFIRM Standby Redo Log Yes Yes No but recommended Required?
  • 21. Setting the Protection Mode Step 1: Bounce the primary database: SQL> SHUTDOWN IMMEDIATE; SQL> STARTUP MOUNT; * If RAC, shutdown all instances, restart/mount one instance. Step 2: Set the mode: SQL> ALTER DATABASE SET STANDBY DATABASE TO PROTECTION MODE; Step 3: Open the Primary Database: SQL> ALTER DATABASE OPEN; Step 4: Confirm LOG_ARCHIVE_DEST_n parameter(s) on Standby Database: SQL> SHOW PARAMETER log_archive_dest_ Step 5: Confirm configuration: SQL> SELECT PROTECTION_MODE, PROTECTION_LEVEL FROM V$DATABASE;
  • 22. Summary In this lesson you should have learned: • Benefits of Data Guard and why we might use it • Basic components of Oracle Data Guard