Oracle Scripts
Oracle CREATE DIRECTORY Command Explained
Apr 12, 2026 / · 6 min read · Oracle DBA SQL DataPump Directory Database Administration PL/SQL Oracle Scripts ·Oracle CREATE DIRECTORY Command Explained The Oracle CREATE DIRECTORY command creates a directory object — a logical alias inside the Oracle database that points to a real folder on the server's file system. This is one of the most used setup steps for Oracle Data Pump exports and imports, UTL_FILE file operations, …
Read MoreOracle Data Pump: Create the DATA_PUMP_DIR Directory
Apr 11, 2026 · 5 min read · Oracle Data Pump Database Administration Oracle Backup expdp impdp Directory Object SQL ·Oracle Data Pump: Create the DATA_PUMP_DIR Directory Before you can run any Oracle Data Pump export (expdp) or import (impdp) job, Oracle needs to know where to write and read dump files and log files on the server. You do this by creating a directory object inside the database that points to a real folder on the …
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 ·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 expdp Schema Export Using Data Pump
Apr 9, 2026 / · 5 min read · Oracle DataPump expdp Database Backup Schema Export DBA Oracle Scripts Logical Backup ·Oracle expdp Schema Export Using Data Pump Oracle Data Pump's expdp utility lets you export a full database schema — including tables, indexes, constraints, and data — into a portable dump file. This guide breaks down the single-line command that does exactly that for the andy schema. Purpose of This Command The goal …
Read MoreOracle DBMS_FLASHBACK.ENABLE_AT_TIME: Session Flashback
Mar 12, 2026 / · 5 min read · Oracle Flashback DBMS_FLASHBACK Undo Management PL/SQL DBA Scripts Point-in-Time Recovery Database Administration ·Oracle DBMS_FLASHBACK Enable At Time: Session Flashback Guide Oracle's DBMS_FLASHBACK.ENABLE_AT_TIME is a powerful procedure that lets you travel back in time within your database session — letting you query data exactly as it existed at a specific past moment, without needing a full database restore. What This Code …
Read MoreOracle: Disable Flashback with DBMS_FLASHBACK.DISABLE
Mar 11, 2026 / · 5 min read · Oracle Flashback PL/SQL DBA Database Administration Oracle Scripts Backup Recovery Admin Guide ·Overview When working with Oracle Database, there are times when you need to look at data from the past — like rewinding a video to see what happened earlier. Oracle gives you a tool called Flashback to do this. But once you are done looking at past data, you must turn Flashback off. The command to do that is: 1EXEC …
Read MoreOracle Flashback Query: Copy Historical Data to a Table
Mar 10, 2026 / · 6 min read · oracle database flashback query sql dba data recovery insert append ctas oracle admin ·Oracle Flashback Query: Copy Historical Data Into a New Table Sometimes you need to go back in time and recover data the way it looked at a specific moment — without restoring the full database. Oracle makes this possible with Flashback Query, using the AS OF TIMESTAMP clause to read historical data directly from the …
Read MoreOracle exp: Export Database with FLASHBACK_TIME
Mar 9, 2026 / · 5 min read · oracle flashback exp utility database backup point in time recovery parfile dba scripts oracle export ·Export an Oracle Database from a Point in Time Using FLASHBACK_TIME The Oracle exp utility supports a FLASHBACK_TIME parameter that lets a database administrator export a full database with all data consistent to a single point in time. This is critical for large, active databases where export duration may span minutes …
Read MoreOracle: Get Current SCN with DBMS_FLASHBACK
Mar 8, 2026 / · 5 min read · oracle scn flashback dba sql database recovery read consistency admin scripts ·How to Find the Current SCN in Oracle Database Using DBMS_FLASHBACK The System Change Number (SCN) is Oracle's internal logical clock. Every DBA needs to know how to read it. This post shows you the simplest SQL query to get the current SCN from any Oracle Database session, and explains exactly why it matters. What Is …
Read MoreOracle Fast Recovery Area: Set db_recovery_file_dest
Mar 7, 2026 / · 5 min read · oracle dba backup recovery flashback fast recovery area alter system dynamic parameters fra ·Oracle Fast Recovery Area: Set DB Recovery File Dest and Size The Oracle Fast Recovery Area (FRA) is a disk location where Oracle stores and manages files related to backup and recovery. Two dynamic initialization parameters — db_recovery_file_dest and db_recovery_file_dest_size — control its location and maximum size, …
Read More