DQC Logo
|

Connection to ClickHouse

To connect a ClickHouse database to the DQC Platform — both ClickHouse Cloud and self-hosted instances are supported — you provide a host, port, database name and credentials of a SQL user with read access. Each table in the database becomes available for data quality checks.


Add a ClickHouse connector

To begin:

  1. Go to the Connectors > Data sources screen

  2. Click the ClickHouse tile

  3. Enter the connection parameters described below


undefined Required connection information

Field

Example

Description

Name

Marketing ClickHouse

A custom name to identify this connector inside DQC

User

dqc_reader

ClickHouse user with read permissions on the target database

Password

{your password here}

Password of the ClickHouse user

Host

dqc1xx99.eu-central-1.aws.clickhouse.cloud

Hostname of the ClickHouse server. Bound to the connector and cannot be changed after creation.

Port

8443

HTTP(S) interface port. 8123 for plain HTTP, 8443 for HTTPS / ClickHouse Cloud. Bound to the connector.

Database

default

Name of the database to connect to. Defaults to default. Bound to the connector and cannot be changed after creation.

Secure connection

Enables TLS for the connection. Required for ClickHouse Cloud and any HTTPS endpoint (port 8443). Bound to the connector.


undefined ClickHouse Cloud vs. self-hosted

  • ClickHouse Cloud — host follows the pattern <id>.<region>.<provider>.clickhouse.cloud, port 8443, Secure connection enabled.

  • Self-hosted (HTTPS) — port 8443, Secure connection enabled. Make sure the certificate is trusted by DQC.

  • Self-hosted (plain HTTP) — port 8123, Secure connection disabled. Only suitable inside a private network.


undefined Permissions and network

  • Create a dedicated read-only user (e.g. dqc_reader) with SELECT permission on the target database / tables

  • If your ClickHouse instance enforces IP allow-listing, whitelist the DQC platform's outbound IP

  • DQC validates the connection by listing tables — make sure the user has SHOW TABLES privileges


undefined What gets imported

  • Every table the user can read in the configured database becomes a DQC table

  • Materialised views and dictionaries are included when readable

  • Database, host, port and TLS setting are bound to the cache and cannot be changed afterwards — create a new connector to point at a different host or database


undefined Connect and assign permissions

After saving, DQC validates the credentials, lists the available tables and lets you pick which ones to expose. To control who can use the connector inside DQC, see Data source access permissions.


Connection to ClickHouse | DQC