关于ORACLE的会话连接超时

如用户一段时间没有作操作或会话没有同数据库交换数据,通过操时控制断开联接.

用户的profile -> connect time-> idle time

假设你的用户名为 user_a,你要设计的时间是 5分钟没有操作就断开。

create profile my_profile limit idle_time 5;

alter user user_a profile my_profile;

猜你喜欢

转载自mrzhangshunli.iteye.com/blog/1458535