Infrastructure at your Service

All Posts By

Mouhamadou Diaw

Mouhamadou Diaw

Oracle Data Guard RedoRoutes : What is Priority 8 ?

By | Database Administration & Monitoring, Oracle | No Comments

When dealing with cascading or far sync in a Data Guard environment, it is important to understand how to configure the RedoRoutes property. By default, a primary database sends redo to each transport destination that is configured in the destination. We can create more complex transport topology, depending of our environment, using the RedoRoutes property. Basically the RedoRoutes property has this format (redo_routing_rule_1) [(redo_routing_rule_n)] Where each routing rule contains a redo source field and a…

Read More
Mouhamadou Diaw

Oracle 20c : Create a Far Sync Instance Is Now Easy

By | Database Administration & Monitoring, Oracle | No Comments

A far sync instance is like a standby instance as it can receive redo from the primary database and can ship that redo to other members of the Data Guard configuration. But unlike a physical standby instance, a far sync instance does not contain any datafiles and then can not be open for access. A far sync instance just manages a controlfile. A far sync instance cannot be converted to a primary instance or any…

Read More
Mouhamadou Diaw

Patching Oracle Database Appliance From 18.8 to 19.6

By | Database Administration & Monitoring, Operation systems, Oracle | 2 Comments

The ODA software 19.6 is released and people are starting to patch. A direct patch to version 19.6 is possible from version 18.8. Before patching your deployment to Oracle Database Appliance release 19.6, you must upgrade the operating system to Oracle Linux 7. In this blog I am describing the steps I follow when patching an ODA from 18.8 to 19.6. I am using an ODA X7-2 (one node) The first step is of course…

Read More
Mouhamadou Diaw

Migrating From Oracle Non-CDB 19c to Oracle 20c

By | Database Administration & Monitoring, Oracle | 2 Comments

With Oracle 20c, the non-multitenant architecture is no longer supported. So, people will have to migrate their databases to container if they want to use Oracle 20c. There are many methods to transform a non-cdb database to a pluggable one. -Datapump -Full Trabsportable Tablespaces -Plugging non-cdb database , upgrade the plugged database and then convert -Upgrading the non-cdb database, then plug it the container and then convert it ( But I am not sure that…

Read More
Mouhamadou Diaw

Oracle 20c Data Guard : Validating a Fast Start Failover Configuration

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

In Oracle 20c, we can now validate a Fast Start Failover configuration with the new command VALIDATE FAST_START FAILOVER. This command will help identifying issues in the configuration. I tested this new feature. The Fast Start Failover is configured and the observer is running fine as we can see below. DGMGRL> show configuration verbose Configuration – prod20 Protection Mode: MaxPerformance Members: prod20_site1 – Primary database prod20_site2 – (*) Physical standby database (*) Fast-Start Failover target…

Read More
Mouhamadou Diaw

Oracle 20c : The new PREPARE DATABASE FOR DATA GUARD

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

As you may know, Oracle 20c is in the cloud with new features. The one I have tested is the PREPARE DATABASE FOR DATA GUARD. This command configures a database for use as a primary database in a Data Guard broker configuration. Database initialization parameters are set to recommended values. Let’s see what this command will do for us The db_unique_name of the primary database is prod20 and in the Data Guard I will build,…

Read More
Mouhamadou Diaw

Dbvisit 9: Adding datafiles and or tempfiles

By | Database Administration & Monitoring, Oracle | No Comments

One question I was asking is if the standby_file_management parameter is relevant in a Dbvisit environment with Oracle Standard Edition. I did some tests and I show here what I did. We suppose that the Dbvisit is already set and that the replication is fine [[email protected] trace]$ /u01/app/dbvisit/standby/dbvctl -d dbstd -i ============================================================= Dbvisit Standby Database Technology (9.0.08_0_g99a272b) (pid 19567) dbvctl started on dbvisit1: Fri Jan 17 16:48:16 2020 ============================================================= Dbvisit Standby log gap report for…

Read More
Mouhamadou Diaw

Dbvisit Standby 9 : Do you know the new snapshot feature?

By | Database Administration & Monitoring, Oracle | No Comments

Dbvisit snapshot option is a new feature available starting from version 9.0.06. I have tested this option and in this blog I am describing the tasks I have done. The configuration I am using is following dbvist1 : primary server dbvist 2 : standby server orcl : oracle 19c database We suppose that the dbvisit environment is already set and the replication is going fine. See previous blog for setting up dbvisit standby First there…

Read More
Mouhamadou Diaw

PostgreSQL 12 : Setting Up Streaming Replication

By | Database Administration & Monitoring, Postgres | No Comments

PostgreSQL 12 was released a few month ago. When actually setting up a replication, there is no longer recovery.conf file in the PGDATA. Indeed all parameters of the recovery.conf should be now in the postgresql.conf file. And in the cluster data directory of the standby server, therre should be a file named standby.signal to trigger the standby mode. In this blog I am just building a streaming replication between 2 servers to show these changes….

Read More
Mouhamadou Diaw

Oracle 19c : Point-In-Time Recovery in a PDB

By | Database Administration & Monitoring, Oracle | 2 Comments

Point-In-Time Recovery is also possible in a multitenant environment. As in Non-CDB, a recovery catalog can be used or not. In this blog we will see how to recover a dropped tablespace in a PDB. We will also see the importance of using a recovery catalog or not. A PITR of a PDB does not affect remaining PBDs. That means that while doing a PITR in PDB, people can use the other PDBs. In this…

Read More