Oracle Administration
Redefine a Table Online with DBMS_REDEFINITION, No DML Blocking
Redefine a Table Online with DBMS_REDEFINITION, No DML Blocking Purpose A DBA moving a table to a new tablespace, adding compression, or rebuilding a badly fragmented segment has one hard requirement: users can't lose access to that table while the change is happening. For decades the available tools — CREATE TABLE AS …
Read MoreManage the Recycle Bin with DBA_RECYCLEBIN
Sep 6, 2026 / · 8 min read · Oracle DBA DBA_RECYCLEBIN Recycle Bin PURGE Statement Flashback Table Dropped Objects USER_RECYCLEBIN Oracle Administration ·Manage the Recycle Bin with DBA_RECYCLEBIN Purpose When DROP TABLE runs, Oracle does not deallocate the space. Since Oracle Database 10g, a dropped table is renamed and moved into the recycle bin instead of being physically removed, and it stays there, fully intact, until something purges it or the tablespace runs out …
Read MoreMove a Datafile Online with ALTER DATABASE MOVE DATAFILE
Aug 28, 2026 / · 11 min read · Oracle DBA ALTER DATABASE Move Datafile Online Datafile Move OMF Oracle 12c Datafile Management Oracle Administration dba_data_files v$datafile ·Move a Datafile Online with ALTER DATABASE MOVE DATAFILE Purpose Oracle 12.1 closed a gap that had existed since the earliest releases: moving or renaming a datafile always meant taking something offline first. A DBA had three choices — switch the tablespace offline, switch the individual datafile offline, or shut the …
Read MoreFlush the Shared Pool and Buffer Cache with ALTER SYSTEM
Flush the Shared Pool and Buffer Cache with ALTER SYSTEM Purpose Where DBMS_SHARED_POOL.PURGE removes one cursor or one package from the library cache, ALTER SYSTEM FLUSH SHARED_POOL clears every parsed statement, stored procedure, function, package, and trigger cached in the shared pool at once — a blunt instrument …
Read MoreReview Job Run History with DBA_SCHEDULER_JOB_RUN_DETAILS
Review Job Run History with DBA_SCHEDULER_JOB_RUN_DETAILS Purpose A job that fails silently overnight gives no warning. The next morning's dependent process just doesn't have the data it expected, and by then the only trace of what happened is in the Scheduler's run log. DBA_SCHEDULER_JOB_RUN_DETAILS is that run log — …
Read MoreLocate the Alert Log and Trace Files with V$DIAG_INFO
Aug 3, 2026 / · 11 min read · Oracle DBA V$DIAG_INFO Alert Log ADR Trace Files Automatic Diagnostic Repository Oracle Administration Diagnostic Data DIAGNOSTIC_DEST gv$diag_info ·Locate the Alert Log and Trace Files with V$DIAG_INFO Purpose Before Oracle 11g, finding the alert log meant knowing the value of BACKGROUND_DUMP_DEST and constructing the filename by hand. 11g replaced that parameter, along with USER_DUMP_DEST and CORE_DUMP_DEST, with a single DIAGNOSTIC_DEST parameter and moved every …
Read MoreKill and Disconnect Oracle Sessions with ALTER SYSTEM
Jul 20, 2026 / · 10 min read · Oracle DBA ALTER SYSTEM Kill Session Disconnect Session V$SESSION Oracle Administration Session Termination ORA-00031 ·Kill and Disconnect Oracle Sessions with ALTER SYSTEM Purpose V$SESSION exposes the SID and SERIAL# pair that both ALTER SYSTEM KILL SESSION and ALTER SYSTEM DISCONNECT SESSION require as their targeting key. Pull the SID and SERIAL# pair first. A wrong pair can end the wrong connection, because Oracle reuses SIDs. …
Read MoreCheck Redo Log Switch Frequency with V$LOG_HISTORY
Jul 12, 2026 / · 12 min read · Oracle DBA V$LOG_HISTORY Redo Log Log Switch Frequency Oracle Administration Dynamic Performance Views Redo Log Sizing Oracle Performance v$log ·Check Redo Log Switch Frequency with V$LOG_HISTORY Purpose How many times does the online redo log switch in a single hour, and does that number spike during the nightly batch window or stay flat around the clock? A redo log sizing decision made from a single "switches per day" total hides the answer to that question. …
Read MoreRun a Consistent Export with expdp FLASHBACK_TIME
Jul 10, 2026 / · 10 min read · Oracle DBA Data Pump expdp FLASHBACK_TIME Consistent Export Oracle Administration Undo Retention Oracle Backup dba_free_space v$database v$parameter v$undostat ·Run a Consistent Export with expdp FLASHBACK_TIME Purpose A schema export reads many tables over a span of time, and for schemas where rows in one table reference rows in another, you usually want every table in the dump to reflect the same moment. Community Data Pump documentation puts it directly: expdp exports are …
Read MoreMonitor Data Pump Progress with V$SESSION_LONGOPS
Jul 5, 2026 / · 10 min read · Oracle DBA V$SESSION_LONGOPS Data Pump expdp impdp Oracle Monitoring Dynamic Performance Views Oracle Administration dba_datapump_jobs v$session ·Monitor Data Pump Progress with V$SESSION_LONGOPS Purpose V$SESSION_LONGOPS shows how far a running expdp or impdp job has got. That matters on a full-database export scheduled overnight, or an import that has been running for six hours. The dynamic performance view gives a number to plan around instead of a guess. …
Read More