Oracle Scripts
Oracle Enable FAL Tracing on Primary Database
Nov 28, 2025 / · 4 min read · Oracle Database Data Guard Backup and Recovery Database Administration Troubleshooting Archive Logs FAL Redo Transport ·Oracle Enable FAL Tracing on Primary Database Purpose Enabling FAL (Fetch Archive Log) tracing on the primary database helps database administrators monitor and troubleshoot archive log gap resolution between primary and standby databases in Oracle Data Guard environments. This command activates detailed trace logging …
Read MoreHow to Disable and Enable Oracle Archive Log Destinations
Nov 27, 2025 / · 8 min read · Oracle Database Data Guard Archive Log DBA Commands Database Administration Standby Database Oracle Backup Database Maintenance ·How to Disable and Enable Oracle Archive Log Destinations Purpose Coordinating redo shipping around a standby maintenance window is an operational task every Data Guard DBA runs into: the standby is about to go down for patching, storage work, or a network change, and the primary database needs to keep generating and …
Read MoreCheck Missing Archive Logs in Oracle Data Guard
Nov 26, 2025 / · 3 min read · Oracle Data Guard Database Administration Standby Database Archive Logs Replication Troubleshooting SQL Query v$archive_gap v$archived_log v$managed_standby ·Check Missing Archive Logs in Oracle Data Guard Standby Database Purpose This SQL query helps database administrators identify missing archive logs on an Oracle Data Guard standby database. When archive logs fail to transfer from the primary to the standby database, it creates gaps that prevent proper synchronization. …
Read MoreTroubleshooting Oracle Data Guard FAL and Physical Logfile Registration Issues Oracle Data Guard environments sometimes encounter issues when the Fetch Archive Log (FAL) process fails to automatically transfer missing archive logs to standby databases. When FAL reports that a log is already registered or cannot …
Read MoreRegister Missing Log File in Oracle Data Guard Database
Oct 26, 2025 / · 6 min read · Oracle Database Data Guard Archive Logs Physical Standby Database Recovery DBA Scripts Gap Resolution Log Management V$ARCHIVED_LOG v$managed_standby ·Register Missing Log File in Oracle Database The ALTER DATABASE REGISTER PHYSICAL LOGFILE command is used to manually register archived redo log files in an Oracle Data Guard environment, specifically for physical standby databases. This command becomes essential when automatic log registration fails or when gaps occur …
Read MoreCancel Oracle Data Guard Managed Recovery
Oct 25, 2025 / · 5 min read · oracle data guard database recovery standby database mrp sql commands database administration backup recovery V$MANAGED_STANDBY ·How to Cancel Oracle Data Guard Managed Recovery Overview The ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL command stops the Managed Recovery Process (MRP) on an Oracle Data Guard physical standby database. This command is essential when you need to perform maintenance operations, open the database in …
Read MoreRemoving Standby Database Apply Delay in Oracle Data Guard
Oct 24, 2025 / · 3 min read · Oracle Data Guard Database Administration Standby Database High Availability Disaster Recovery SQL Commands Database Recovery v$dataguard_stats v$managed_standby ·Removing Standby Database Apply Delay in Oracle Data Guard Purpose This script removes the apply delay from an Oracle Data Guard physical standby database. Apply delays are safety features that create a time lag between when redo data arrives at the standby database and when it is applied, protecting against corrupted …
Read MoreOracle Data Guard Standby Database Startup Commands
Oct 23, 2025 / · 6 min read · Oracle Data Guard Standby Database Database Recovery High Availability Backup DBA SQL Commands v$archive_dest_status v$database ·Oracle Data Guard Standby Database Startup Commands Oracle Data Guard standby database startup commands enable database administrators to initialize and maintain physical standby databases that provide disaster recovery and high availability for production systems. These three essential commands work together to bring …
Read MoreOracle ASH Report: Generate with ashrpt.sql
Oct 3, 2025 / · 6 min read · Oracle Database Performance Tuning ASH Reports Database Monitoring SQL Scripts Diagnostics AWR Session Analysis V$ACTIVE_SESSION_HISTORY ·Generate Active Session History ASH Report in Oracle Database The Active Session History (ASH) report is a powerful diagnostic tool that helps database administrators analyze performance issues by capturing detailed snapshots of active database sessions every second. This report provides granular insights into what …
Read MoreOracle Time Model Queries: v$sys_time_model Monitoring
Oracle Time Model Queries: System and Session Performance Monitoring Purpose Oracle time model queries provide database administrators with powerful tools to measure and analyze where time is spent within the database system. These queries use two essential dynamic performance views that track accumulated time for …
Read More