dbTalk Databases Forums  

when client disconnect oracle server abnormally

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss when client disconnect oracle server abnormally in the comp.databases.oracle.misc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
karim
 
Posts: n/a

Default when client disconnect oracle server abnormally - 10-21-2009 , 11:20 PM






hello to all.

if i am working in a client side and suddenly lost the connection
between me and oracle server, then what the server do to uncommitted
statements? will the server make auto-commit or rollback.
thanks.

Reply With Quote
  #2  
Old   
Mark D Powell
 
Posts: n/a

Default Re: when client disconnect oracle server abnormally - 10-22-2009 , 08:45 AM






On Oct 22, 12:20*am, karim <k.haraz... (AT) gmail (DOT) com> wrote:
Quote:
hello to all.

if i am working in a client side and suddenly lost the connection
between me and oracle server, then what the server do to uncommitted
statements? will the server make auto-commit or rollback.
thanks.
If the front-end session suddenly loses its connection to Oracle what
happens depends on what caused the connection loss to begin with and
where the problem occurred: on the database side, in the network
transport, either end OS, or in the front-end application itself, and
on if Oracle recongizes that the front-end went away.

If Oracle recognises the abnormal termination then pmon will clean up
the user Oracle background processing releasing locks and other
resources held. If Oracle does not recognize the front-end loss then
the user session Oracle background process becomes what is known as a
runaway or dead session usually showing as waiting on a response/
request from the client.

There have been numerous thread on dead session detection. There are
Oracle parameters that can be used to terminate these sessions
automatically.

HTH -- Mark D Powell --

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.