Skip to content
ClickHouse Docs
ClickHouse DocsClickHouse Docs

Data Types in ClickHouse

This section describes the data types supported by ClickHouse, for example integers, floats and strings.

Different data types can benefit from different compression codecs.

System table system.data_type_families provides an overview of all available data types. It also shows whether a data type is an alias to another data type and its name is case-sensitive (e.g. bool vs. BOOL).

Data type categories

Network types

Store IPv4 and IPv6 addresses in compact binary form.

Semi-structured types

Store evolving or heterogeneous data with JSON, Dynamic, and Variant.

Nullable and optional types

Represent missing values with Nullable, or reduce storage for repeated values with LowCardinality.

Navigation