ClickHouse is a versatile database system that can be deployed in several different ways depending on your needs. At its core, all deployment options use the same powerful ClickHouse database engine – what differs is how you interact with it and where it runs. Whether you’re running large-scale analytics in production, doing local data analysis, or building applications, there’s a deployment option designed for your use case. The consistency of the underlying engine means you get the same high performance and SQL compatibility across all deployment modes. This guide explores the five main ways to deploy and use ClickHouse:Documentation Index
Fetch the complete documentation index at: https://private-7c7dfe99-page-updates.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
- ClickHouse Server for traditional client/server deployments
- ClickHouse Cloud for fully managed database operations
- ClickHouse CLI for local development and cloud management
- clickhouse-local for command-line data processing
- chDB for embedding ClickHouse directly in applications
ClickHouse Server
ClickHouse Server represents the traditional client/server architecture and is ideal for production deployments. This deployment mode provides the full OLAP database capabilities with high throughput and low latency queries that ClickHouse is known for.When it comes to deployment flexibility, ClickHouse Server can be installed on your local machine for development or testing, deployed to major cloud providers like AWS, GCP, or Azure for cloud-based operations, or set up on your own on-premises hardware. For larger scale operations, it can be configured as a distributed cluster to handle increased load and provide high availability. This deployment mode is the go-to choice for production environments where reliability, performance, and full feature access are crucial.
ClickHouse Cloud
ClickHouse Cloud is a fully managed version of ClickHouse that removes the operational overhead of running your own deployment. While it maintains all the core capabilities of ClickHouse Server, it enhances the experience with additional features designed to streamline development and operations. A key advantage of ClickHouse Cloud is its integrated tooling. ClickPipes provides a robust data ingestion framework, allowing you to easily connect and stream data from various sources without managing complex ETL pipelines. The platform also offers a dedicated querying API, making it significantly easier to build applications. The SQL Console in ClickHouse Cloud includes a powerful dashboarding feature that lets you transform your queries into interactive visualizations. You can create and share dashboards built from your saved queries, with the ability to add interactive elements through query parameters. These dashboards can be made dynamic using global filters, allowing users to explore data through customizable views – though it’s important to note that you will need at least read access to the underlying saved queries to view the visualizations. For monitoring and optimization, ClickHouse Cloud includes built-in charts and query insights. These tools provide deep visibility into your cluster’s performance, helping you understand query patterns, resource utilization, and potential optimization opportunities. This level of observability is particularly valuable for teams that need to maintain high-performance analytics operations without dedicating resources to infrastructure management. The managed nature of the service means you don’t need to worry about updates, backups, scaling, or security patches – these are all handled automatically. This makes it an ideal choice for organizations that want to focus on their data and applications rather than database administration.ClickHouse CLI
The ClickHouse CLI (clickhousectl) is a command-line tool for local ClickHouse development and ClickHouse Cloud management. It simplifies the workflow of installing ClickHouse versions, launching and managing local server instances, and running queries.
For local development, clickhousectl helps to install ClickHouse versions and run servers. You can install any ClickHouse version, spin up named servers, and connect via the built-in client. Each server gets its own data directory, so you can run multiple isolated environments side by side.
clickhousectl also provides full management of ClickHouse Cloud resources, including creating and scaling services, managing API keys, and administering organizations, making it a unified tool for both local and cloud workflows.