Database Administration
Removing 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: Enable or Disable GATHER_STATS_JOB
Oct 1, 2025 / · 4 min read · oracle database dbms scheduler statistics gathering performance tuning database administration pl/sql optimizer statistics maintenance tasks dbms_scheduler ·Enable or Disable Oracle GATHER_STATS_JOB for Automatic Statistics Collection The GATHER_STATS_JOB is a critical Oracle Database scheduled job that automatically collects optimizer statistics to ensure the database query optimizer generates efficient execution plans. This job is enabled by default when creating a new …
Read MoreList All Oracle AWR Baselines Using DBA_HIST_BASELINE
Sep 28, 2025 / · 5 min read · Oracle AWR Performance Tuning Database Administration SQL Scripts Baseline Management Performance Monitoring DBA DBA_HIST_BASELINE ·List All Oracle AWR Baselines Using DBA_HIST_BASELINE This SQL script retrieves all AWR baselines stored in an Oracle Database, displaying critical information about each baseline including its identifier, name, and associated snapshot range. AWR baselines preserve specific periods of database performance statistics …
Read MoreOracle AWR Manual Snapshot: DBMS_WORKLOAD_REPOSITORY
Sep 27, 2025 / · 5 min read · Oracle Database AWR Performance Tuning Database Administration PL/SQL Monitoring Troubleshooting Database Optimization dbms_workload_repository dba_hist_snapshot ·How to Manually Take an AWR Snapshot in Oracle Database with dbms_workload_repository.create_snapshot What is Oracle AWR Snapshot Creation? Creating a manual AWR snapshot in Oracle Database allows database administrators to capture performance statistics at specific points in time, providing precise data for …
Read MoreOracle AWR: Change Retention Period to 14 Days
How to Change Oracle AWR Retention Period to 14 Days using dbms_workload_repository.modify_snapshot_settings Purpose The Oracle code changes the Automatic Workload Repository (AWR) retention period from the default 8 days to 14 days (two weeks). This allows database administrators to store performance snapshots for a …
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 Interval and Retention: DBA_HIST_WR_CONTROL
Sep 24, 2025 / · 6 min read · Oracle Database AWR Performance Tuning Database Administration SQL Scripts Monitoring Workload Repository DBA dba_hist_wr_control ·How to Check Oracle AWR Snapshot Interval and Retention Settings using table dba_hist_wr_control Purpose The Oracle Database Automatic Workload Repository (AWR) is a critical component for performance monitoring and database tuning that automatically collects and stores performance statistics at regular intervals. This …
Read MoreOracle AWR Report Generation Using awrrpt.sql Script
Sep 23, 2025 / · 6 min read · Oracle AWR Performance Tuning Database Administration SQL Scripts Oracle Diagnostics Database Monitoring RDBMS dba_hist_snapshot ·Oracle AWR Report Generation Using awrrpt.sql Script The awrrpt.sql script is a powerful Oracle tool that generates comprehensive performance reports from the Automatic Workload Repository (AWR), providing database administrators with detailed insights into database performance over specific time periods. This script …
Read MoreOracle: Uninstall Statspack Using the spdrop Script
Sep 6, 2025 / · 5 min read · oracle database statspack database administration performance tuning sql plus oracle dba database cleanup oracle scripts ·How to Uninstall Oracle Statspack Using the spdrop Script - Complete Guide Oracle Statspack uninstallation is accomplished using the @?/rdbms/admin/spdrop command, which completely removes the Statspack performance monitoring framework from your Oracle database. This command removes all associated objects including the …
Read MoreOracle Statspack spreport.sql: Performance Tuning Guide
Sep 3, 2025 / · 5 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 More