Database Blog

Shrinking the FND_LOG_MESSAGES Table in Oracle EBS 12.2

In Oracle E-Business Suite (EBS) environments, it’s a good practice to occasionally analyze the largest database objects to identify potential inefficiencies. Recently, I discovered that the FND_LOG_MESSAGES table in my…

Read More

Installation of DbFetchX application in Oracle database

Introduction: DbFetchX is a robust application designed to streamline data extraction, transformation, and retrieval from Oracle Databases. Its installation involves integrating the application’s schema, objects, and configurations into an Oracle…

Read More

RMAN Incremental Backups to Refresh Standby Database 

Description to standby: A standby database is a transactionally consistent replica of the primary database, designed to ensure continuity and data integrity in the event of disasters or data corruption. It allows the primary Oracle database to remain operational even during planned or unplanned outages. If the primary database becomes unavailable, Data Guard can seamlessly promote the standby database to the primary role, minimizing downtime. Additionally, the performance of the primary database can be optimized by redirecting resource-intensive tasks such as backups and reporting to the standby system. Therefore, keeping the standby database synchronized with the primary database is always advantageous. A standby database might lag behind the primary for various reasons like: Unavailability of or insufficient network bandwidth between primary and standby database Unavailability of Standby database Corruption / Accidental deletion of Archive Redo Data on primary CHECK THE SEQUENCE IN BOTH NODES: PRIMARY: SQL> select thread#, max(sequence#) “Last Primary Seq Generated” from v$archived_log val, v$database vdb where val.resetlogs_change# = vdb.resetlogs_change# group by thread# order by 1; THREAD#        Last Primary Seq Generated ———-                ————————– 1                                  556 STANDBY:…

Read More

Manual Data Guard Switchover in oracle 19c

Description: After configuring Data Guard, databases operate in either the primary or standby role, which can be switched dynamically without data loss or resetting redo logs. This process, known as a Switchover, can be executed using specific commands. Configuration Details: Environment detail Primary Standby SID SOURCE SOURCE DB Role Primary Physical standby Host prime.localdomain.com stand.localdomain.com DB Version 19.3.0.0 19.3.0.0 OS RHEL 7.9 RHEL 7.9 Step 1:- Check database role and database name Primary database:- SQL> select name,open_mode,database_role from v$database; NAME         OPEN_MODE           DATABASE_ROLE ——— ——————– —————- SOURCE         READ WRITE           PRIMARY Standby database:- SQL> select name,open_mode,database_role from v$database;…

Read More

OS upgrade from version Linux 7 to 8 in OCI console

  Introduction: Upgrading from Linux 7 to Linux 8 in the Oracle Cloud Infrastructure (OCI) environment is a crucial step to ensure the operating system is up-to-date, secure, and capable…

Read More

How To Export Data Using Select Query In MYSQL

Introduction Exporting data using a SELECT query in MySQL is a common practice to extract specific data from a database and save it in a usable format. This allows users…

Read More

How To Generate Dynamic Numbers in MYSQL

Introduction: Generating dynamic numbers in MySQL involves creating a sequence of numbers or generating numbers dynamically in queries. This is useful in various scenarios, such as creating IDs, generating row…

Read More

Cost Optimization Strategies in Oracle Cloud

Introduction/ Issue Managing costs effectively in Oracle Cloud can help businesses maximize their cloud investment while maintaining performance and scalability. Here are some key strategies for optimizing costs in Oracle…

Read More

Multi-Cloud Strategies with OCI: How to Leverage OCI

Introduction/ Issue Multi-cloud refers to using multiple cloud providers (e.g., OCI, AWS, Azure) to host different parts of an organization’s infrastructure, avoiding reliance on a single vendor. OCI offers unique…

Read More

Golden Gate – Source and target server configuration(Extract, dump and replicate)

Introduction Oracle GoldenGate is a robust and flexible data replication and integration tool widely used for real-time data replication across heterogeneous systems. This document outlines the step-by-step process for configuring…

Read More