Oracle
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 Data Guard Standby Database Startup Commands
Oct 23, 2025 / · 6 min read · Oracle Data Guard Standby Database Database Recovery High Availability Backup DBA SQL Commands v$archive_dest_status v$database ·Oracle Data Guard Standby Database Startup Commands Oracle Data Guard standby database startup commands enable database administrators to initialize and maintain physical standby databases that provide disaster recovery and high availability for production systems. These three essential commands work together to bring …
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 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 Statspack Installation Guide: spcreate Setup
Sep 5, 2025 / · 8 min read · oracle database performance monitoring administration dba statspack tuning dbms_job dba_jobs ·Oracle Database Statspack Installation Guide - Complete Setup and Configuration Purpose Statspack is a snapshot-based way to see what an Oracle database did between two points in time. AWR is the better-known alternative, and the license position differs. Oracle's Licensing Information guide lists the Automatic …
Read MoreOracle Statspack: List Snapshots with stats$snapshot
Sep 4, 2025 / · 2 min read · oracle statspack performance monitoring dba sql snapshots administration v$database ·Statspack keeps its snapshot history in the stats$snapshot table. This query lists every snapshot with its ID, level and capture time. Statspack is Oracle's built-in tool that captures database statistics at regular intervals. Purpose of the Code Run it to see which snapshot IDs exist and when each was taken, so you …
Read MoreOracle Statspack Snapshot Levels: statspack.snap Guide
Sep 1, 2025 / · 3 min read · Oracle Statspack Performance DBA Monitoring Database Administration Tuning ·Oracle Statspack Snapshot Levels: Complete Guide to Database Performance Monitoring Oracle Statspack snapshots are essential tools for database performance monitoring that capture system statistics at different granularity levels. Understanding how to properly execute snapshots and choose appropriate levels is crucial …
Read MoreMonitoring PGA Usage by Username in Oracle Database Purpose V$SESSTAT is the view that holds one statistic value per session, and two of its statistics describe how much Program Global Area (PGA) memory a session uses right now and the most it has used. The script below joins V$SESSTAT to V$STATNAME, filters the …
Read MoreOracle SGA Breakdown Script Using v$sgastat
Aug 20, 2025 / · 3 min read · oracle database dba performance sql tuning scripts memory management v$sgastat ·Oracle Database SGA Breakdown Script for Performance Monitoring Monitoring memory usage in an Oracle Database is one of the most important tasks for a DBA. The System Global Area (SGA) plays a crucial role in the performance of the database, as it stores data and control information used by Oracle processes. In this …
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 More