看看两者不同的定义
Sid:
Session identifier
serial#
Session serial number. Used to identify uniquely a session's objects. Guarantees that session-level commands are applied to the correct session objects if the session ends and another session begins with the same session ID.
按照这个解释,还真有可能出现 相同的sid (session ID) 而不同 session's objects的情况?那什么时候会出现这个情况呢?session's objects又是指的是什么对象呢?是database object ?
sid的值似乎是可以重新使用的,而serial#似乎都是增大的.
这也就是alter system kill session 'sid,serial#'; 的原因吧
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/161195/viewspace-610442/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/161195/viewspace-610442/