Performance Tuning
Oracle 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
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 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. To generate an AWR report, study a performance trend or troubleshoot a slow period, you first need to know which snapshots …
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 Autotrace Commands: SQL Execution Plan Analysis
Aug 5, 2025 / · 4 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 Oracle Database's autotrace feature is a powerful built-in tool that enables database administrators and developers to analyze SQL statement performance by displaying execution plans and runtime statistics. This comprehensive guide covers …
Read MoreOracle DBMS_STATS: Delete Database Statistics
Jan 16, 2025 / · 3 min read · Oracle Database Performance Tuning SQL Database Administration Statistics Management DBMS_STATS ·Oracle Database: Deleting Statistics with DBMS_STATS Package Deleting optimizer statistics leaves a table with none, and the optimizer then falls back to dynamic statistics: it samples a few table blocks at parse time. The DBMS_STATS package has one delete procedure for each level, from the whole database down to a …
Read MoreOracle DBMS_STATS.GATHER_SYSTEM_STATS for Query Tuning
Jan 15, 2025 / · 2 min read · Oracle Database Performance Tuning SQL Database Administration Query Optimization GATHER_SYSTEM_STATS DBMS_STATS ·Optimizing Oracle Database Performance with GATHER_SYSTEM_STATS Oracle Database's DBMS_STATS package is a powerful tool for gathering and managing database statistics. This post focuses on the GATHER_SYSTEM_STATS procedure, which is crucial for optimizing query performance by collecting system-level statistics. …
Read MoreIdentifying Oracle Database Hot Blocks Using v$system_event
Oct 1, 2024 / · 2 min read · oracle-database performance-tuning sql troubleshooting optimization v$system_event v$segment_statistics ·Identifying Oracle Database Hot Blocks using Oracle Table v$system_event: A Comprehensive Guide Purpose Understanding Hot Blocks In an Oracle database, a "hot block" refers to a data block in the buffer cache that experiences a disproportionately high volume of concurrent requests. This contention can lead to …
Read MoreAnalyzing Oracle 'Data Block' Waits with v$waitstat
Sep 30, 2024 / · 2 min read · oracle database performance tuning sql troubleshooting optimization v$waitstat v$session ·Oracle "Data Block" Waits using Oracle table v$waitstat to identify disk Contention Purpose In Oracle databases, waiting for "data blocks" signifies contention for specific data blocks in memory. This contention can lead to performance bottlenecks and slowdowns. Understanding the root cause of these waits is crucial to …
Read More