oracle 日常技巧
日常小技巧:
1,修改oracle windows客户端字符集
regedit
HKEY_LOCAL_MACHINE/SOFTWARE/ORACLE/KEY_oracle10g
设置NLS_LANG=AMERICAN_AMERICA.AL32UTF8;
NLS_LANG=SIMPLIFIED CHINESE_CHINA.ZHS16GBK
2,修改归档日志空间大小和存储路径
--查看
select name,
space_limit / 1024 / 1024 space_limit_mb,
space_used / 1024 / 1024 space_used_mb
from v$recovery_file_dest;
--
alter system set db_recovery_file_dest='/rac2/arclog';
alter system set db_recovery_file_dest_size = 50G;