ClickHouse
ClickHouse® is a high-performance, column-oriented SQL database designed for online analytical processing (OLAP) workloads.
Supported Versions and Architectures
- Versions: ClickHouse v21.x and above
- Architectures: Standalone and cluster deployments
Supported Data Types
Category | Data Types |
---|---|
Numeric Types | Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64, Float32, Float64, Decimal |
String Types | String, FixedString |
Date & Time Types | Date, DateTime, DateTime64 |
Boolean Type | Bool |
Array & Tuple Types | Array, Tuple |
Special Types | UUID, Enum, Nullable |
Quick Setup Guide
1. Enable Access Control
Enable access control in ClickHouse configuration and restart the service.
2. Create Database User
CREATE USER xpipes HOST ANY IDENTIFIED WITH sha256_password BY 'your_password';
3. Grant Permissions
GRANT SELECT, INSERT, CREATE TABLE, ALTER TABLE, ALTER UPDATE, DROP TABLE, TRUNCATE
ON your_database.* TO xpipes;
Limitations
- Binary fields: Binary data types must be excluded via field mapping
- HTTP port: Uses HTTP API (default port 8123, SSL port 8443)