Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K

    ClickHouse Blog

    clickhouse.com · Company blog · on HN since 2021

    ClickHouse's company blog covers its open-source analytics database, with engineering posts on performance, large deployments and new features.

    Visit blogHN submissions
    DatabasesSystems & PerformanceOpen Source & Linux
    What HN says

    HN commenters describe ClickHouse as a fast, open-source OLAP database, while one dislikes the curl-pipe-to-shell install command.

    Stats for nerds
    281HN people shared it
    480linked in comments
    4.5Kstory points
    Jul 2026last shared
    2022people per year2026

    Top posts on HN

    1. 1
      28M Hacker News comments as vector embedding search dataset
      1 person · 454 points · first shared 2025 · 171 comments on HN
    2. 2
      A new JSON data type for ClickHouse
      4 people · 382 points · first shared 2024 · 122 comments on HN
    3. 3
      ClickHouse gets lazier and faster: Introducing lazy materialization
      1 person · 366 points · first shared 2025 · 122 comments on HN
    4. 4
      ClickHouse Cloud is now in Public Beta
      1 person · 278 points · first shared 2022 · 163 comments on HN
    5. 5
      Optimizing ClickHouse for Intel's ultra-high core count processors
      1 person · 225 points · first shared 2025 · 51 comments on HN
    6. 6
      Scaling our observability platform by embracing wide events and replacing OTel
      2 people · 211 points · first shared 2025 · 108 comments on HN
    7. 7
      A year of Rust in ClickHouse
      4 people · 136 points · first shared 2025 · 94 comments on HN
    8. 8
      When Sigterm Does Nothing: A Postgres Mystery
      4 people · 133 points · first shared 2025 · 34 comments on HN
    9. 9
      What's New in ClickHouse 21.12
      1 person · 133 points · first shared 2021 · 55 comments on HN
    10. 10
      ClickHouse acquires LibreChat, open-source AI chat platform
      4 people · 132 points · first shared 2025 · 40 comments on HN

    What HN people wrote when they linked it

    • ebfe1Dec 2023

      Lovely! I only learnt today that clickhouse has a git-import tool from my colleagues at ClickHouse. So if you also want to give it a go:

      Download clickhouse:
      curl https://clickhouse.com/ | sh

      Check out documentation for git-import:
      ./clickhouse git-import --help

      Then the tool can be run directly inside the git repository.
      It will collect data like commits, file changes and changes of every
      line in every file for further analysis.
      It works well even on largest repositories like Linux or Chromium.

      Example of a trivial query:

      SELECT author AS k, count() AS c FROM line_changes WHERE
      file_extension IN ('h', 'cpp') GROUP BY k ORDER BY c DESC LIMIT 20

      Example of some non-trivial query - a matrix of authors, how much code
      of one author is removed by another:

      SELECT k, written_code.c, removed_code.c,
      round(removed_code.c * 100 / written_code.c) AS remove_ratio
      FROM (
      SELECT author AS k, count() AS c
      FROM line_changes
      WHERE sign = 1 AND file_extension IN ('h', 'cpp')
      AND line_type NOT IN ('Punct', 'Empty')
      GROUP BY k
      ) AS written_code
      INNER JOIN (
      SELECT prev_author AS k, count() AS c
      FROM line_changes
      WHERE sign = -1 AND file_extension IN ('h', 'cpp')
      AND line_type NOT IN ('Punct', 'Empty')
      AND author != prev_author
      GROUP BY k
      ) AS removed_code USING (k)
      WHERE written_code.c > 1000
      ORDER BY c DESC LIMIT 500

    • valyalaApr 2022

      > I can't find any other open source time series database except Mimir/Cortex which allows this much scale (clustering options in their open source version)

      The following open source time series databases also can scale horizontally to many nodes:

      - Thanos - https://github.com/thanos-io/thanos/

      - M3 - https://github.com/m3db/m3

      - Cluster version of VictoriaMetrics - https://docs.victoriametrics.com/Cluster-VictoriaMetrics.html (I'm CTO at VictoriaMetrics)

      > Can we use Prometheus/Mimir as general purpose time series database?

      This depends on what do you mean under "general purpose time series database". Prometheus/Mimir are optimized for storing (timestamp, value) series where timestamp is a unix timestamp in milliseconds and value is a floating-point number. Each series has a name and can have arbitrary set of additional (label=value) labels. Prometheus/Mimir aren't optimized for storing and processing series of other value types such as strings (aka logs) and complex datastructures (aka events and traces).

      So, if you need storing time series with floating-point values, then Prometheus/Mimir may be a good fit. Otherwise take a look at ClickHouse [1] - it can efficiently store and process time series with values of arbitrary types.

      [1] https://clickhouse.com/

    • rtangiralaNov 2023

      ClickHouse | REMOTE| FULL-TIME| Various locations globally

      ClickHouse is the fastest and most resource efficient open-source database for real-time apps and analytics. Our engineering teams invest heavily in improving the most loved ClickHouse open source project as well as building ClickHouse Cloud a fully cloud Native SAAS offering with separation of compute and storage. We are a globally diverse and distributed team, united behind a common goal of creating industry-leading, real-time analytics. Here, you will have an opportunity to solve some of the most cutting edge technical challenges and have direct ownership of your work and vision. If you are a contributor by nature, a thinker as well as a doer - we’ll definitely click!

      Lot of engineering positions open across different teams- please apply on our website: https://clickhouse.com/company/careers

    • tdaFeb 2024

      Yep, that trusty simple algorithm always works. I have some grafana dashboards that plot a lot of 3D data (x,y,z lines coloured by some sensor readings) using a plotly plugin. I can't pre-aggregate too much in the database, or I'll loose too much detail. So I ended up adding a little ad-hoc js implementation to reduce my number of points by a factor ten on the fly for plotting, works great.

      I was just about to write down that it would be too difficult to de RDP simplification in the (ClickHouse) database, but then I recalled PostGIS has it built in and low and behold, there is also something in ClickHouse for this [0]. Back to the drawing board.

      [0] https://clickhouse.com/codebrowser/ClickHouse/contrib/boost/boost/geometry/strategies/agnostic/simplify_douglas_peucker.hpp.html

    • nsguyApr 2024

      There are various knobs in ClickHouse that allow you to trade memory usage for performance. ( https://clickhouse.com/docs/en/operations/settings/query-complexity#settings-max_bytes_before_external_group_by e.g.)

      But yes, I've seen similar issues, running out of memory during query processing, it's a price you pay for higher performance. You need to know what's happening under the hood and do more work to make sure your queries will work well. I think postgres can be a thousand or more times slower, and doesn't have the horizontal scalability, so if you need to do complex queries/aggregations over billions of records then "return result" doesn't cut it. If postgres addresses your needs then great- you don't need to use ClickHouse...

    • supercoco9Nov 2023

      Hi. Sorry if my query offended you.

      I basically executed literally what Clickhouse recommends at their guides for deduplication https://clickhouse.com/docs/en/guides/developer/deduplication.

      Of course you can also materialize with aggregations or just use a group by, or even force optimize of the table. But my point is that you don't really get exactly once guarantees. Whoever is querying that table needs to be aware than a `SELECT * FROM tb` might contain duplicates and needs to adapt their queries accordingly.

    Related

    Altinity Blogaltinity.com49 people

    ClickHouse cost-efficiency in action: analyzing 500B rows on an Intel NUC

    Altinity Blog
    Company · last shared 2026
    VictoriaMetrics Blogvictoriametrics.com37 people

    Graceful Shutdown in Go: Practical Patterns

    VictoriaMetrics Blog
    Company · last shared 2026
    Databricks Blogdatabricks.com298 people

    DBRX: A new open LLM

    Databricks Blog
    Company · last shared 2026
    InfluxData Bloginfluxdata.com118 people

    Open source takes continued investment, and that must be subsidized somehow

    InfluxData Blog
    Company · last shared 2026
    QuestDB Blogquestdb.io62 people

    The Billion Row Challenge (1BRC) – Step-by-Step from 71s to 1.7s

    QuestDB Blog
    Company · last shared 2026
    Reddit Blogredditblog.com163 people

    How We Built r/Place

    Reddit Blog
    Company · last shared 2021
    Sourcegraph Blogabout.sourcegraph.com156 people

    An ex-Googler’s guide to dev tools

    Sourcegraph Blog
    Company · last shared 2024
    Uber Engineering Blogeng.uber.com525 people

    Why Uber Engineering Switched from Postgres to MySQL

    Uber Engineering Blog
    Company · last shared 2025