首页 > 数据库技术 > 详细

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

时间:2017-05-16 21:14:25      阅读:503      评论:0      收藏:0      [点我收藏+]

一、 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过程中并不会转换字符集。

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

原文:http://www.cnblogs.com/andy6/p/6863642.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!