13 comments

  • a34729t 3 hours ago

    I'm very curious about the convergence of the best in class fast OLAP products (StarRocks, ClickHouse) with Trino. It sounds like everybody is going for decoupled compute/storage, using S3 or similar as the storage layer, and thus forgoing colocated joins (ok I know ClickHouse joins suck)...

    So what does this mean for ingestion (and indexing)? Iceberg V3? Paimon? Bespoke ingestion through the DB engine to do the indexing?

    • jimmyl02 2 hours ago

      It's also interesting how Clickhouse / Starrocks can now also act as a query planner and executor on top of non-native formats (ex. Iceberg).

      I assume the native formats will always be faster / more optimized but the need for Trino as a separate executor while running either of these databases seems to be close to gone.

      • a34729t 1 hour ago

        The benefit of StarRocks/ClickHouse over Trino is that you get secondary indices, but that means you have to do the indexing somehow.

        Native format is faster (especially for colocated joins), but it's way more expensive if you have to run a bunch of separate storage nodes vs just using S3, especially your query volume isn't that high.

        I liken it to the BigQuery cost model, where storage is effectively free.

      • efromvt 2 hours ago

        I’ve historically read this as ‘open format compatible’ but ‘native preferred’ - where this opens up market space and dev velocity - but it’ll be interesting to see if native storage differentiation gets dumped entirely. It just seems like ‘fork and optimize for our engine’ would always be tempting enough that you’d want a native play for when you don’t need the decoupling.

        • mrits 2 hours ago

          Clickhouse joins have been improving almost every month for the last couple of years. Maybe they still suck but a lot less

        • remywang 2 hours ago

          Looks like Andy's here, so if you see this - please also try to convince ClickHouse to consider funding DB research in academia. With all the money being poured into AI and the chaos in government funding, there is almost nothing for DB research anymore.

          • tomsanbear 5 hours ago

            Always enjoyed his lecture series from CMU, hopefully those continue in a sponsored format from Clickhouse.

            • apavlo 4 hours ago

              They will continue. New seminar series starts next month (announcement coming this week).

              • AbbeFaria 3 hours ago

                I “audited” CMU 15-445 in April 2026, a few months ago. I then applied to Azure Hyperscale DB team, and as my pitch to get hired I cold DM’d the hiring manager whatever I finished in the assignments (BPM, Concurrent B-tree, Transaction support etc).

                With that, I was able to get the interview although I ended up failing it. My lack of experience in C++ was probably one of the main reasons. Your course helped me stand my own during the interview and even though I had zero database experience apart from finishing the course, I felt adequately prepared.

                Thank you for making the course open source. As a working professional, it was helpful to be able to do the course on my own time. Suffice to say, I am a big fan of your work and thank you for introducing me (and other fellow learners) to the interesting world of Databases!

                • shimman 30 minutes ago

                  Why did you think it was appropriate to nag the hiring manager while you finished a MOOC?

                  • strbean 12 minutes ago

                    I read it as "After finishing the course, I DM'd the hiring manager with a list of the stuff I did for the course."

                • ibgeek 2 hours ago

                  Will you maintain a connection to CMU? If so, what will you continue doing and at what percent of effort?

                  • Your DB course is phenomenal. Thank you very much for making it available to all of us!

                • danlark1 5 hours ago

                  Congrats, that's incredible news. Watched apavlo@'s lectures while studying in the university and finished my bachelor thesis implementing features and doing research at ClickHouse. Surprised to see these worlds being together now!

                  • gavinray 4 hours ago

                    Clickhouse just became the hottest talent-attraction on the market.

                    Congrats Andy, hope you enjoy the ride =)

                    • adrianco 5 hours ago

                      Hi Andy, that’s very cool news. Will you be at the HPTS workshop in October?

                      • throwaw12 5 hours ago

                        That's great news for Clickhouse and for Andy I guess, they are both obsessed with databases and are at the cutting edge.

                        • Tostino 2 hours ago

                          Hope it goes well for you Andy. Have loved your lectures over the years.

                          Best of luck!

                          • nikhilsimha 4 hours ago

                            Congrats! Andy is incredible!

                            • sigbottle 2 hours ago

                              Yooo is this the CMU funny guy?

                              • pphysch 5 hours ago

                                > The goal of ClickHouse Labs is to establish a best-in-class industry research organization focused on databases. It will not operate as an isolated research organization that throws ideas over the wall to engineering. Instead, we will work closely with ClickHouse engineers, customers, collaborators, and industry partners to develop and disseminate new ideas that keep ClickHouse at the bleeding edge.

                                This is cool, though bittersweet that the public research infrastructure (universities) is not really configured to support this kind of high-impact research any more.

                                • Ar-Curunir 2 hours ago

                                  What do you mean? There’s plenty of high impact research on databases happening in academia. (Including, for example, Andy’s group at CMU)

                                  Also keep in mind that the part you quoted is partially marketing copy.

                                  • bootwoot 2 hours ago

                                    I take this announcement to mean he is leaving. So he's a perfect example

                                    • kenferry 1 hour ago

                                      There are areas of academia where I definitely worry about this kind of thing, but not really database research (and in general CS is a lot less worrisome than most fields).

                                      It's a good thing when industry is a competitively attractive environment for research, which is how I read this.

                                • sghiassy 5 hours ago

                                  Clickhouse Labs is a research lab for ClickHouse’s engineers and their db product?

                                  Whatever floats your boat. Sounds like you just work as an engineer at a db company

                                  • lumost 5 hours ago

                                    Deep tech fields have a more complex relationship with academia than other industries. Engineers often need license to test ideas that may not see adoption for years, or require tens of millions to build-out.

                                    A "research" arm is exactly this license, although it comes at the cost of potentially killing innovation in the rest of the company.

                                    • ForHackernews 5 hours ago

                                      C'mon, databases are great but they are not in any way a "deep tech" field. Databases exist today in a zillion production forms as commercial products and free software.

                                      Deep tech includes things like nuclear fusion, solid state batteries, quantum computers. I know everyone wants to feel cool, but just because your new javascript framework will be in beta for the next ten years doesn't make it "deep tech".

                                      • jandrewrogers 5 hours ago

                                        The databases we use today in production have severe limitations and are not even close to what is theoretically possible. Many traditional parts of a database (indexing, caching, scheduling, et al) are AI-complete algorithm problems. Entire sub-classes of database (e.g. graph or spatial) famously have persistently poor scalability and performance because of open questions in the foundational computer science.

                                        Just the fact that increasing the generality, scalability, and performance of databases asymptotically converges on designing AGI suggests that it is, in fact, "deep tech". And this property has to mesh with other practical constraints on database behavior. Many problems in databases are hard with little forward progress in decades.

                                        It is true that most database research is not deep tech but there is ample room for it to be if one is sufficiently ambitious.

                                        • andriy_koval 3 hours ago

                                          I personally built quite several specialized hyper-performant DB engines, and studied most popular OSS projects, and believe most DB questions are theoretically answered long ago(decade back). The puzzle is mostly to assemble pieces together to fit specific tradeoff of performance/simplicity/functionality and not overengineer system.

                                          • bedman12345 4 hours ago

                                            Could you explain what practical research there is to be done? The heavy theory I know does not seem to be very useful in practice. Optimal join algorithms, Yannakakis adjacent algorithms, tree decomposition of queries all seem to be worse than well implemented naive algorithms. But maybe the implementations of the new algorithms just are not good? I really don’t know.

                                            • jandrewrogers 1 hour ago

                                              There are several interesting foundational problems around scalability, generality, efficiency, and adaptability. Historically use cases haven't always been there to justify focusing on these problems but that is changing. In my opinion, some of the more important open problems:

                                              Ideally a table should be index-organized across all relevant columns. No public system works anything like this. We don't have single indexing structures that work for a collection of arbitrary types each with possibly unpredictable distributions, never mind ones that mix temporal, geometric, and other difficult types. The AI-complete nature of indexing becomes evident when you dig into this. Downstream from this is an implication of extremely granular and adaptive storage management that current storage engines aren't designed for.

                                              Tractable cache replacement algorithms are broken for many workloads and data models. These algorithms need to be very fast for search, update, and eviction selection but they are also AI-complete; improvements to generality have impractically high computational cost. Storage growth is decoupled from RAM availability thanks to disaggregation, aggravating the problem even for workloads that worked well under tractable cache replacement. In theory we know that cache admission (read: fancy latency-hiding schedules) is more robust and scales better but is so difficult to implement in non-trivial real systems that I don't think anyone has figured out how to reduce that concept to practice yet.

                                              At exabyte scales, conventional database internals have embedded assumptions that no longer hold true. For example, you cannot guarantee even "small" internal control structures are resident in memory. What used to be fairly boring internals bits in databases suddenly have to be redesigned from first principles. This is more applied than theoretical but it suggests a major change in the way we do internal architecture.

                                              Traditionally we've treated spatial and temporal locality as architecturally separate concerns. This is extremely convenient from a building real systems standpoint. Optimizing either one in isolation is adversarial to the efficiency of the other, which becomes increasingly visible as you scale up. Converging these concerns into a single "thing" almost certainly has solving the above problems as a prerequisite. If you squint, you can kind of see this as the last step before databases become literal AI.

                                              All of these have really broad scope. If we could solve even half of these open research problems the resulting database engines would be unrecognizable. There are ton of other narrower interesting research problems around data layouts, compression, join parallelism, etc that still have potential for substantial improvement.

                                              It is a great time to be doing database research, we've barely scratched the surface.

                                              • lumost 1 hour ago

                                                how do you optimally balance code generation and virtual function calling patterns for the best performance? Is there a standardized OLTP format on object storage? How do you performantly implement differential privacy policies within the db engine?

                                                Are there re-usable query primitives for extremely large scale multi-modal data? how do you scale such queries or make them efficient?

                                                The list goes on.

                                                • Ar-Curunir 2 hours ago

                                                  There is research as of last year which brings unoptimised impls of those join algorithms to “on-par” with optimized non-optimal industry impls.

                                                  There’s still research to be done in optimizing these algorithms in both theory and practice.

                                              • mamcx 1 hour ago

                                                Maybe only an OS can be close to how MUCH deep you can go with a DB engine.

                                                And I bet DB engines can go far than normal OS.

                                                You don't know how much is still waiting for somebody to try, and how much is not applied. And how many of that DBs are not even doing, because all are constrained be being "apps" with so poor interface (sql).

                                                Fun fact: Not exist a viable true relational DBs implemented, neither exist one with a viable programming language AND apis that is for developers.

                                                ZERO.

                                                • ForHackernews 1 hour ago

                                                  At the risk of arguing about semantics (and not interesting database semantics) it seems half the commenters here think "deep tech" just means "like, technology you go really super DEEP into, like really dig into that DEEP DEEP HARDCORE TECHNOLOGY"

                                                  but that's not what this term has historically meant https://en.wikipedia.org/wiki/Deep_tech

                                                  > Deep tech innovations are often radical and may create new markets or disrupt existing ones. Deep tech companies often address big societal and environmental challenges and have potential to impact everyday life. Silicon chips are an example of innovation that enabled calculation at previously unimaginable speed and scale.

                                                  Database research is good, important, critical, even! But it's not creating something new that has never existed before. It's not inventing the transistor or the integrated circuit.

                                                • lumost 5 hours ago

                                                  I'd ascribe "deep tech" to anything that you can reasonably get a PhD in and have it not be unusual. There are dozens of academic conferences on DBs pushing the frontier forward.

                                                  • fg137 4 hours ago

                                                    Don't feed the troll.

                                                    The dude doesn't know anything about databases.

                                                    • ForHackernews 2 hours ago

                                                      I know that many practical databases already exist and where I come from refining or improving something that already exists hardly qualifies as "deep tech". Is PepsiCo doing deep tech research on Crystal Pepsi?

                                                      However, the commenter I was responding to apparently considers just about _any_ research in any significant field to be deep tech so w/e I give up and I'll go update my CV to include the phrase "deep tech research"

                                                    • ForHackernews 5 hours ago

                                                      I'm very excited to keep pushing the frontiers of deep tech art history, just as soon as I complete my $150M Series B raise.

                                                      • wbl 3 hours ago

                                                        They use cyclotrons with some regularity and advanced imaging techniques.

                                                • apavlo 5 hours ago

                                                  I'm not sure what you think "research lab" means? As I mentioned in the article, we look at IBM Research (Almaden) and Microsoft Research as inspiration.

                                                  • ForHackernews 5 hours ago

                                                    Looking forward to the database analogues of IBM Watson and Tay.ai

                                                    I'm partly kidding; there's plenty of space for innovation in databases. You should sponsor https://sled.rs/

                                                    • tclancy 3 hours ago

                                                      A cobbler should stick to his last.

                                                  • jandrewrogers 5 hours ago

                                                    Many database companies have research labs. It allows you to explore ideas, unorthodox concepts, and parts of the design space that may never be reflected in an actual product. Or to figure out how to solve specific hard problems that you come across with neither a good solution nor proof of impossibility in literature.

                                                    This is essential for a company that wants to stay on the frontier of database tech.

                                                    • bedman12345 4 hours ago

                                                      Which database companies have research labs? AFAIK amazon, snowflake, databricks, google and SAP don’t have a research lab dedicated to databases. They have some people that are paid to do research but there does not seem to be an IBM Almaden anywhere in the world.

                                                      • senderista 2 hours ago

                                                        There is MongoDB Labs FWIW (also Oracle Labs but I think that's just rebranded Sun Labs and not sure how much DB research happens there).

                                                  • astrange 5 hours ago

                                                    > ClickHouse had features that at the time were only found in a handful of closed-source, commercial analytical DBMSs. For example, ClickHouse was written in C++ and supported vectorized query execution using SIMD in 2016. Most prominent open-source analytical DBMSs in 2016 were JVM-based and did not support SIMD optimizations until years later.

                                                    Performance is a feature. "Written in C++" is a strange idea of a feature.

                                                    • bijowo1676 4 hours ago

                                                      zero cost abstraction is one of the many features of C++, its just you are not familiar with the language