DB2 CLOB Dbclob

Source: Internet
Author: User
Tags db2 db2 clob

DB2 has three types of large print segments:

CLOB (Character Large OBjects)

For storing single-byte strings, we should consider using CLOB when we want to save more characters than the maximum length of varchar (32K).

Dbclob (double-byte Character Large OBjects)

Dbclob storing double-byte strings

Blob (Binary Large OBjects)

BLOBs store binary strings that are suitable for storing UDTs (user-defined Distinct Types), so we can store images, sounds, and so on.

The maximum length of varchar is determined by the table space of DB2, and the size of a row of data in DB2 cannot exceed the pagesize of the table space. The Clob,dbclob and blob sizes are 2GB.

In general, to improve performance, the database needs to create a dedicated table space for large fields, and the large columns of the data table should store the data in the corresponding table space, because it is not read directly by memory (buffer pool).

DB2 CLOB Dbclob

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.