限制End User Session数量

限制End User Session数量

如何限制中断用户只有=

《以限制2 个Session 为例》

1: 创建一个 Profile

create profile limite_session limit sessions_per_user 2;

2: 将需要限制的用户profile 修改为 limite_session

alter user lis profile limite_session;

3: 设置Database Resource_limite=true

alter system set resource_limit=true;

结果是用户可以无限制的连接到 Database,但当达到限制时新增加的连接会使上一个有效连接

中断。总量保持不变(如上面Example total=2)

[@more@]