Oracle Administration
Locate 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 ·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 — a DBA cannot terminate a stuck session without pulling that pair first, and getting it wrong means terminating …
Read MoreCheck Redo Log Switch Frequency with V$LOG_HISTORY
Jul 12, 2026 / · 11 min read · Oracle DBA V$LOG_HISTORY Redo Log Log Switch Frequency Oracle Administration Dynamic Performance Views Redo Log Sizing Oracle Performance ·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 / · 11 min read · Oracle DBA Data Pump expdp FLASHBACK_TIME Consistent Export Oracle Administration Undo Retention Oracle Backup ·Run a Consistent Export with expdp FLASHBACK_TIME Purpose A Data Pump export that reads one table at 02:00 and the next at 02:15 is not a consistent snapshot — it is a photograph taken in pieces over time. For schemas where rows in one table reference rows in another, that time spread means the export can capture …
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 ·Monitor Data Pump Progress with V$SESSION_LONGOPS Purpose Where the expdp and impdp log files record a status line per completed object — writing output at each table boundary, not while a large table is mid-transfer — V$SESSION_LONGOPS records progress while the operation is still running. That gap matters on a …
Read MoreInsert Control Characters in vi with Ctrl-V for Oracle Prompts
Jun 20, 2026 / · 7 min read · Oracle DBA Unix Commands vi SQL*Plus Shell Terminal Oracle Administration Text Editing ·Insert Control Characters in vi with Ctrl-V for Oracle Prompts Purpose A custom SQL*Plus prompt that prints the connected instance name in colour, or a login script that clears the screen before the banner, both need one thing the keyboard cannot type directly: a literal control character embedded in the file. Press …
Read MoreCheck RESUMABLE_TIMEOUT and RESUMABLE Status in V$SESSION
Jun 19, 2026 / · 6 min read · Oracle DBA V$SESSION Resumable Space Allocation Oracle Administration Session Management Space Management Oracle Performance Dynamic Performance Views ·Check RESUMABLE_TIMEOUT and RESUMABLE Status in V$SESSION Purpose V$SESSION carries two columns that tell you whether a session can survive running out of space: RESUMABLE and the resumable timeout that governs it. When resumable space allocation is enabled, a statement that hits a space error — a full tablespace, a …
Read MoreMonitor PGA Aggregate Target with V$PGASTAT in Oracle
Jun 18, 2026 / · 6 min read · Oracle DBA V$PGASTAT PGA Memory Management Oracle Performance Oracle Administration Dynamic Performance Views Instance Tuning ·Monitor PGA Aggregate Target with V$PGASTAT in Oracle Purpose Is PGA_AGGREGATE_TARGET set high enough for the work the instance actually does? V$PGASTAT answers that question. It is the instance-level statistics view for the Program Global Area — the private memory Oracle hands to each server process for sorting, …
Read MoreSearch UNIX Man Pages for Oracle DBA Tools with man -k
May 25, 2026 / · 7 min read · Oracle DBA Unix Commands man apropos Documentation Oracle Administration Linux for DBAs Shell ·Search UNIX Man Pages for Oracle DBA Tools with man -k Purpose Where Google answers most "how do I do X in UNIX" questions for a DBA today, man -k answers the narrower one — what tools the host actually has installed, and what each one does, without leaving the SSH session. Production Oracle hosts often run in …
Read MoreEnable vi Command-Line Editing in ksh for Oracle DBA Shells
May 24, 2026 / · 7 min read · Oracle DBA Unix Commands ksh Shell AIX Solaris HP-UX Oracle Administration ·Enable vi Command-Line Editing in ksh for Oracle DBA Shells Purpose Recalling and editing the prior command without retyping it is the single most-used operation in a long DBA shift on an Oracle host. On the Korn shell (ksh) — the default login shell on AIX 7.x, Solaris 11, HP-UX 11i, and many older Oracle 11g/12c …
Read More