Dbms_workload_repository
Query Historical ASH Beyond Memory with DBA_HIST_ACTIVE_SESS_HISTORY
Oct 7, 2026 / · 11 min read · Oracle DBA Active Session History AWR Retention ASH Sampling Oracle Performance dba_hist_active_sess_history v$active_session_history dbms_workload_repository ·Query Historical ASH Beyond Memory with DBA_HIST_ACTIVE_SESS_HISTORY Purpose Troubleshooting a performance spike after the fact is a different job than watching one happen live. By the time anyone opens a session the next morning to ask what was running during last night's batch window, the in-memory …
Read MoreHow to Remove an Oracle AWR Baseline Using DROP_BASELINE
Sep 30, 2025 / · 4 min read · Oracle AWR Database Performance DBA PLSQL Performance Tuning Baseline Management Workload Repository dba_hist_baseline dba_hist_snapshot dbms_workload_repository ·How to Remove an Oracle AWR Baseline Using DROP_BASELINE Purpose The DROP_BASELINE procedure removes a previously-defined AWR (Automatic Workload Repository) baseline from an Oracle database. This command is essential for database administrators who need to conserve storage space by deleting unused or outdated …
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 Manual Snapshot: DBMS_WORKLOAD_REPOSITORY
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 Report Generation Using awrrpt.sql Script
Oracle AWR Report Generation Using awrrpt.sql Script Purpose Where awrddrpt.sql compares two time periods and awrsqrpt.sql looks at one SQL statement, awrrpt.sql gives the general view. It builds a report of the statistics held between two snapshot IDs on the local database instance. The report can be HTML or text. The …
Read More