Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Serial# changes when rolling back

Re: Serial# changes when rolling back

From: <hemantchitale_at_charteredsemi.com>
Date: Tue, 11 Dec 2001 16:58:00 -0800
Message-ID: <F001.003DA669.20011211163019@fatcity.com>

One explanation I had heard for the combination of Sid+Serial# goes something like this ...
say you identify a particular session to monitor ... you then decide to kill it.
However, it could so happen that that user logged out between the time you decided to kill the session and the time you actually killed the session (even
if you have scripted the kill command). When a user logs out, the Sid is available to the next user who logs in. Since another user might be holding
the same Sid at the time you come around to kill the Sid, you might actually
kill the wrong user-session. To avoid this, the next user, getting the same
Sid gets a different Serial# and your kill must be on Sid+Serial# together.

That still does not explain why pmon increments the Serial#, though.

Hemant

Deepak Thapliyal <deepakthapliyal_at_yahoo.com> 12/12/2001 06:26 AM Sent by: root_at_fatcity.com

Please respond to ORACLE-L

                                                                                       
                        
             To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>           
                        
             cc: (bcc: CHITALE Hemant Krishnarao/Prin DBA/CSM/ST Group)                
                        
             Subject: Re: Serial# changes when rolling back                            
                        
                                                                                       
                        
                                                                                       
                        
                                                                                       
                        





yeah i did read this thread but still wonder why oracle needs to use serial# column at all. Does the SID not gaurentee uniqueness for a session ... damn the name says so atleast (session identifier)..

or maybe they just coded it like that and make some use of the serial #

Deepak


Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com or bid at http://auctions.yahoo.com
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Deepak Thapliyal
  INET: deepakthapliyal_at_yahoo.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).





-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: hemantchitale_at_charteredsemi.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Tue Dec 11 2001 - 18:58:00 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US