Monthly Archives: January 2026

How to Enable Active Data Guard on a Physical Standby 

Description: –  Active Data Guard allows a physical standby database to be opened in READ ONLY mode while redo apply continues in the background. This enables the standby database to be used for reporting and…

Read More

New Development Report Using XML Data Template

New Development Report Using XML Data Template  Introduction XML Publisher (BI Publisher) provides multiple ways to generate reports in Oracle E-Business Suite. One important and commonly used approach is creating…

Read More

How to Perform Password-Based Encrypted RMAN Tablespace Backup & Restore

  Overview  This blog explains how to secure an Oracle 19c tablespace using RMAN password-based encryption and demonstrates a complete backup, restore, and recovery cycle. It covers verifying tablespaces and datafiles, taking an encrypted RMAN backup…

Read More

Oracle 19c Table Shrink Space

Shrinking a table in an Oracle database is used to reclaim unused space and optimize storage. As data is inserted, updated, and deleted over time, tables can become fragmented and retain empty blocks, leading to wasted…

Read More

Query to get the output for object privileges, roles, system privileges with details

Please use the below query to get the output.   set echo on; SELECT COUNT(*) AS object_priv_count FROM dba_tab_privs WHERE grantee = ‘A’; set echo on; SELECT COUNT(*) AS role_grant_count…

Read More

Script to create trace at database schema level by enabling trigger model.

Please execute the below and change the username accordingly. After the trace drop the trigger.   CREATE OR REPLACE TRIGGER “1234_TMP_LOGGINGTRIG” AFTER LOGON ON DATABASE begin if ora_login_user = ‘1234’…

Read More

Replication snapshot agent permission issue and Troubleshooting

Replication snapshot agent permission issue and Troubleshooting   1. What is the replication for the SQL server?  SQL Server replication is one of the HADR technologies that copy and distribute the data…

Read More

Telegraf configuration to scrape database information in windows server

Telegraf is a small tool that collects system and application data and sends it to monitoring tools like Prometheus, Grafana.Telegraf helps you see what is happening inside your server and…

Read More

Automating_patch_in_windows_server

1.Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass # --- CONFIGURATION --- $oracleHome = "D:\automation\WINDOWS.X64_193000_db_home" $patchDir = "D:\automation\p37532350_190000_MSWIN-x86-64 (2)\37532350" $opatchDir = "$oracleHome\OPatch" $opatchZip = "D:\automation\p6880880_190000_MSWIN-x86-64.zip" $logFile = "C:\Users\Administrator\Documents\oracle_patch_log.txt" # Define Oracle services $dbService…

Read More

SQL servers’ registration in SSMS

SQL servers’ registration in SSMS   What is server registration in SSMS?  It is one of the features in SQL Server Management Studio (SSMS) which is very  useful to have a list of registered servers…

Read More