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
    A

    Altinity Blog

    altinity.com · Company blog · on HN since 2018

    Altinity, a ClickHouse services company, publishes technical posts on ClickHouse features, encodings, indexing, and cost-efficiency benchmarks.

    Visit blogHN submissions
    DatabasesSystems & PerformanceData & Visualization
    What HN says

    HN commenters link it for ClickHouse details such as codecs and skip indexes, and mention Altinity as a long-time enterprise ClickHouse support provider.

    Stats for nerds
    49HN people shared it
    36linked in comments
    428story points
    May 2026last shared
    2018people per year2026

    Top posts on HN

    1. 1
      ClickHouse cost-efficiency in action: analyzing 500B rows on an Intel NUC
      2 people · 216 points · first shared 2020 · 86 comments on HN
    2. 2
      Migrating from Redshift to ClickHouse
      1 person · 73 points · first shared 2019 · 13 comments on HN
    3. 3
      ClickHouse Is Apache 2.0
      2 people · 22 points · first shared 2021 · Discussion on HN
    4. 4
      I There Future for Databases Beyond the Cloud?
      1 person · 14 points · first shared 2019 · Discussion on HN
    5. 5
      ClickHouse for Time Series
      5 people · 12 points · first shared 2018 · Discussion on HN
    6. 6
      Database on Fire: Reflections on Embedding ClickHouse in Firebolt
      3 people · 12 points · first shared 2022 · Discussion on HN
    7. 7
      What We Learned by Closing a $4M Investment from Accel
      1 person · 11 points · first shared 2020 · Discussion on HN
    8. 8
      Too Wide or Not Too Wide – That Is the ClickHouse Question
      2 people · 6 points · first shared 2022 · Discussion on HN
    9. 9
      Unraveling the Mystery of Idle Threads in ClickHouse
      1 person · 6 points · first shared 2024 · 2 comments on HN
    10. 10
      ClickHouse Object Storage Performance Benchmarking: MinIO vs. AWS S3
      1 person · 6 points · first shared 2021 · Discussion on HN

    What HN people wrote when they linked it

    • valyalaMay 2026

      VictoriaMetrics CTO here.

      We at VictoriaMetrics took another approach. We tried using ClickHouse as a database for metrics in 2017, but then decided implementing a specialized database for metrics. This database uses ClickHouse architecture ideas for achieving the best performance and the lowest resource usage. The main difference between ClickHouse and VictoriaMetrics is that VictoriaMetrics is optimized solely for typical observability tasks. It supports all the popular data ingestion protocols, it provides promql-compatible querying API, it provides Graphite-compatible querying API, it provides Prometheus-compatible service discovery and relabeling, it provides Prometheus-compatible alerting and recording rules. It provides built-in web UI for quick exploration and analysis of the ingested metrics, with the ability to investigate the source of high cardinality. It consists of a single small executable (~20MB) without external dependencies with minimum configs and minimum maintenance. See https://altinity.com/wp-content/uploads/2021/11/How-ClickHouse-Inspired-Us-to-Build-a-High-Performance-Time-Series-Database.pdf for more details.

      We used the same approach for building VictoriaLogs - a specialized database for logs. It uses the most appropriate architecture ideas from ClickHouse for achieving high performance and low resource usage. It is schemaless and zero-config. It contains of a single small executable without external dependencies. It accepts logs via popular data…

    • zepearlFeb 2021

      > That's a savings of something like 10% over the whole dataset.

      Sorry, I'm probably misunderstanding you - I'm not sure about that "10%", what does it it refer to?

      Anyway, I do like a lot in Clickhouse to be able to chain codecs (I personally like to think about "Delta/DoubleDelta/Gorilla/T64 codecs" being "encodings" and the "general purpose codecs LZ4/LZ4HC/ZSTD" being "compression codecs").

      I don't have a good math background => about Delta & DoubleDelta I liked this explanation ( https://altinity.com/blog/2019/7/new-encodings-to-improve-clickhouse ) which defines "delta" as tracking "distance" and "doubledelta" tracking "acceleration" between consecutive column values.

      In the end I tested, using relatively small datasets (which were different between usecases), all combinations of encodings (delta/doubledelta/gorilla/t64) and ZSTD-compression levels (mostly 1/3/9) (I ignored LZ4*).

      - "Delta"&"DoubleDelta" were often interesting (but in general for my data using "Delta"+ZSTD was already good enough compared to the rest).

      - "Gorilla" somehow never gave me any benefits if compared to other codecs and/or compression algos.

      - "T64" is a bit a mistery for me, anyway in some tests it delivered excellent results compared to the other combinations, therefore I'm currently using just T64 for some columns, and for some other columns as T64+ZSTD(9).

      EDIT: sorry, I think I got it - you probably meant something like "just by doing that on that specific column, the overall…

    • qoegaOct 2022

      You can't post results of TPC benchmarks without official audit. So it complicates posting results. You can't find common names that are usually compared with ClickHouse there [1]. So open standardized ClickBench tries to encourage benchmarking for everyone.

      There are numerous benchmarks that use similar to TPC queries, but those are not standardized and can be misleading. For example a lot of work was done by Fivetran to get this report [0], but they show only overall geomean for those systems and you can't understand how they actually differ. Anyway their queries are not original TPC - variables are fixed in queries, they run first query when official query is a multiquery.

      Contributors from Altinity run SSB with flattened and original schemas [2]. SSB is not well standardized and we see a lot of pairwise comparisons with controversial results - generally you can't just reproduce them and get all the results in single place for the same hardware.

      [0] https://www.fivetran.com/blog/warehouse-benchmark
      [1] https://www.tpc.org/tpcds/results/tpcds_results5.asp?orderby=dbms&version=3
      [2] https://altinity.com/blog/clickhouse-nails-cost-efficiency-challenge-against-druid-rockset

    • akulkarniJul 2020

      Thanks for the thoughtful response.

      On the compression point:

      - I believe the Altinity Benchmarks [0] are from 2018, on TimescaleDB 0.12.1. TimescaleDB has gotten much better since then (now on version 1.7.2), and most notably, offers native compression now (it did not then).

      - I believe manigandham's 70% comment is more of an offhand estimate and not a concrete benchmark. But perhaps he can weigh in. :-)

      - Re: compression algorithms, TimescaleDB now employs several best-in-class algorithms, including delta-delta, gorilla, Simple-8b RLE. Much more than just LZ4. [1]

      Overall, I don't think anyone has done a real storage comparison between TimescaleDB and Clickhouse since we launched native compression. It's on our todo list, but we also welcome external benchmarks. But based on what we've found versus similar systems, I suspect our storage usage would be really similar.

      [0] https://www.altinity.com/blog/clickhouse-for-time-series

      [1] https://blog.timescale.com/blog/time-series-compression-algorithms-explained/

    • ryanboozOct 2021

      1) you're absolutely right. 5k rows isn't "large". We also mentioned that we did hundreds of tests often going between 5k and 15k rows/batch. The overall ingest/query cycle didn't change dramatically in any of these. That is, 5k rows was within a few percentage of 10k rows. Interestingly, the benchmarks that Altinity has, only used 10k rows/sec (which we also did, it just didn't have any major impact in the grand scheme of things).

      2) We did not specifically call OPTIMIZE before running queries. Again, learning from the leaders at Altinity and their published benchmarks, I don't see any references that they did either, and neither does the TSBS code appear to call it after ingest.

      Happy to try both of these during our live stream next week to demonstrate and learn!

      Altinity benchmark (10k rows/batch mention): https://altinity.com/blog/clickhouse-for-time-series

    • champtarJan 2020

      One of the best 2h practical course that I had was just write the fastest square matrix multiplication. You could use any language, any algorithm, just no libraries. The target was a 32 core CPU server (this was ~10 years ago). At 5000x5000 all the Java and Python attempts were running out of memory. In C, We tried some openmp, some optimized algorithm, but in the end the best trick was to flip one of the matrix so that memory could be always prefetched. Out of curiosity another student tried GNU Scientific Library, it turned out to be ~100 times faster. My take away was find the right tool for the job!

      A fun read on cloud scale vs optimized code is this recent article comparing ClickHouse and ScyllaDB (https://www.altinity.com/blog/2020/1/1/clickhouse-cost-efficiency-in-action-analyzing-500-billion-rows-on-an-intel-nuc)

    Related

    ClickHouse Blogclickhouse.com281 people

    28M Hacker News comments as vector embedding search dataset

    ClickHouse Blog
    Company · last shared 2026
    Timescale Blogblog.timescale.com95 people

    How percentile approximation works and why it's more useful than averages

    Timescale Blog
    Company · last shared 2022
    InfluxData Bloginfluxdata.com118 people

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

    InfluxData 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
    Uber Engineering Blogeng.uber.com525 people

    Why Uber Engineering Switched from Postgres to MySQL

    Uber Engineering Blog
    Company · last shared 2025
    Codeship Blogblog.codeship.com138 people

    Crystal: Fast as C, Slick as Ruby

    Codeship Blog
    Company · last shared 2020
    VoltDB Blogvoltdb.com47 people

    FoundationDB's Lesson: A Fast Key-Value Store Is Not Enough

    VoltDB Blog
    Company · last shared 2021