sid 和 serial# 是什么关系

[复制链接]
查看11 | 回复2 | 2009-10-9 08:28:00 | 显示全部楼层 |阅读模式
alter system kill session 'sid,serial#' ;
中的 sid和 serial# 是什么关系?
哪个单位大?
回复

使用道具 举报

千问 | 2009-10-9 08:28:00 | 显示全部楼层
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.
没有那个大的说法
回复

使用道具 举报

千问 | 2009-10-9 08:28:00 | 显示全部楼层
最初由 orientzkd 发布
[B]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.
没有那个大的说法 [/B]

非常感谢! 但是既然Serial Number 起到区分的作用, Oracle直接用
Serial# 多好, 何苦用有可能重复的Session ID. 难道 Serial# 就不会重复吗?
还是, Session ID || Serial# 组合重复的机会小? 就是说也有可能重复呐?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行