DBAsupport.com Forums - Powered by vBulletin
Results 1 to 4 of 4

Thread: killed session still active

  1. #1
    Join Date
    Jun 2000
    Location
    dumfries,va,usa
    Posts
    227
    Hi,
    1. Can you explain why a session was killed (alter system kill session',') but reappears with a different serial # but same sid.
    2. What's most effecient (recommended) method of removing (forcing) a lock on a table?


    Thanks,
    leonard

    leonard905
    leonard905@yahoo.com

  2. #2
    Join Date
    Dec 2000
    Posts
    15

    Post Session killed

    when you killed one session, Oracle needs unchange all updates and inserts of the session killed, when oracle changes alll things, all objects locked will be free again ...
    Sandro Lobo
    Oracle DBA
    www.geocities.com/sslobopt

  3. #3
    Join Date
    Jun 2000
    Location
    dumfries,va,usa
    Posts
    227
    How quickly does oracle are the locks freed?
    leonard905
    leonard905@yahoo.com

  4. #4
    Join Date
    Mar 2000
    Location
    Chennai.Tamilnadu.India.
    Posts
    658

    Doubt


    Hi SSLOBO, 5th May 2001 18:04 hrs chennai

    Ok as you say i tried with 2 simultaneous sessions.

    In one ready with statement to kill a session.

    In another i am trying to insert 50000 records to a table in a simple for loop clause.

    After the insert was over i killed the session it got immediately killed and the inserts rolled back.i didnt see any new serial# with the same sid ?

    So the right way to put the things is once all the uncommited records are rollbacked if as Leaonard says can anyone explain in detail please. ?

    Cheers

    Padmam
    Attitude:Attack every problem with enthusiasam ...as if your survival depends upon it

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width