Oracle Administration
Disable vi Autoindent Before Pasting SQL Scripts on Oracle Hosts
May 23, 2026 / · 7 min read · Oracle DBA Unix Commands vi SQL*Plus Editor Oracle Administration Shell SQL Scripts ·Disable vi Autoindent Before Pasting SQL Scripts on Oracle Hosts Purpose Pasting a SQL script copied from email, a Confluence page, or a ticket comment into a vi buffer over SSH — and watching every line shift one indent right of the previous one — is the most common and most frustrating vi failure mode an Oracle DBA …
Read MoreScan Every Oracle Alert and Trace Log for ORA- Errors with grep
May 17, 2026 / · 6 min read · Oracle Database Unix Commands Oracle DBA grep Alert Log Error Diagnostics Troubleshooting Oracle Administration ·Scan Every Oracle Alert and Trace Log for ORA- Errors with grep Purpose Every Oracle environment generates alert logs and process trace files recording instance events, errors, and diagnostics. When a support call comes in — "the database was slow last night, can you check the logs?" — the fastest first pass is a …
Read MoreLIST BACKUPSET OF DATABASE: Oracle RMAN Command Guide
Feb 16, 2026 / · 5 min read · Oracle-RMAN Backup-Commands Database-Recovery DBA-Tools Backup-Verification Recovery-Manager Oracle-Administration Database-Backup ·LIST BACKUPSET OF DATABASE: Oracle RMAN Command Guide Purpose The LIST BACKUPSET OF DATABASE command in Oracle Recovery Manager (RMAN) displays detailed information about all backup sets that contain database datafiles. This command helps database administrators verify backup existence, check backup status, find backup …
Read MoreOracle RMAN List Backupset Command Guide
Feb 7, 2026 / · 4 min read · Oracle Database RMAN Backup Management Database Recovery DBA Commands Oracle Administration Backup Verification Recovery Manager ·Oracle RMAN List Backupset Command Guide Purpose The list backupset; command in Oracle Recovery Manager (RMAN) displays detailed information about backup sets stored in the RMAN repository. This command helps database administrators view backup set metadata, including backup pieces, unique keys, completion times, and …
Read MoreOracle Statspack: Automate Snapshots with spauto.sql
Sep 7, 2025 / · 3 min read · oracle database statspack performance monitoring automation dba scripts database tuning oracle administration job scheduling dba_jobs ·Oracle Statspack Automation: Scheduling Hourly Database Performance Snapshots Oracle Statspack automation provides database administrators with continuous performance monitoring capabilities through scheduled snapshot collection. The spauto.sql script enables automated hourly snapshots that capture essential database …
Read MoreOracle EXPLAIN PLAN: SQL Performance Analysis Guide
Aug 6, 2025 / · 4 min read · oracle database sql performance query tuning explain plan database optimization performance analysis sql scripts oracle administration EXPLAIN PLAN utlxpls ·Oracle Database EXPLAIN PLAN: Complete Guide to SQL Performance Analysis EXPLAIN PLAN is one of Oracle Database's most powerful tools for analyzing SQL query performance and understanding how the Oracle optimizer executes your statements. This comprehensive guide covers everything you need to know about using EXPLAIN …
Read MoreOracle User Table Constraints Query with dba_constraints
Sep 1, 2024 / · 10 min read · Oracle SQL Database Constraints Data Integrity DBA_CONSTRAINTS Primary Key Foreign Key Oracle Administration ·Oracle Database: Show All Table Constraints for a User using dba_constraints Purpose This Oracle SQL query is designed to retrieve a comprehensive list of all constraints associated with tables owned by a specific user in your Oracle database. Constraints are essential rules that ensure data integrity and consistency. …
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 / · 10 min read · role privileges show_table_role_privileges oracle role_tab_privs Oracle DBA Security Audit Data Dictionary Oracle Administration ·Oracle Table Privileges Granted to a Role via role_tab_privs Purpose ROLE_TAB_PRIVS holds the complete inventory of object privileges Oracle has packaged into each named role — every table, view, and sequence grant, the precise privilege type, whether the right covers the entire object or is scoped to a single column, …
Read More