sql> alter system set cluster_database=false scope=spfile sid='qcjk1';   --------注意sid根据不同环境要修改

在rac两节点都要关闭数据库:
sql>shutdown immediate;

在rac1节点将数据库启动到nomount状态:
sql>startup nomount;

SQL> alter database mount exclusive;

Database altered.

SQL> alter system enable restricted session;

System altered.

SQL> ALTER SYSTEM SET JOB_QUEUE_PROCESSES=0;

System altered.
SQL> Alter database open;

Database altered.

4、修改字符集
SQL> ALTER DATABASE character set INTERNAL_USE zhs16gbk;
sql> alter system set cluster_database=true scope=spfile sid='qcjk1';

5、验证(两个节点都要测)
Database altered.
SQL> SHUTDOWN IMMEDIATE;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup;
ORACLE instance started.

Total System Global Area 1577058304 bytes
Fixed Size                  2084264 bytes
Variable Size             436208216 bytes
Database Buffers         1124073472 bytes
Redo Buffers               14692352 bytes
Database mounted.
Database opened.
SQL> select userenv('language') from dual;

USERENV('LANGUAGE')
--------------------------------------------------------------------------------
AMERICAN_AMERICA.ZHS16GBK

6、启动rac2,验证rac2的字符集

最新文章

  1. 使用PushSharp给iOS应用推送消息
  2. 终于搞定office 2013中文双引号无法匹配问题啦!!!
  3. web三种跨域请求数据方法
  4. 当pip install不能正确安装的时候,try easy_install
  5. extjs在窗体中添加搜索框
  6. CentOS 6.7下iPython提示“WARNING: Readline services not available or not loaded.”的解决办法
  7. android anim 动画效果(转)
  8. 系统ls命令出现1;2cl;2cl;2cl;2c(转)
  9. HTML day03表格与表单
  10. snmp之GenericAddress
  11. JavaScript细节成败
  12. CSS奇思妙想图形(心形、气泡三角形、切角、梯形、饼图等)
  13. 《ServerSuperIO Designer IDE使用教程》-4.增加台达PLC驱动及使用教程,从0到1的改变。发布:v4.2.3版本
  14. javaEE学习路线与目标
  15. Android的LinearLayout中orientation默认值为什么是HORIZONTAL
  16. vue_条件渲染_v-if_v-else_v-show
  17. Program License Agreement updated/The updated Apple Developer Program License Agreement needs to be reviewed.
  18. 强大的xargs
  19. python模块:json
  20. 使用Quartz搭建定时任务脚手架

热门文章

  1. base64的python实现
  2. rsync 问题总结
  3. python-OS.path.join()路径拼接
  4. 图解 I帧,B帧以及P帧
  5. python从字符串内取两个符号之间的内容
  6. Android IntentFilter 匹配原则浅析
  7. git换行符问题
  8. IDEA 导入cordova3.5工程目录注意事项
  9. [Scala] Currying
  10. NSTimer循环引用的问题