V$process
Enable a 10046 Trace for an Oracle Session
Jul 10, 2026 / · 14 min read · Oracle DBA SQL Trace 10046 Trace Performance Diagnostics ORADEBUG DBMS_MONITOR Oracle Performance Trace File v$diag_info v$process v$session ·Enable a 10046 Trace for an Oracle Session Purpose A 10046 trace returns wait events only if the level includes them. Enabling the trace at level 1 and then wondering why the file shows no waits is the most common 10046 mistake in production diagnosis — the output has elapsed times and call counts, but none of the db …
Read MoreList Files Opened by an Oracle Process with lsof -p
Apr 28, 2026 / · 5 min read · Oracle Database Unix Commands Oracle DBA lsof Process Diagnostics File Handles Troubleshooting Background Processes v$process ·List Files Opened by an Oracle Process with lsof -p Purpose lsof (LiSt Open Files) is the UNIX tool for inspecting which processes have which files open. For an Oracle DBA it is the fastest answer to four common questions: which datafiles is this server process touching, which trace file is PMON writing into right now, …
Read Morev$session v$process: Map Oracle Sessions to OS PIDs
v$session v$process: Map Oracle Sessions to OS PIDs Purpose An operating system tool shows a process with an odd amount of CPU, memory or disk activity. Its name starts with oracle, and the only handle you have is a number: the process ID. That number does not tell you which user, which application or which session is …
Read MoreSelect Oracle user info including os pid SQL Code 1col "SID/SERIAL" format a10 2col username format a20 3col osuser format a15 4col program format a50 5select s.sid || ',' || s.serial# "SID/SERIAL" 6, s.username 7, s.osuser 8, p.spid "OS PID" 9, s.program 10from v$session s 11, v$process p 12Where s.paddr = p.addr …
Read More