Performance Monitoring
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 Statspack: Automate Snapshots with spauto.sql
Sep 7, 2025 / · 2 min read · oracle database statspack performance monitoring automation dba scripts database tuning oracle administration job scheduling dba_jobs dbms_job ·Oracle Statspack Automation: Scheduling Hourly Database Performance Snapshots The spauto.sql script schedules an hourly Statspack snapshot job with DBMS_JOB. Purpose The script creates a job that takes a Statspack snapshot every hour. A DBA runs it so there is history to compare when a slowdown is reported. Query …
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 SQL Execution Statistics Query with v$sqlarea
Aug 9, 2025 / · 3 min read · oracle sql performance database tuning v$sqlarea performance monitoring query optimization oracle dba sql statistics v$sql v$sql_plan ·Oracle SQL Performance Analysis Query - Monitor SQL Execution Statistics Purpose The v$sqlarea view holds run totals for each SQL statement in the shared pool. This query reads executions, CPU time, disk reads and buffer gets for one statement. A DBA runs it when one statement is slow and needs to see how much work …
Read MoreExploring Datafiles within Oracle Tablespaces
Feb 12, 2024 / · 8 min read · database-administration performance-monitoring data-management tablespace datafiles dba_data_files optimization usage oracle dba_temp_files dba_tablespaces ·Show the Datafiles That Make Up an Oracle Tablespace Capacity planning for an Oracle database starts with knowing which files hold each tablespace and how large they are. A tablespace is a logical container. Its data lives in one or more datafiles on disk, and dba_data_files lists them. The query below takes a …
Read MoreOracle Tablespaces Needing More Space: SQL Script
Feb 6, 2024 / · 3 min read · database administration resource optimization performance monitoring data management tablespace datafiles dba_data_files dba_tablespaces dba_free_space ·Description of Oracle Database SQL code for Identifying Tablespaces Needing Space This code helps identify tablespaces requiring additional space to maintain an 80% utilization threshold in your Oracle database. Below is a breakdown of its purpose, components, and key points: Sample SQL Command 1set pages 999 lines 100 …
Read MoreListing Objects in an Oracle Tablespace
SQL lists every segment within a specific tablespace in an Oracle database A detailed explanation of Oracle Database SQL code used to list objects within a tablespace, including purpose, breakdown, key points, and insights. Sample SQL Command 1set pages 999 2col owner format a15 3col segment_name format a40 4col …
Read More