{"schemaVersion":1,"id":"clickhouse","name":"ClickHouse","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/clickhouse/","officialUrl":"https://github.com/ClickHouse/ClickHouse","isCatalog":false,"description":"A column-oriented SQL database for analytical queries: it helps process large event datasets and embedded product analytics.","tasks":["Analyze large event datasets through SQL","Upload sample events and build SQL aggregations for the required product metrics"],"categoryIds":["backend"],"subcategoryIds":["backend.databases"],"tags":["ClickHouse","database","Development"],"aliases":["ClickHouse/ClickHouse","clickhouse","clickhouse-db","clickhouse-database"],"platforms":[],"stack":[],"compatibility":null,"pricing":"free","freeUsage":"Code and local use under Apache-2.0.","paidUsage":"Computing resources, self-hosting, and external services are paid for separately if used.","license":"Apache-2.0 for the code; third-party components retain their own terms.","selectionGuide":{"purpose":"Analyze large event datasets through SQL","chooseWhen":["Analyze large event datasets through SQL","Upload sample events and build SQL aggregations for the required product metrics"],"considerInstead":["When choosing for this topic, compare ClickHouse with Apache Superset. A candidate to compare under the topic: Databases. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.","When choosing for this topic, compare ClickHouse with DuckDB. A candidate to compare under the topic: Databases. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together."],"requirements":[],"limitations":["Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.","Terms of use: Apache-2.0 for the code; third-party components retain their own terms.","The tutorial recommends querying only required columns rather than frequently using SELECT *."],"faq":[{"question":"What can you use for free in ClickHouse?","answer":"Code and local use under Apache-2.0."},{"question":"What additional costs might arise with ClickHouse?","answer":"Computing resources, self-hosting, and external services are paid for separately if used."},{"question":"What terms of use matter for ClickHouse?","answer":"Apache-2.0 for the code; third-party components retain their own terms."},{"question":"How do you get started with ClickHouse?","answer":"Define an event table with suitable types and storage order. Upload sample events and build SQL aggregations for the required product metrics. Check schema changes, indexes, and data recovery."},{"question":"How can I enrich analytical queries with reference data?","answer":"The official tutorial demonstrates data loading, GROUP BY, and JOIN, plus an in-memory dictionary with an HTTP CSV source. dictGet and its variants retrieve values by key; dictHas checks existence. LIFETIME controls dictionary refresh; 0 disables automatic refresh."}],"related":[{"id":"apache-superset","reason":"A candidate to compare under the topic: Databases. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together."},{"id":"duckdb","reason":"A candidate to compare under the topic: Databases. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together."},{"id":"metabase","reason":"A candidate to compare under the topic: Databases. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together."}],"sources":["https://github.com/ClickHouse/ClickHouse","https://raw.githubusercontent.com/ClickHouse/ClickHouse/HEAD/README.md","https://raw.githubusercontent.com/ClickHouse/ClickHouse/HEAD/LICENSE","https://www.open-source-tools.com/","https://clickhouse.com/docs/getting_started/tutorial/"]},"selectionCheckedAt":null,"applicationGuide":{"goal":"Analyze large event datasets through SQL.","inputs":["A schema, test dataset, and queries.","A supported database or runtime."],"steps":["Define an event table with suitable types and storage order.","Upload sample events and build SQL aggregations for the required product metrics.","Check schema changes, indexes, and data recovery."],"checks":["Query results match the reference data.","Check access permissions, backup recovery, and load before production use."]},"sources":["https://github.com/ClickHouse/ClickHouse","https://raw.githubusercontent.com/ClickHouse/ClickHouse/HEAD/README.md","https://raw.githubusercontent.com/ClickHouse/ClickHouse/HEAD/LICENSE","https://www.open-source-tools.com/","https://clickhouse.com/docs/getting_started/tutorial/"],"checkedAt":"2026-10-06","reviewScope":"The purpose, current repository license, and separate terms for code, services, and models have been reviewed. The product was not run, and no security audit was performed.","relatedIds":["github-com-clickhouse-agent-skills","github-com-clickhouse-mcp-clickhouse","metabase","apache-superset","duckdb"],"dataVersion":"cbbe7123b47a5ae80983","type":"Database / data tool","kind":"tool","pricingNote":"Code and local use under Apache-2.0. Computing resources, self-hosting, and external services are paid for separately if used.","notes":null,"labeledSources":[{"url":"https://github.com/ClickHouse/ClickHouse","label":"Official source"},{"url":"https://raw.githubusercontent.com/ClickHouse/ClickHouse/HEAD/README.md","label":"Official source"},{"url":"https://raw.githubusercontent.com/ClickHouse/ClickHouse/HEAD/LICENSE","label":"License"},{"url":"https://www.open-source-tools.com/","label":"Catalog / discovery source"},{"url":"https://clickhouse.com/docs/getting_started/tutorial/","label":"Official source"}],"licenseGuides":[{"id":"apache-2","title":"Apache 2.0 — permissive license with patent terms","scope":null,"summary":"You can use and modify the code in commercial and closed-source projects. When distributing it, retain the license and relevant notices, identify modified files, and include NOTICE if provided. Authors grant a limited patent license for their contributions; it does not grant permission to use trademarks.","url":"https://www.apache.org/licenses/LICENSE-2.0"}],"entryIds":[],"composition":null}