【文件属性】:
文件名称:oracle11g密码敏感取消
文件大小:829B
文件格式:TXT
更新时间:2021-03-22 08:10:22
oracle
-- 在系统命令行输入sqlplus /nolog
conn sys /sunshine@mis as sysdba
-- select * from dba_profiles
-- SELECT * FROM V$PARAMETER;
--去掉字符大小写敏感设置:禁止密码大小写敏感
show parameter sec_case_sensitive_logon
alter system set sec_case_sensitive_logon=false ;
--Oracle11g中Exp空表的问题:禁用插入数据时才分配空间功能
show parameter deferred_segment_creation
alter system set deferred_segment_creation=false;
-- 查找空表:
select 'alter table '||table_name||' allocate extent;' from user_tables where num_rows=0 ;
select 'alter table '||owner||'.'||table_name||' allocate extent;' from dba_tables where num_rows=0 ;
--数据库实例用户密码期限取消:无限期
select * from dba_profiles where profile='DEFAULT' and resource_name='PASSWORD_LIFE_TIME';
alter profile default limit password_life_time unlimited;