Home / Companies / ClickHouse / Blog / Post Details
Content Deep Dive

Running ClickHouse on an Android phone

Blog post from ClickHouse

Post Details
Company
Date Published
Author
Alexander Kuzmenkov
Word Count
1,725
Company Posts That Month
1
Language
English
Hacker News Points
-
Post removed?
No
Summary

This experiment involves building and running ClickHouse, a columnar SQL database management system, on an Android smartphone. The author's goal is to demonstrate that ClickHouse can be used on smaller scales, such as mobile devices, despite its typical use on large clusters of machines. The process involved several challenges, including overcoming compatibility issues with the Linux kernel, Android linker, and third-party libraries. After setting up a cross-compiled build environment using the Android NDK, the author was able to run ClickHouse on their phone, achieving performance comparable to smaller laptops. However, some queries were slowed down by memory constraints, and debugging revealed a segfault in the `unw_backtrace` function, which is used for profiling. Despite these challenges, the experiment demonstrates that ClickHouse can be used on Android smartphones, making it easier for users to benchmark their devices' performance without needing specialized hardware.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Real-time 2 687 243 78 +6%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.