Using ClickHouse makes managing and analyzing large datasets faster and more efficient. It allows you to set up optimized queries, handle real-time data, and process millions of rows per second. ClickHouse ensures your data is stored and processed securely with robust encryption and security features.
Integrating your application to a ClickHouse database enables fast data storage, retrieval, and various analytical functionalities.
Authentication
Before you begin, make sure you have the following information:
Connection Name: Choose a meaningful name for your connection. This name helps you identify the connection within your application or integration settings. It could be something descriptive like "MyAppClickhouse".Host address: The ClickHouse database host’s IP address or DNS.Note
For URL-based hostnames, exclude the jdbc:clickhouse:// part. For example, if the JDBC URL is , jdbc:clickhouse://host:8443?user=default&password=<password>&ssl=true , enter the host url as host.
Port number: The port on which your Clickhouse server listens for connections. Default value: 8443.User: The authenticated user who has the permissions to read tables in your database.Password: The password for the database user.Database Name: Specify the database you want to load data from.Connection: Choose Directly, or choose Via SSH to connect to UnifyApps through an SSH tunnel instead of directly connecting to your ClickHouse database host. An SSH tunnel adds a level of security by not exposing your ClickHouse setup to the public. The SSH fields below appear when you choose Via SSH.SSH Host: Enter the hostname or IP address of the SSH server that acts as the gateway to your database.SSH port: Specify the port number on which the SSH server is listening. Default is usually 22, but it may be different for security reasons.SSH user: Provide the username for authenticating with the SSH server. This is typically the user account on the remote server with necessary permissions.RSA Private Key: Provide the RSA private key corresponding to the public key stored on the SSH server.Client certificate: Obtain a valid client certificate issued by a trusted Certificate Authority (CA).This certificate authenticates your client to the database server.SSL certificate key: This is the private key corresponding to your client certificate.Server certificate: Obtain the database server's SSL certificate. This certificate verifies the server's identity to your client. Often provided by your database administrator or hosting service.
The form also has these SSL options:
SSL Secure: Connect over an SSL encrypted connection. This is on by default.
Trust all: Forces the client to trust any certificate chain. Self-signed server certificates are supported.
Verify host: Whether to match the name stored in the server certificate against the domain name.
Actions
Action | Description |
|---|---|
| Executes a SQL statement in ClickHouse |
| Inserts a record in a table in ClickHouse |
| List all databases in ClickHouse |
| List ClickHouse tables |