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;
即可实现

解决方案 »

  1.   

    I think you must make clear the concept of 'inactive' first inactive doesn't mean the session is bad , useless or something wrong . It just tell U (the connection is on but no job is doing at this moment) 
     At most of time , the session status is inactive only will use doing some operation , the session will be active . 
      

  2.   

    用:alter system kill session '?,?'命令可以删掉指定连接.
      

  3.   

    但是很多连接是通过web服务器连过来的,有数据库连接的页面被点击一下,就产生一个连接,连接多了,网页也没法访问,服务器也连接不成功,web服务器是oc4j。