oracle 11g概要文件

概要文件:

是一个命名的资源限制的集合。系统资源的使用、口令的限制。

profile 


创建:

create profile 概要文件名 limit

sessions_per_user n     ----每个用户同时所登陆的最多次数

cpu_per_session n       ----每个会话用多少1%秒CPU

connect_time n ----连接数据库时间(分钟)

failed_login_attemps n  ----每个用户登录失败的最大次数


修改:

alter profile 概要文件名 limit 

sessions_per_user 20

failed_login_attemps 3;



删除:
drop profile 概要文件名;


说明:

一个用户所使用的概要文件被删除,则此用户使用默认的概要文件。



使某个用户使用某个用户配置文件

aler user 用户名 profile 概要文件名;

要使上面的限制生效,需要修改初始化参数resource_limit

alter system set resource_limit=true;(11g)


数据字典:
dba_profiles 

猜你喜欢

转载自blog.csdn.net/u013129932/article/details/50095581