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