Oracle DBA在新环境下必须了解的事情
2009-05-27 13:16:23 来源:WEB开发网10、了解参数文件的组成和位置
show parameter spfile
create spfile from pfile...
create pfile from spfile;
create spfile from memory;
create pfile from memory;
11、了解instance的相关信息
select instance_name, host_name, status, archiver, database_status, instance_role, active_state
from v$instance;
12、用户和密码相关
是否使用了缺省密码?
是否使用了profile?
是否起用了密码验证函数?
用户身份验证的方法?
密码是否区分大小写等。
select name, value from gv$parameter where name = 'resource_limit';
select profile, resource_name, limit from dba_profiles order by 1,2;
select username, profile from dba_users where account_status = 'OPEN' order by 1;
select d.username, u.account_status
from dba_users_with_defpwd d, dba_users u
where d.username = u.username and account_status = 'OPEN'
order by 2,1;
13、是否打开了BLOCK CHANGE TRACKING
select filename, status, bytes from v$block_change_tracking;
14、起用了那些特性(Feature)?
DBMS_FEATURE_USAGE_REPORT
更多精彩
赞助商链接