Database Monitoring
Oracle Data Guard Log Destinations Monitoring Script
Jan 4, 2026 / · 5 min read · Oracle Data Guard Database Monitoring SQL Scripts High Availability Backup Recovery DBA Scripts Oracle Views v$archive_dest_status v$archive_dest ·Oracle Database Log Destinations Monitoring Script for Data Guard Purpose This Oracle SQL script monitors all log destinations in a Data Guard configuration from the primary database. The query provides real-time information about archive log destinations, their status, operational modes, and standby redo log activity. …
Read MoreCheck Oracle Data Guard Standby Synchronization Status
Jan 3, 2026 / · 9 min read · Sequence Numbers Oracle Data Guard Standby Database Database Monitoring v$log v$archived_log v$archive_dest_status v$dataguard_stats v$dataguard_process ·Check Oracle Data Guard Standby Synchronization Status Purpose Is the physical standby caught up with the primary? The fastest first answer is a pair of numbers: the log sequence the primary is writing now, and the newest log sequence the standby has applied. If the two are close, redo is flowing and being applied. If …
Read MoreOracle ASH Report: Generate with ashrpt.sql
Generate Active Session History ASH Report in Oracle Database Users say the application froze for four minutes at 10:42 and then recovered. An hourly AWR report will average that spike away. An Active Session History (ASH) report built for 10:40 to 10:50 shows which sessions, SQL statements and wait events were active …
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 MoreOracle AWR Baseline with DBMS_WORKLOAD_REPOSITORY
Sep 29, 2025 / · 6 min read · Oracle Database AWR Performance Tuning Database Monitoring PLSQL DBA Scripts Baseline Management Performance Analysis DBMS_WORKLOAD_REPOSITORY dba_hist_baseline ·Oracle AWR Create Baseline for Performance Monitoring DBMS_WORKLOAD_REPOSITORY.CREATE_BASELINE What is Oracle AWR Create Baseline The DBMS_WORKLOAD_REPOSITORY.CREATE_BASELINE procedure creates a baseline by preserving a specific range of AWR snapshots for future performance comparisons. A baseline protects performance …
Read MoreOracle AWR Snapshot Interval: modify_snapshot_settings
How to Change Oracle AWR Snapshot Interval to 30 Minutes using dbms_workload_repository.modify_snapshot_settings Purpose The Oracle Database Automatic Workload Repository (AWR) collects and stores performance statistics to help database administrators monitor and analyze database performance over time. The code …
Read MoreOracle AWR Snapshots: Query dba_hist_snapshot
Sep 22, 2025 / · 6 min read · Oracle Database AWR Performance Tuning SQL Scripts Database Monitoring DBA Tasks Snapshot Management Performance Analysis dba_hist_snapshot ·Understanding Oracle AWR Snapshot Display The Oracle Automatic Workload Repository (AWR) is a performance diagnostic tool that collects, processes, and stores database statistics automatically. Displaying a list of available snapshots is essential for database administrators who need to generate AWR reports, analyze …
Read Morespreport.sql: Generate Oracle Statspack Performance Reports
Sep 3, 2025 / · 4 min read · oracle database performance tuning statspack database administration sql scripts database monitoring performance analysis database optimization ·Oracle Database Statspack spreport.sql Script: Complete Performance Tuning Guide The Oracle Database @?/rdbms/admin/spreport.sql script is a comprehensive performance reporting tool that generates detailed Statspack reports for database analysis and optimization. This essential script provides database administrators …
Read MoreHow to Monitor Oracle Shared Pool Usage with V$SGASTAT
Aug 22, 2025 / · 2 min read · oracle database shared pool memory tuning dba scripts sql query oracle performance database monitoring administration v$sgastat ·How to Monitor Oracle Shared Pool Usage with V$SGASTAT Database Administrators (DBAs) frequently need to track memory allocation inside Oracle’s SGA (System Global Area), especially within the Shared Pool. Monitoring the shared pool helps identify memory fragmentation, excessive parsing, and potential memory-related …
Read More