SQL> show parameter cluster
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
cluster_database boolean TRUE
cluster_database_instances integer 2
cluster_interconnects string
SQL> select * from nls_database_parameters where parameter='NLS_CHARACTERSET';
PARAMETER
------------------------------
VALUE
--------------------------------------------------------------------------------
NLS_CHARACTERSET
AL32UTF8
SQL> shu immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup mount
ORACLE instance started.
Total System Global Area 6.2934E+10 bytes
Fixed Size 2268712 bytes
Variable Size 6039798232 bytes
Database Buffers 5.6774E+10 bytes
Redo Buffers 118157312 bytes
Database mounted.
SQL> alter system enable restricted session;
System altered.
SQL> show parameter job_queue_processes;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
job_queue_processes integer 1000
SQL> show parameter aq_tm_processes;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
aq_tm_processes integer 1
SQL> alter system set job_queue_processes=0;
System altered.
SQL> alter system set aq_tm_processes=0;
System altered.
SQL> alter database open;
Database altered.
SQL> alter database character set ZHS16GBK;
alter database character set ZHS16GBK
*
ERROR at line 1:
ORA-12712: new character set must be a superset of old character set
SQL> alter database character set internal_use ZHS16GBK;
alter database character set internal_use ZHS16GBK
*
ERROR at line 1:
ORA-12720: operation requires database is in EXCLUSIVE mode
SQL> alter system set cluster_database=FALSE scope=spfile sid='*';
System altered.
SQL> shu immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup restrict
ORACLE instance started.
Total System Global Area 6.2934E+10 bytes
Fixed Size 2268712 bytes
Variable Size 6039798232 bytes
Database Buffers 5.6774E+10 bytes
Redo Buffers 118157312 bytes
Database mounted.
Database opened.
SQL> alter database character set internal_use ZHS16GBK;
Database altered.
SQL> shu immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 6.2934E+10 bytes
Fixed Size 2268712 bytes
Variable Size 6039798232 bytes
Database Buffers 5.6774E+10 bytes
Redo Buffers 118157312 bytes
Database mounted.
Database opened.
SQL> select * from nls_database_parameters where parameter='NLS_CHARACTERSET';
PARAMETER
------------------------------
VALUE
--------------------------------------------------------------------------------
NLS_CHARACTERSET
ZHS16GBK
SQL> alter system set cluster_database=TRUE scope=spfile sid='*';
System altered.
SQL> shu immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> alter system set job_queue_processes=1000;
alter system set job_queue_processes=1000
*
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 8833
Session ID: 2271 Serial number: 3
SQL> startup mount
ORACLE instance started.
Total System Global Area 6.2934E+10 bytes
Fixed Size 2268712 bytes
Variable Size 6039798232 bytes
Database Buffers 5.6774E+10 bytes
Redo Buffers 118157312 bytes
Database mounted.
SQL> alter system set job_queue_processes=1000;
System altered.
SQL> show parameter aq
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
aq_tm_processes integer 0
SQL> alter system set aq_tm_processes=1;
System altered.
SQL> alter database open;
Database altered.
SQL> show parameter cluster_database
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
cluster_database boolean TRUE
cluster_database_instances integer 2
SQL> select * from nls_database_parameters where parameter='NLS_CHARACTERSET';
PARAMETER
------------------------------
VALUE
--------------------------------------------------------------------------------
NLS_CHARACTERSET
ZHS16GBK
SQL>
免责声明:
① 本站未注明“稿件来源”的信息均来自网络整理。其文字、图片和音视频稿件的所属权归原作者所有。本站收集整理出于非商业性的教育和科研之目的,并不意味着本站赞同其观点或证实其内容的真实性。仅作为临时的测试数据,供内部测试之用。本站并未授权任何人以任何方式主动获取本站任何信息。
② 本站未注明“稿件来源”的临时测试数据将在测试完成后最终做删除处理。有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
软考中级精品资料免费领
- 历年真题答案解析
- 备考技巧名师总结
- 高频考点精准押题
- 资料下载
- 历年真题
193.9 KB下载数265
191.63 KB下载数245
143.91 KB下载数1148
183.71 KB下载数642
644.84 KB下载数2756
相关文章
发现更多好内容猜你喜欢
AI推送时光机Oracle11gRAC更改字符集为ZHS16GBK的过程
数据库2024-04-02
oracle 字符集修改 AL32UTF8 改为 ZHS16GBK
数据库2014-09-09
Oracle12c DB字符集ZHS16GBK改为AL32UTF8
数据库2024-04-02
12c 数据库字符集AL32UTF8改为ZHS16GBK
数据库2024-04-02
MySQL更改默认字符集为utf-8的全过程
数据库2022-12-26
如何更改Oracle字符集以及把ZHS16GBK换成UTF8
数据库2023-06-06
mysql如何通过my.ini更改默认字符集
数据库2022-12-26
oracle更改字符集的方法是什么
数据库2024-05-14
怎么更改mysql数据库的编码字符集
数据库2024-04-02
MySQL修改字符集的实战教程
数据库2022-05-27
如何更改生产MySQL数据库库表的字符集
数据库2024-04-02
Ubuntu18.04更改apt源为阿里云源的详细过程
数据库2022-06-04
怎么修改oracle 11G的字符集、用户名区分大小写、密码过期问题
数据库2024-04-02
Python中遍历字典过程中更改元素导致异常的解决方法
数据库2022-06-04
咦!没有更多了?去看看其它编程学习网 内容吧