Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ora-31

Status
Not open for further replies.

snayak

IS-IT--Management
Nov 20, 2002
23
Hi All,

Wondering anyone has faced this issue. A query which usually completes in 2hours, but when interupted like alter system kill session or closing the sqlplus i.e rebooting my client, the v$session status field shows KILLED i.e. I get message as ora-31 marked for kill. This never changes until I kill the OS process. There are no locks nor rollbacks as can see from v$locked_object,v$locks,V$transactions no records found. OS truss also shows nothing.

I tried DCD everything . Please help, if anyone has encountered this weird situation & how to solve this other than killing the OS process. Appreciate your help.

Regards
 
Just wait! In fact your long-running query does write to rollback segment to provide read-consistency. But in this case killing a proceess IMO is also quite safe.

Regards, Dima
 
Hi Dima,

Actually the session keeps running for more than 2 days if not for killing the OS process, I have never seen the session coming out from that spin.

Thanks,
Regards.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top