Database-Administration
List 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
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: 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 dba_objects dba_users ·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 Morespreport.sql: Generate Oracle Statspack Performance Reports
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 Statspack is the free, lightweight cousin of AWR, and @?/rdbms/admin/spreport.sql is the script that turns its stored snapshots into a readable report. It calculates instance activity between two snapshots, which helps you find bottlenecks …
Read MoreOracle Statspack sppurge: Snapshot Purge Script Guide
Sep 2, 2025 / · 4 min read · oracle-database statspack performance monitoring database administration snapshot management storage optimization dba scripts oracle tuning ·Oracle Database Statspack Snapshot Purge Script: Complete Guide to sppurge Administration The Oracle Database @?/rdbms/admin/sppurge; command is a critical administrative script used to delete old Statspack snapshots and manage storage space in the PERFSTAT schema. This comprehensive guide explores the purpose, …
Read MoreOracle Autotrace Commands: SQL Execution Plan Analysis
Aug 5, 2025 / · 2 min read · oracle database performance tuning sql optimization autotrace execution plan database administration query analysis autotrace ·Oracle Database Autotrace Commands: Complete Guide to SQL Execution Plan Analysis Autotrace is a SQLPlus setting that shows the execution plan and runtime statistics for each statement you run. What is Oracle Autotrace? Oracle autotrace is a SQLPlus feature that provides detailed information about how Oracle executes …
Read MoreShow a Count of Analyzed Tables Broken Down by Schema in Oracle Database Purpose: This post explains how to use Oracle SQL to report the total number of tables and the number of analyzed tables for each schema in your Oracle Database. This is crucial for database administrators who want to monitor the health and …
Read More