Oracle Administration
Insert 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 dba_resumable ·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 MoreSearch UNIX Man Pages for Oracle DBA Tools with man -k
May 25, 2026 / · 8 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 a web search answers most "how do I do X in UNIX" questions for a DBA today, man -k answers a narrower one — what tools this host actually has documented, and what each one does, without leaving the SSH session. Production Oracle hosts often sit 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 MoreDisable vi Autoindent Before Pasting SQL Scripts on Oracle Hosts
May 23, 2026 / · 7 min read · Oracle DBA Unix Commands vi SQL*Plus Editor Oracle Administration Shell SQL Scripts ·Disable vi Autoindent Before Pasting SQL Scripts on Oracle Hosts Purpose Pasting a SQL script copied from email, a Confluence page, or a ticket comment into a vi buffer over SSH — and watching every line shift one indent right of the previous one — is the most common and most frustrating vi failure mode an Oracle DBA …
Read MoreScan Every Oracle Alert and Trace Log for ORA- Errors with grep
May 17, 2026 / · 6 min read · Oracle Database Unix Commands Oracle DBA grep Alert Log Error Diagnostics Troubleshooting Oracle Administration v$diag_alert_ext ·Scan Every Oracle Alert and Trace Log for ORA- Errors with grep Purpose Every Oracle environment generates alert logs and process trace files recording instance events, errors, and diagnostics. When a support call comes in — "the database was slow last night, can you check the logs?" — the fastest first pass is a …
Read MoreLIST BACKUPSET OF DATABASE: Oracle RMAN Command Guide
Feb 16, 2026 / · 5 min read · Oracle-RMAN Backup-Commands Database-Recovery DBA-Tools Backup-Verification Recovery-Manager Oracle-Administration Database-Backup ·LIST BACKUPSET OF DATABASE: Oracle RMAN Command Guide Purpose The LIST BACKUPSET OF DATABASE command in Oracle Recovery Manager (RMAN) displays detailed information about all backup sets that contain database datafiles. This command helps database administrators verify backup existence, check backup status, find backup …
Read MoreOracle RMAN List Backupset Command Guide
Feb 7, 2026 / · 5 min read · Oracle Database RMAN Backup Management Database Recovery DBA Commands Oracle Administration Backup Verification Recovery Manager ·Oracle RMAN List Backupset Command Guide Purpose The list backupset; command in Oracle Recovery Manager (RMAN) displays detailed information about backup sets stored in the RMAN repository. This command helps database administrators view backup set metadata, including backup pieces, unique keys, completion times, and …
Read MoreOracle Statspack: Automate Snapshots with spauto.sql
Sep 7, 2025 / · 2 min read · oracle database statspack performance monitoring automation dba scripts database tuning oracle administration job scheduling dba_jobs dbms_job ·Oracle Statspack Automation: Scheduling Hourly Database Performance Snapshots The spauto.sql script schedules an hourly Statspack snapshot job with DBMS_JOB. Purpose The script creates a job that takes a Statspack snapshot every hour. A DBA runs it so there is history to compare when a slowdown is reported. Query …
Read MoreOracle User Table Constraints Query with dba_constraints
Sep 1, 2024 / · 10 min read · Oracle SQL Database Constraints Data Integrity DBA_CONSTRAINTS Primary Key Foreign Key Oracle Administration ·Oracle Database: Show All Table Constraints for a User using dba_constraints Purpose This Oracle SQL query is designed to retrieve a comprehensive list of all constraints associated with tables owned by a specific user in your Oracle database. Constraints are essential rules that ensure data integrity and consistency. …
Read More