Scripts
Oracle exp/imp Parameter File: Direct Path User-to-User Data Migration Moving two schemas from one database to another with the original exp and imp tools means typing a long list of options twice, once per tool. A parameter file (parfile) keeps those options in one place, so the same run can be repeated and checked …
Read MoreList Backup of Archivelog All: Oracle RMAN Command Guide
Feb 9, 2026 / · 9 min read · Oracle RMAN Backup Archive Logs Database Administration Recovery DBA Scripts v$backup_set rc_backup_set v$archived_log ·List Backup of Archivelog All: Oracle RMAN Command Guide Purpose Which archived redo logs does RMAN know how to restore? The LIST BACKUP OF ARCHIVELOG ALL command answers that question. It reads the RMAN repository and prints every backup that holds archived redo logs, one backup set at a time, with the thread and …
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 Hash Lookup: Retrieve SQL Text from V$SQLAREA
Aug 8, 2025 / · 3 min read · oracle sql dba performance monitoring hash troubleshooting scripts v$sqlarea v$sql ·Oracle SQL Hash Lookup Query - Retrieving SQL Text from V$SQLAREA Purpose This Oracle Database query is designed to retrieve the SQL statement text (the first 1,000 characters) from the V$SQLAREA view using a specific hash value. This is particularly useful for database administrators and developers who need to …
Read MoreOracle Database: Find Query Hash Value Using V$SQLAREA
Aug 7, 2025 / · 4 min read · oracle database sql performance monitoring dba scripts tuning v$sqlarea ·Oracle Database: Find Query Hash Value Using V$SQLAREA Finding specific SQL queries in Oracle Database can be challenging when dealing with large systems running thousands of statements. This guide demonstrates how to efficiently locate query hash values using the V$SQLAREA system view by searching for unique text …
Read MoreOracle DBA SQL Scripts and Database Commands
Oracle SQL Scripts and Database Commands 23c 21c 19c 18c 12c 11g 10g 9i 8i We are in the process of building a list of simple scripts used every day by DBA and others. If you have your own scripts you reuse in a text file on you workstation please send it to us. To look at other scripts see the Oracle Scripts Tag …
Read More