Oracle 12C 新特性之 db默认字符集AL32UTF8、PDB支持不同字符集

一、 db默认字符集AL32UTF8
Specify the database character set when you create the database. Starting from Oracle Database 12c Release 2, if you use Oracle Universal Installer (OUI) or Oracle Database Configuration Assistant (DBCA) to create a database, then the default database character set used is the Unicode character set AL32UTF8.

12.2之前版本的数据库中,数据库的默认字符集都是根据操作系统的字符集来定的。在12.2中,在安装数据库的时候,数据库默认的字符集为AL32UTF8。

二、  PDB支持不同字符集

Per-PDB Character Set的有几个前提条件:
1) CDB must be AL32UTF8
2) Application Container requires single character set
3) National character set also supported per PDB
4) Truncation of data can occur in cross-container queries if data conversion to UNICODE causes expansion

从12.2起引入新特性同一CDB中每个PDB可以使用不同的字符集,前提CDB是AL32UTF8。 如CDB是AL32UTF8,其中的PDB1为ZHS16GBK , 从其它CDB plug-in一个其他字符集的PDB也是允许的,在plug-in PDB过程中并不会转换字符集。

posted on 2017-05-16 21:02  张冲andy  阅读(3469)  评论(0编辑  收藏  举报

导航