Infrastructure at your Service

Data Guard Archives - Blog dbi services

Clemens Bleile

Transfer redo in async-mode to the Gold/Master copy of the Production DB for ACFS snapshots

By | Database Administration & Monitoring | 2 Comments

If you store your databases on the cluster filesystem ACFS you may use the provided Perl-script gDBClone from OTN to clone databases or create snapshot databases. It is an interesting approach to create clones from the Production DB in minutes regardless of the production DB size. What you do is to create a standby DB from your production DB on a separate cluster and use that standby DB as a Gold/Master copy for ACFS snapshots….

 
Read More
Franck Pachot

Archivelog deletion policy on Data Guard configuration

By | Oracle | No Comments

The deletion policy on a dataguard configuration should be: CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY; for the site where you don’t backup. It can be the standby or the primary. and: CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY BACKED UP 1 TIMES TO DISK; for the site where you do the backups. It can be the primary or the standby. I’ve always configured it in this way, but I recently…

 
Read More
Franck Pachot

12c nologging and Data Guard

By | Database management | 3 Comments

The title sounds weird because Data Guard synchronisation is based on the redo stream, so it makes no sense to do nologging operations on the primary. And this is the reason why we set FORCE LOGGING on a Data Guard configuration. However, to lower the downtime of a migration done with Data Pump, you may want to import with minimal logging and then re-synchronize the standby. This post is about the re-synchronisation in 12.1  

 
Read More
William Sescu

Oracle 12c – How to Recover lost DataGuard Broker Configuration Files

By | Database Administration & Monitoring, Database management | No Comments

If you are using RMAN to back up your database, you are already doing the right thing. However, RMAN does not take care of everything. e.g. it is not backing up the following things, to mention just a few. Oracle Home Grid Infrastructure Home Data Guard broker files Password File SQL*Net file like ldap.ora, sqlnet.ora, tnsnames.ora and listener.ora /etc/oratab OS audit files Wallets /etc/sysctl.conf and limits.conf OLR and OCR Voting Disks ASM Metadata passwd, shadow,…

 
Read More
Franck Pachot

12cR2: Recover nonlogged blocks after NOLOGGING in Data Guard

By | Database Administration & Monitoring | No Comments

You can accept to do NOLOGGING operations on bulk loads or index build according that you do a backup just after, and that your recovery plan mentions how to load the data again in case of media recovery. With a standby database, we usually force logging because we want redo to be generated for all operations in order to ship it and apply it on standby database. 12.2 brings a new solution: do nologging operations,…

 
Read More
Franck Pachot

12cR2 DBCA can create a standby database

By | Database Administration & Monitoring | No Comments

Do you like DBCA to create a database from command line, with -silent -createDatabase? On a simple command line you can provision a database, with oratab, tnsnames.ora directory creation and any setting you want. And you can even call a custom script to customize further. But if you want to put it in Data Guard, you have to do the duplicate manually with RMAN. This evolves in 12.2 with a new option in DBCA to…

 
Read More
Franck Pachot

Oracle 12c – How to Prevent License Violation with Active Data Guard

By | Oracle | No Comments

There are some articles floating around how to prevent a license violation with Active Data Guard. Some of them related to an underscore parameter “_query_on_physical” and some of them related to a startup trigger. Both of them have advantages and disadvantages. E.g. regarding the “_query_on_physical” I can’t find any MOS Note about it, and I don’t know the side effects. Oracle gives us a hard time to disable features that we don’t want to be…

 
Read More
Mouhamadou Diaw

Dataguard Oracle 12.2 : Support for Multiple Observers

By | Database Administration & Monitoring | One Comment

With Oracle 12cR2 it is now possible to configure multiple observers within a single Oracle Data Guard broker configuration. Multiple observers provide an immediate benefit for High Availability. If one observer fails, there are additional observers that can continue to monitor the status of the configuration. In this blog we are going to talk about this new feature. Our configuration have 3 servers: primaserver.localdomain with db_unique_name ORCL_SITE standserver1.localdomain with db_unique_name ORCL_SITE1 standserver2.localdomain with db_unique_name ORCL_SITE2…

 
Read More