创建profile时 sessions_per_user的用法:
发表于:2024-10-24 作者:千家信息网编辑
千家信息网最后更新 2024年10月24日,举例 :为xiaoming 创建profile 同时允许两个用户连接进来SYS@ odb>create profile prof_xiaoming limit sessions_per_user 2;
千家信息网最后更新 2024年10月24日创建profile时 sessions_per_user的用法:
举例 :
为xiaoming 创建profile 同时允许两个用户连接进来
SYS@ odb>create profile prof_xiaoming limit sessions_per_user 2;
Profile created.
//用户和profile 绑定起来;
SYS@ odb>alter user xiaoming profile prof_xiaoming;
User altered.
//赋予创建会话的权限
SYS@ odb>grant create session to xiaoming;
随后用该用户登录几个客户端都无报错;疑问:这里限制登录session数量为2 为何终端登录3个4个 还是可以的,没提示报错;
原来是没有启用资源限制
SYS@ odb>alter system set resource_limit=true;
System altered.
在重新以xiaoming用户登录就会提示 超出限制,不能登录;
SYS@ odb>conn xiaoming/xiaoming
ERROR:
ORA-02391: exceeded simultaneous SESSIONS_PER_USER limit
Warning: You are no longer connected to ORACLE.
@ >
登录
用户
限制
提示
两个
同时
客户
客户端
数量
权限
疑问
终端
资源
还是
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
100万人服务器多大
启动网站服务器
网络安全应急处置方法
数据库打开 内存占用
软件开发中的探针
同源策略禁止读取 数据库
2014年塔式服务器
洛江国家网络安全宣传
正常生活中什么时候用到数据库
jsp数组怎么存入数据库
东莞盲盒软件开发订制
大学规划计算机网络技术专业范文
网络安全重要辩论
ventsim软件开发
高级数据库管理技术阶段特点
中国车牌识别数据库
杨浦区智能软件开发询问报价
网络安全的名词解释NAT
网络安全法的基本原则是那些
兼职软件开发工程师招聘
启动网站服务器
重庆费用管理软件开发公司
多盟智胜网络技术 智联
网络安全常见风险
高级数据库管理技术阶段特点
数据库协议适配器出现错误
uk服务器连接异常怎么操作
怎样加入科技互联网行业
临淄服务器
sybase数据库库