ClickHouse


ClickHouse is an open-source column-oriented DBMS for online analytical processing.
ClickHouse was developed by the Russian IT company Yandex for the Yandex.Metrica web analytics service. ClickHouse allows analysis of data that is updated in real time. The system is marketed for high performance.
The project was released as open-source software under the Apache 2 license in June 2016.
ClickHouse is used by the Yandex.Tank load testing tool. Yandex.Market uses ClickHouse to monitor site accessibility and KPIs. ClickHouse was also implemented at CERN’s LHCb experiment to store and process metadata on 10 billion events with over 1000 attributes per event, and Tinkoff Bank uses ClickHouse as a data store for a project.

History

Yandex.Metrica previously used a classical approach, when raw data was stored in aggregated form. This approach can help reduce the amount of stored data. However, it has several limitations and disadvantages:
A different approach is to store unaggregated data. Processing raw data requires a high-performance system, since all calculations are made in real time. To solve this problem, a column-oriented DBMS is needed that can handle analytical data on the scale of the entire Internet. Yandex began developing its own.
The first ClickHouse prototype appeared in 2009. By the end of 2014, Yandex.Metrica version 2.0 was released. The new version has an interface for creating custom reports and uses ClickHouse for storing and processing data.

Features

The main features of the ClickHouse DBMS are:
ClickHouse has some features that can be considered disadvantages:
ClickHouse was designed for OLAP queries.
One of the common cases for ClickHouse is server log analysis. After setting regular data uploads to ClickHouse, it's possible to analyze incidents with instant queries or monitor a service's metrics, such as error rates, response times, and so on.
ClickHouse can also be used as an internal data warehouse for in-house analysts. ClickHouse can store data from different systems and analysts can build internal dashboards with the data or perform real-time analysis for business purposes.

Benchmark results

According to benchmark tests conducted by developers, for OLAP queries ClickHouse is more than 100 times faster than Hive or MySQL.