[root@wq_bak01 ~]#
[root@wq_bak01 ~]# su - oracle
[oracle@wq_bak01 ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.4.0 Production on Sun Jan 24 10:13:16 2016
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> set linesize 200
SQL> select * from nls_database_parameters where parameter = 'NLS_CHARACTERSET';
PARAMETER VALUE
------------------------------------------------------------ --------------------------------------------------------------------------------
NLS_CHARACTERSET WE8MSWIN1252
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup mount
ORACLE instance started.
Total System Global Area 2.0444E+10 bytes
Fixed Size 2262088 bytes
Variable Size 1.0469E+10 bytes
Database Buffers 9932111872 bytes
Redo Buffers 40267776 bytes
Database mounted.
SQL> alter session set sql_trace=true;
Session altered.
SQL> alter system enable restricted session;
System altered.
SQL> show parameter job_queue_processes;
NAME TYPE VALUE
------------------------------------ ---------------------- ------------------------------
job_queue_processes integer 1000
SQL> alter system set aq_tm_processes=0;
System altered.
SQL> alter database open;
Database altered.
SQL> alter database character set INTERNAL_USE AL32UTF8;
Database altered.
SQL> select * from nls_database_parameters where parameter = 'NLS_CHARACTERSET';
PARAMETER
------------------------------------------------------------
VALUE
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
NLS_CHARACTERSET
AL32UTF8
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup mount
ORACLE instance started.
Total System Global Area 2.0444E+10 bytes
Fixed Size 2262088 bytes
Variable Size 1.0469E+10 bytes
Database Buffers 9932111872 bytes
Redo Buffers 40267776 bytes
Database mounted.
SQL> alter system set job_queue_processes=1000;
System altered.
SQL> alter database open;
Database altered.
SQL> select * from nls_database_parameters where parameter='NLS_CHARACTERSET';
PARAMETER
------------------------------------------------------------
VALUE
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
NLS_CHARACTERSET
AL32UTF8
SQL> show parameter job_queue_processes;
NAME TYPE VALUE
------------------------------------ ---------------------- ------------------------------
job_queue_processes integer 1000
[root@wq_bak01 ~]# su - oracle
[oracle@wq_bak01 ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.4.0 Production on Sun Jan 24 10:13:16 2016
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> set linesize 200
SQL> select * from nls_database_parameters where parameter = 'NLS_CHARACTERSET';
PARAMETER VALUE
------------------------------------------------------------ --------------------------------------------------------------------------------
NLS_CHARACTERSET WE8MSWIN1252
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup mount
ORACLE instance started.
Total System Global Area 2.0444E+10 bytes
Fixed Size 2262088 bytes
Variable Size 1.0469E+10 bytes
Database Buffers 9932111872 bytes
Redo Buffers 40267776 bytes
Database mounted.
SQL> alter session set sql_trace=true;
Session altered.
SQL> alter system enable restricted session;
System altered.
SQL> show parameter job_queue_processes;
NAME TYPE VALUE
------------------------------------ ---------------------- ------------------------------
job_queue_processes integer 1000
SQL> alter system set aq_tm_processes=0;
System altered.
SQL> alter database open;
Database altered.
SQL> alter database character set INTERNAL_USE AL32UTF8;
Database altered.
SQL> select * from nls_database_parameters where parameter = 'NLS_CHARACTERSET';
PARAMETER
------------------------------------------------------------
VALUE
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
NLS_CHARACTERSET
AL32UTF8
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup mount
ORACLE instance started.
Total System Global Area 2.0444E+10 bytes
Fixed Size 2262088 bytes
Variable Size 1.0469E+10 bytes
Database Buffers 9932111872 bytes
Redo Buffers 40267776 bytes
Database mounted.
SQL> alter system set job_queue_processes=1000;
System altered.
SQL> alter database open;
Database altered.
SQL> select * from nls_database_parameters where parameter='NLS_CHARACTERSET';
PARAMETER
------------------------------------------------------------
VALUE
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
NLS_CHARACTERSET
AL32UTF8
SQL> show parameter job_queue_processes;
NAME TYPE VALUE
------------------------------------ ---------------------- ------------------------------
job_queue_processes integer 1000
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/27039319/viewspace-1981419/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/27039319/viewspace-1981419/