简体   繁体   English

CLOB 和 NCLOB 有什么区别?

[英]What is the difference between CLOB and NCLOB?

你能说出 CLOB 和 NCLOB 之间的任何区别吗?

A CLOB stores character data encoded in the database character set. CLOB 存储在数据库字符集中编码的字符数据。 A NCLOB stores character data encoded in the national character set NCLOB 存储以国家字符集编码的字符数据

SELECT parameter, value
  FROM v$nls_parameters
 WHERE parameter LIKE '%CHARACTERSET'

will show you the database and national character sets of your database.将显示您的数据库的数据库和国家字符集。

BLOB, CLOB, NCLOB and BFILE The built-in LOB data types BLOB, CLOB and NCLOB (stored internally), and BFILE (stored externally), can store large and unstructured data such as text, images and spatial data up to 4 gigabytes in size. BLOB、CLOB、NCLOB 和 BFILE 内置的 LOB 数据类型 BLOB、CLOB 和 NCLOB(内部存储)和 BFILE(外部存储)可以存储大型非结构化数据,例如文本、图像和空间数据,最大为 4 GB尺寸。

BLOB BLOB

The BLOB data type stores binary large objects. BLOB 数据类型存储二进制大对象。 BLOB can store up to 4 gigabytes of binary data. BLOB 最多可以存储 4 GB 的二进制数据。

CLOB CLOB

The CBLOB data type stores character large objects. CBLOB 数据类型存储字符大对象。 CLOB can store up to 4 gigabytes of character data. CLOB 最多可以存储 4 GB 的字符数据。

NCLOB NCLOB

The NCBLOB data type stores character large objects in multibyte national character set. NCBLOB 数据类型以多字节国家字符集存储字符大对象。 NCLOB can store up to 4 gigabytes of character data. NCLOB 最多可以存储 4 GB 的字符数据。

BFILE文件

The BFILE data type enables access to binary file LOBs that are stored in file systems outside the Oracle database. BFILE 数据类型允许访问存储在 Oracle 数据库之外的文件系统中的二进制文件 LOB。 A BFILE column stores a locator, which serves as a pointer to a binary file on the server's file system. BFILE 列存储一个定位器,它用作指向服务器文件系统上的二进制文件的指针。 The maximum file size supported is 4 gigabytes.支持的最大文件大小为 4 GB。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM