Showing posts with label Identify OS process ID based on database SID. Show all posts
Showing posts with label Identify OS process ID based on database SID. Show all posts

Tuesday, 7 June 2016

Identify OS process ID based on database SID


col sid format 999999
col username format a20
col osuser format a15
select a.sid, a.serial#,a.username, a.osuser, b.spid
from v$session a, v$process b
where a.paddr= b.addr
and a.sid='&sid'
order by a.sid;
 
Now pass the value of database SID

Add Data file

 ************************************************** Database status Tablespace Usage ASM Disk Group Usage(RAC) Backup Filesystem Usage Alert...