ClickHouse Enterprise Edition unlocks advanced security, replication, and observability features beyond the open-source build.
Enterprise Edition (EE) ships proprietary extensions such as LDAP/SSO, Role-Based Access Control (RBAC), advanced compression, built-in data masking, and simplified multi-AZ replication. These features harden security and reduce operational toil for production analytics workloads.
Obtain a license from ClickHouse Inc., download the EE binary matching your OS, and replace the open-source server package. Preserve your config.xml
and users.xml
files; restart the daemon to activate EE.The license key lives in /etc/clickhouse-server/license.xml
.
Use the ReplicatedMergeTree
engine with ZooKeeper paths. EE simplifies this by auto-creating ZooKeeper nodes when allow_experimental_auto_zookeeper = 1
is set.
CREATE TABLE Orders ON CLUSTER company_cluster
(
id UInt64,
customer_id UInt64,
order_date DateTime,
total_amount Decimal(10,2)
)
ENGINE = ReplicatedMergeTree('/clickhouse/tables/{shard}/orders', '{replica}')
PARTITION BY toYYYYMM(order_date)
ORDER BY id;
EE lets you define policies that filter data per user or role.Create a policy, then attach it:
CREATE ROW POLICY customer_only ON Orders
FOR SELECT USING customer_id = currentUserID();
ALTER ROW POLICY customer_only ON Orders TO ROLE analytics_role;
See the next section for full syntax with e-commerce tables.
Select EE when you need audited security, simplified replication across regions, built-in data obfuscation, or 24×7 vendor support.OSS is fine for internal prototyping or non-critical apps.
Scroll down for pitfalls and quick fixes.
.
No. Core SQL stays identical. EE only adds security and admin statements.
Yes. Remove the EE package and install the open-source binary. Ensure EE-only configs are cleaned up first.
All standard drivers (HTTP, TCP) work unchanged.