Avira Oracle SQL Card dead process

Source: Internet
Author: User

--Identify SID names
SELECT * from v$access where object = ' Pkg_smssend_proc ';
--Using SID to isolate SPID
Select Spid,osuser, S.program from V$session s,v$process p where s.paddr=p.addr and s.sid= (select SIDs from V$access wher E object = ' Pkg_smssend_proc ');
--Killing process
Login to SSH, kill-9 spid

Select Spid,osuser
From V$session S, v$process p
where s.paddr = P.addr
and S.sid in (the Select Sid from V$access where object = ' Pkg_smssend_proc ');
Pkg name to capitalize



--The second type
[View Lock]
Select A.object_name| | ' | ' | | b.session_id| | ' | ' | | c.serial#| | ' | ' | | c.program| | ' | ' | | c.username| | ' | ' | |c.command| | ' | ' | | c.machine| | ' | ' | |
C.lockwait from All_objects a,v$locked_object b,v$session C where a.object_id=b.object_id and c.sid=b.session_id;

[Unlock]
Alter system kill session ' Session_id,serial '

Avira Oracle SQL Card dead process

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.