166. A user complains about getting this error after issuing a certain SQL statement:
ORA-02393: exceeded call limit on CPU usage
Because of the error, the SQL statement gets aborted. What action would you take to increase the CPU usage limit in the subsequent sessions of the user?
A) Modify the resource limit in the profile used by the user.
B) Set the RESOURCE_LIMIT initialization parameter to FALSE.
C) Increase the value of the SESSION_CACHED_CURSORS initialization parameter.
D) Increase the value of the SESSION_MAX_OPEN_FILES initialization parameter.
答案:A
你会采取什么行动来增加了限制在随后的CPU的使用 设置资源计划的初始化参数是resource_limit,这个参数设置为TRUE的时候起用资源限制。这
个初始化参数是可以动态修改的。 这个参数书上说只有设为TRUE时,Profile才可以起作用的。 profile分两部分,resource_limit为true限定 资源参数(resource parameters) 设置有效, 密码参数(password parameters)设置始终有效,不管resouce_limit的值为true或false
ROFILE的管理(资源文件) 当需要设置资源限制时,必须设置数据库系统启动参数RESOURCE_LIMIT,此参数默认值为FALSE可以使用如下命令来启动当前资源限制: alter system set RESOURCE_LIMIT=true;
(warehouse)
select * from dba_users;
create user test7 identified by test7 default profile;
口令10次锁定 password验证函数 idle time cpu空闲
建立新的profile
sys: @..\rdbms\admin\utlpwdmg.sql;可以修改这段脚本
password验证函数 verify_function
alter user test3 profile profile_test;
show parameter limit;
改resource_limit
alter system resource_limit=true; 让新的profile启用
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/11312660/viewspace-718683/
,如需转载,请注明出处,否则将追究法律责任。