Kill session in RAC

Posted on 2009-12-19
1 Endorsement
Last Modified: 2012-05-08

I have 10 node rac  and  all tables are parallel. If suppose when I run  a query It will create 40 to 60 parallel process. If suppose I want to kill this session  using normal kill session command I could not kill all the parallel process with session.  If any have any idea how to clean up entire session ?
Question by:paddy1973

    Author Comment

    please  let me know if any procedure help for this?
    LVL 7

    Accepted Solution

    What is the "normal kill session command"?  ALTER SYSTEM KILL SESSION 'sid,serial#,instance'?  
    What is the error you receive?  
    What version of Oracle are you using?

    Author Comment

    yes.  Oracle version is 11g /ASM/10 node RAC.

    problem is Session is showing as killed but actually if you see all parallel process related to that session not killed completely.
    LVL 7

    Assisted Solution

    If you kill the primary session for the process (make sure you are connected to the correct instance to kill it), the parallel slave processes should stop working. I dont think they will die off though, just go idle waiting for some other session to make use of them.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
    Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
    This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
    Video by: Steve
    Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…

    731 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now