Oracle database syncing hardware solution? - oracle

I am newer one on Oracle system. I am facing to a problem related Oracle database syncing.
We have 2 databases(A and B). Database A is synced to database B via Oracle GoldenGate. When too many records insert into database A, Oracle GoldenGate falls down.
Can you please suggest another solution for this issue ? We interest in physical hardware solutions if it is available.
Thank you.

Golden Gate is used for logical replication. Hardware replication is a physical kind of replication, like Oracle Data Guard. There will be a reason for the choice for logical replication. If not, go for Oracle Data Guard, which is very efficient and robust.

Related

cross region oracle exadata active active cluster on OCI

Does Anybody have prior experience to set up Oracle Exadata Active-Active Cluster across OCI regions yet? If yes, can you share possible best practices and guiding principles if possible.
The goal is to set up an Active-Active Oracle Exadata cluster across two OCI regions, so customer can readily access other region if one region goes down. It has to be spontaneous without any downtime. It should not be read only Passive site and if required other site can be used (R & W mode ) at any given point. The requirement is, NOT to waste infra as Passive or Stand by, instead it is expected to use all infra as Active serving customers.
The goal is to set up an Active-Active Oracle Exadata cluster across two OCI regions, so customer can readily access both regions simultaneously at the same time. It has to be spontaneous without any downtime.
Usually, It is known that Dataguard and Goldengate can be used, but I am looking for specific implementation best practices and architectural principles considering App Middle tier accessing DB cluster spontaneously.
Your mentioned that "The goal is to set up an Active-Active Oracle Exadata cluster across two OCI regions, so customer can readily access other region if one region goes down. It has to be spontaneous without any downtime."
The terminology Active-Active or Active-Standby is used from database semantics rather than for an Exadata Cluster(DB System/VM Cluster). So i am going to take the question as that the goal here is to design a DR solution for Exadata database which has stringent RTO goals and you want a solution which is automatic/spontaneous without downtime .
Active Dataguard : OCI/DBAAS allows customers to configure a cross region dataguard . Dataguard(standby) databases are an exact (block to block) copy of the Primary database . Dataguard can be configured in Active dataguard mode which means that the standby database is opened in a Read Only mode . This essentially means that queries (Selects) could be offloaded to the standby database .
a. With proper planning and execution, Oracle Data Guard and Active Data Guard role transitions can effectively minimize downtime and ensure that the database environment is restored with minimal impact on the business.
b. A failover is used when the primary database is deemed lost or unrecoverable, or the expected time to repair exceeds the required recovery time objective (RTO). During a failover the primary database is taken offline at one site and a standby database is brought online as the primary database. Failover can be completely automated using Data Guard Fast-Start Failover or it can be a manual, administrator-driven process . Fast-Start Failover eliminates the uncertainty inherent in a process that requires manual intervention, assuming similar measures have been taken to automate the failover of the application tier to the new primary database. Fast-Start Failover automatically executes a database failover within seconds of an outage being detected and can complete in seconds.
Please note OCI/DBAAS has not implemented fast start failover yet meaning that this cannot be done via console or DBAAS API's .
Please take a look at https://www.doag.org/formes/pubfiles/5256791/2013-DB-Larry_Carpenter-Session_Keynote__Best_Practices_for_Data_Availability_and_Disaster_Protection-Praesentation.pdf (Page level 38 for more details on Fast start failover )
Goldengate
Using goldengate customers can configure Active-Active primary-standby wherein both primary and standby are open in Read write mode . Please note that goldengate replication differs from dataguard replication in the sense that Goldengate standby is not an exact block to block copy of the Primary . There could also be restrictions around specific object datatypes which goldengate can support .
For more details on configuring goldengate to maintain a live standby database and failover best practices , please refer to
https://docs.oracle.com/en/middleware/goldengate/core/19.1/admin/configuring-oracle-goldengate-maintain-live-standby-database.html#GUID-6CE0810E-A681-4CCA-9BC8-539E8A364FD3
https://www.oracle.com/technetwork/database/availability/8399-goldengate-dataguard-1888654.pdf
Please note there is no current offering yet for Goldengate in OCI/DBAAS meaning no console/DBAAS API's for configuring / setting up goldengate standby .

Oracle Standby Database for Running Queries

We have a physical standby database which is used only for running reports. It is not intended to be ever used as primary.
Now - a reporting database has much different requirements than an OLTP one.
I want to propose that we either convert this standby database from PHYSICAL to LOGICAL and create different database objects - especially INDEXES to support reporting.
What could be pros and cons of such approach ?

Oracle Golden Gate with Cassandra

I am pretty new to Oracle Golden Gate, wanted to understand if it possible to create a bidirectional sync between Oracle 12x and Cassandra(DSE) using Oracle Golden Gate? Searched several places in internet but most examples are replicating data between Oracle databases. I started wondering if it is even possible to do so. Can anyone help me with any documentation?
There is a separate module called Oracle GoldenGate for BigData. It supports many NoSQL replication targets.
One of the supported BigData databases is also Apache Cassandra.
There is a separate manual explaining how to use it.
There is no separate module that allows you to connect Apache Cassandra as the source of your replication. If you need such replication you need to provide some intermediate step. The source of replication for Oracle GoldenGate can only be a database (Oracle, TimesTen, DB2, Informix, MySQL, MS SQL Server, NonStop SQL/MX, SAP/Sybase ASE, Teradata) or a JMS queue.

Oracle AQ - Queue Message replication

We are upgrading our infrastructure and for that we are migrating from Oracle 10g to 11g.
We are using Oracle GoldenGate for data replication and it does not support replication of AQ messages as far as we know.
For Persistent queue, we have import/export option available. But there are some Buffered queues as well need to be replicated.
can anyone guide how we can avoid data loss in this situation.
Appreciate any help.
Oracle GoldenGate can replicate only "logged" data change so it is impossible to replicate non-persistent queues by definition.
Other Oracle product that deals with queues replication is "Oracle Streams". If you unable to use Oracle Streams for that purpose; other solution might be complete replica of the AQ with another Oracle product "Oracle Coherence" - distributed cache, what is fault tolerant by definition and can do same job with of course code changes required.
It is not a problem to implement a queue on Oracle or any other vendor distributed cache. I believe that you may see significant performance improvement in this case.

What are the tools available for data replication on oracle and/or db2?

I just need to know the name of the tools in order to establish a start line.
DB2 for LUW has SQL Replication and High Availability Disaster Recovery clustering.
Check goldengate solution from Oracle.

Resources