Home » RDBMS Server » Server Administration » dblink sequence problem
dblink sequence problem [message #114696] Tue, 05 April 2005 02:25 Go to next message
_simma_dba
Messages: 34
Registered: November 2003
Member
Here is the situation:
I have dblink on some db that is in other town, and procedure that use that dblink. In that procedure I have SELECT SEQUENCE@DBLINK FROM DUAL, (selecting some sequence from remote db).At the moment of my selection, the remote database went down (administrator on that location used SHUTDOWN ABORT Mad ). My session was blocked and I cant kill it. As I can see session waits for selection of that sequence, and I dont know how to kill it.

Help pls
Re: dblink sequence problem [message #114781 is a reply to message #114696] Tue, 05 April 2005 11:17 Go to previous messageGo to next message
smartin
Messages: 1803
Registered: March 2005
Location: Jacksonville, Florida
Senior Member
Have you tried alter system kill session?
Re: dblink sequence problem [message #114858 is a reply to message #114696] Tue, 05 April 2005 20:13 Go to previous messageGo to next message
win_vj
Messages: 16
Registered: March 2005
Location: India
Junior Member
Follow the steps given below.

1. SELECT s.sid,s.serial#,s.osuser,s.program FROM v$session s;

2. Identify your sid and serial# and then
ALTER SYSTEM KILL SESSION 'sid,serial#';

But the thing is you must have the permissions to kill the session.

Vijay
Re: dblink sequence problem [message #114886 is a reply to message #114858] Wed, 06 April 2005 01:58 Go to previous message
_simma_dba
Messages: 34
Registered: November 2003
Member
Yes I told u that I cant kill my that session. I try this, but only thing that I get is "session marked for kill". Session has status killed but nothing happens for 3 days allredy Mad
Previous Topic: User expire after certain time
Next Topic: Deleting unused tables
Goto Forum:
  


Current Time: Sat Jan 25 03:50:58 CST 2025