Oracle DBA
Delete Archive Log Older Than 5 Days in Oracle RMAN
Feb 5, 2026 / · 4 min read · Oracle Database RMAN Archive Logs Database Maintenance Backup Recovery Oracle DBA Storage Management Database Administration ·Delete Archive Log Older Than 5 Days in Oracle RMAN Purpose The DELETE NOPROMPT ARCHIVELOG UNTIL TIME command removes old archive log files from your Oracle database to free up disk space and maintain storage efficiency. This RMAN (Recovery Manager) command automatically deletes archive logs that are older than a …
Read MoreOracle RMAN CROSSCHECK BACKUP Command Explained
Jan 31, 2026 / · 5 min read · Oracle RMAN Backup Database Administration Recovery Manager Backup Validation Database Maintenance Oracle DBA ·Oracle RMAN Crosscheck Backup Command - Verify Backup Availability Purpose The CROSSCHECK BACKUP command verifies whether backup files recorded in the RMAN repository still physically exist on storage media. When backups are deleted outside of RMAN control or become unavailable due to hardware failures, the crosscheck …
Read MoreOracle Data Guard: Stop Broker with ALTER SYSTEM
Nov 29, 2025 / · 5 min read · Oracle Database Data Guard Database Administration Oracle Broker SQL Commands Database Management Oracle DBA Backup and Recovery ·How to Stop Oracle Data Guard Broker Using ALTER SYSTEM Command Purpose The command ALTER SYSTEM SET dg_broker_start=false stops the Oracle Data Guard broker by shutting down the Data Guard monitor (DMON) background process. This command is essential when you need to disable broker management temporarily 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: 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 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 MoreIdentifying User Tablespaces and Space Usage in Oracle
Feb 4, 2024 / · 10 min read · Oracle DBA DBA_EXTENTS Tablespace Usage User Space Storage Reporting Oracle Administration Space Management Data Dictionary Views ·Query to Display All Tablespaces Used by A Specified User and The Total Space Occupied (rounded to MB) A schema audit before a migration, a quota review before approving more space, or a tablespace consolidation project all start with the same question: which tablespaces does a specific Oracle user actually touch, and …
Read MoreOracle Table Privileges Granted to a Role via role_tab_privs
Jan 4, 2024 / · 12 min read · role privileges show_table_role_privileges oracle role_tab_privs Oracle DBA Security Audit Data Dictionary Oracle Administration dba_roles dba_role_privs ·Oracle Table Privileges Granted to a Role via role_tab_privs Purpose ROLE_TAB_PRIVS lists the object privileges granted to roles — every table, view, and sequence grant, the precise privilege type, and whether the right covers the entire object or is scoped to a single column. Oracle's reference notes that "Information …
Read More