DBA_PROFILES该视图包含了数据库中定义的所有概要文件的信息,概要文件分组定义了系统资源限制,为了使Oracl应用你在概要文件中 定义的限制,首先在init.ora中将resource_limit设置成TRUE
例:创建一个概要文件
create profile CLERK_PROFILE limit
session_per_user 1 #用户可拥有的会话次数
idle_time 10 #进程处于空闲状态的时间(10分钟)
然后就可以将该概要文件授予一个用户
alter user A profile CLERK_PROFILE;
即可实现
例:创建一个概要文件
create profile CLERK_PROFILE limit
session_per_user 1 #用户可拥有的会话次数
idle_time 10 #进程处于空闲状态的时间(10分钟)
然后就可以将该概要文件授予一个用户
alter user A profile CLERK_PROFILE;
即可实现
At most of time , the session status is inactive only will use doing some operation , the session will be active .