Oracle Dba
Write Text Files from Oracle PLSQL with UTL_FILE Example
May 2, 2026 / · 5 min read · Oracle Database PLSQL UTL_FILE File IO Oracle DBA Database Programming Directory Object Stored Procedures ·Write Text Files from Oracle PL/SQL with UTL_FILE Example Purpose UTL_FILE is the built-in Oracle PL/SQL package for reading and writing operating-system files from inside the database. The procedure below — taken straight from the shutdownabort.com DBA Quick Guides (Andrew Barry, 2007–2013, preserved via the Wayback …
Read MoreSample tnsnames.ora Dedicated Server Entry (with ASM)
May 1, 2026 / · 5 min read · Oracle Database SQL*Net tnsnames.ora Oracle Net Oracle DBA Database Connectivity ASM TNS ·Sample tnsnames.ora Dedicated Server Entry (with ASM) Purpose The tnsnames.ora file is the client-side address book for Oracle Net. Each entry maps a short alias (SCR9) to a full network address — protocol, host, port, and target service. Without a working tnsnames.ora entry, sqlplus, rman, and any application using …
Read MoreSample listener.ora with Static SID_LIST and Extproc
Apr 30, 2026 / · 6 min read · Oracle Database SQL*Net listener.ora Oracle Net Oracle DBA Database Connectivity extproc Listener ·Sample listener.ora with Static SID_LIST and Extproc Purpose The listener.ora file is the server-side configuration for the Oracle Net listener — the process that accepts incoming client connections and hands them off to a database server process. The sample below — taken straight from the shutdownabort.com DBA Quick …
Read MoreDelete the 500 Oldest Files in a Directory (Oracle DBA)
Apr 29, 2026 / · 5 min read · Oracle Database Unix Commands Oracle DBA Trace Files Audit Files Database Maintenance Storage Management Diagnostic Dest ·Delete the 500 Oldest Files in a Directory (Oracle DBA) Purpose Oracle's diagnostic destination (DIAGNOSTIC_DEST), audit file destination (AUDIT_FILE_DEST, also known as adump), and per-process trace directories collect thousands of small files over time. Inode counts, not bytes, are usually the limit that bites first …
Read MoreList Files Opened by an Oracle Process with lsof -p
Apr 28, 2026 / · 5 min read · Oracle Database Unix Commands Oracle DBA lsof Process Diagnostics File Handles Troubleshooting Background Processes ·List Files Opened by an Oracle Process with lsof -p Purpose lsof (LiSt Open Files) is the UNIX tool for inspecting which processes have which files open. For an Oracle DBA it is the fastest answer to four common questions: which datafiles is this server process touching, which trace file is PMON writing into right now, …
Read MoreOracle Data Pump Export Schema with expdp Command Guide
Apr 10, 2026 / · 4 min read · Oracle DataPump expdp Database Backup Schema Export Oracle DBA Database Migration Logical Backup dba_directories ·Oracle Data Pump Export Schema with expdp Command Guide Oracle Data Pump's expdp utility lets you take a fast, flexible logical backup of any schema in your Oracle database. This post breaks down a simple schema-level export command, explains each parameter, and shows you how to run it safely. What This Command Does …
Read MoreOracle RMAN Delete Obsolete Backups with Maintenance Channel
Feb 17, 2026 / · 6 min read · Oracle RMAN Database Backup Backup Retention Storage Management Oracle DBA Recovery Manager Database Administration ·Oracle RMAN Delete Obsolete Backups with Maintenance Channel Purpose The Oracle RMAN (Recovery Manager) commands shown in this script help database administrators manage backup storage by automatically removing old, unnecessary backup files. These commands allocate a maintenance channel for disk operations and delete …
Read MoreOracle RMAN Delete Expired Backup: Repository Cleanup
Feb 15, 2026 / · 7 min read · Oracle RMAN Database Backup RMAN Commands Backup Maintenance Oracle DBA Recovery Manager Database Administration Backup Repository ·Oracle RMAN Delete Expired Backup: Complete Guide to Repository Maintenance The DELETE EXPIRED BACKUP command in Oracle RMAN (Recovery Manager) removes expired backup records from the RMAN repository after they have been identified as inaccessible during a crosscheck operation. This command is essential for maintaining …
Read MoreOracle RMAN RESTORE DATABASE VALIDATE Backup Check
Feb 13, 2026 / · 6 min read · Oracle RMAN Database Backup Backup Validation Recovery Manager Database Administration Corruption Detection Oracle DBA ·Oracle RMAN Restore Database Validate - Check Backup Integrity The RESTORE DATABASE VALIDATE command is one of the most critical proactive health check operations in Oracle Recovery Manager (RMAN) that allows database administrators to verify backup integrity without performing an actual restore operation. This command …
Read MoreOracle RMAN Report Obsolete Redundancy Command Guide
Feb 11, 2026 / · 6 min read · Oracle Database RMAN Backup Management Retention Policy Database Administration Recovery Manager Oracle DBA Backup Strategy ·Oracle RMAN Report Obsolete Redundancy Command Guide Purpose The report obsolete redundancy = 2 command in Oracle Recovery Manager (RMAN) identifies database backups that are no longer necessary for recovery operations based on a redundancy-based retention policy. This command helps database administrators determine …
Read More