Yearly Archives: 2025

Seamless Navigation Between Oracle APEX Applications

Introduction:– In Oracle APEX, seamless navigation between two applications without requiring users to log in again enhances user experience and efficiency. This can be achieved by securely passing authentication details…

Read More

Maximizing Performance with Table Partitioning in Oracle Databases

Managing large datasets efficiently is a key challenge for database administrators (DBAs). One solution to this problem is table partitioning, a feature in Oracle databases that allows large tables to…

Read More

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

To Wrap Heading and Column Text in Oracle APEX Interactive Grid

Introduction:     In Oracle APEX, when dealing with dynamic or lengthy data, the default behavior of column headers and cell contents may not always provide the best user experience, especially when…

Read More

Disable Right-Click and Shortcut Keys in Oracle APEX

Introduction: In Oracle APEX, restricting right-click and shortcut keys can improve security and control user interactions. Disabling these features prevents unauthorized access to browser tools, sensitive data, and unintended actions,…

Read More

Implementing Duplicate Validation in Oracle APEX Interactive Grids

Introduction Maintaining accurate data is vital in any application, particularly with databases. Duplicate entries can create confusion, hinder productivity, and compromise data integrity. This article presents two straightforward methods for…

Read More

Removing Duplicate Values from Comma-Separated Strings in MSSQL

  Introduction In relational databases like Microsoft SQL Server, handling comma-separated values (CSV) in a single column can be challenging, especially when it comes to removing duplicates. This task often arises…

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