News for hackers. Stuff that matters.
Re:Andy Pavlo Joins ClickHouse to Establish ClickHouse Labs by ForHackernews on Monday August 03, 2026 @11:54AM (#49157446)
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".

Re:Andy Pavlo Joins ClickHouse to Establish ClickHouse Labs by jandrewrogers on Monday August 03, 2026 @12:16PM (#49157788)
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.

Re:Andy Pavlo Joins ClickHouse to Establish ClickHouse Labs by andriy_koval on Monday August 03, 2026 @01:24PM (#49158804)
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.
Re:Andy Pavlo Joins ClickHouse to Establish ClickHouse Labs by kirugan on Monday August 03, 2026 @06:55PM (#49162482)
What is the best resource for finding good academic papers on databases that are actually practical to implement?
Re:Andy Pavlo Joins ClickHouse to Establish ClickHouse Labs by andriy_koval on Tuesday August 04, 2026 @01:15PM (#49171867)
I prefer to not study databases through academic papers, I think major OSS projects(PG, Cassandra, RockDb, duckdb, ClickHouse, etc) have all/most important data structures and algorithms implemented and described way better.
Re:Andy Pavlo Joins ClickHouse to Establish ClickHouse Labs by bedman12345 on Monday August 03, 2026 @12:48PM (#49158243)
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.
Re:Andy Pavlo Joins ClickHouse to Establish ClickHouse Labs by jandrewrogers on Monday August 03, 2026 @03:29PM (#49160322)
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.

Re:Andy Pavlo Joins ClickHouse to Establish ClickHouse Labs by pdhborges on Monday August 03, 2026 @05:35PM (#49161752)
To be honest none of these problems feels remotely "solvable" beyond having a ton of knobs and engineering tradeoffs like we already have now.

In a sense they don't seem very exciting because all of this required generality.

Re:Andy Pavlo Joins ClickHouse to Establish ClickHouse Labs by lumost on Monday August 03, 2026 @03:33PM (#49160368)
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.

Re:Andy Pavlo Joins ClickHouse to Establish ClickHouse Labs by Ar-Curunir on Monday August 03, 2026 @02:26PM (#49159623)
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.

Re:Andy Pavlo Joins ClickHouse to Establish ClickHouse Labs by dgacmu on Monday August 03, 2026 @09:13PM (#49163322)
There's been a lot of fun, practical work recently on optimal join algorithms! (Full disclosure, this advisor on this paper is one of Andy and my former students, so I'm slightly biased)

RPT: https://people.iiis.tsinghua.edu.cn/~huanchen/publications/r...

Like most academic work, this one builds on some work that's been done over the last few years on ways to make the Yannakakis algorithm actually practical.

Re:Andy Pavlo Joins ClickHouse to Establish ClickHouse Labs by lumost on Monday August 03, 2026 @12:02PM (#49157572)
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.
Re:Andy Pavlo Joins ClickHouse to Establish ClickHouse Labs by ForHackernews on Monday August 03, 2026 @12:05PM (#49157616)
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.
Re:Andy Pavlo Joins ClickHouse to Establish ClickHouse Labs by wbl on Monday August 03, 2026 @02:13PM (#49159449)
They use cyclotrons with some regularity and advanced imaging techniques.
Re:Andy Pavlo Joins ClickHouse to Establish ClickHouse Labs by fg137 on Monday August 03, 2026 @12:40PM (#49158123)
Don't feed the troll.

The dude doesn't know anything about databases.

Re:Andy Pavlo Joins ClickHouse to Establish ClickHouse Labs by ForHackernews on Monday August 03, 2026 @03:11PM (#49160129)
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"

Re:Andy Pavlo Joins ClickHouse to Establish ClickHouse Labs by mamcx on Monday August 03, 2026 @03:23PM (#49160272)
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.

Re:Andy Pavlo Joins ClickHouse to Establish ClickHouse Labs by ForHackernews on Monday August 03, 2026 @03:37PM (#49160406)
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.

Re:Andy Pavlo Joins ClickHouse to Establish ClickHouse Labs by truncate on Tuesday August 04, 2026 @01:13AM (#49164560)
>> It's not inventing the transistor or the integrated circuit.

Integrated circuit on its own isn't doing anything unless used for something. Better chips enable more use-cases, more electronics etc etc. Databases in similar way are enabling more applications for users. None of the apps or services we reliably use everyday at the scale (e.g. Google Search, Online shopping, Messaging) would not exist without solid storage software.

Re:Andy Pavlo Joins ClickHouse to Establish ClickHouse Labs by ForHackernews on Tuesday August 04, 2026 @04:45AM (#49165882)
> Integrated circuit on its own isn't doing anything unless used for something

YES! YES EXACTLY!

That's part of what makes things like ICs "deep tech" - they are transformative innovations that have no immediate application so they need government or a very well-funded far-thinking private org (e.g. Bell Labs) to bring them into being. They are not like making a new, better database.

You have just reiterated my point very concisely, so thank you.

Re:Andy Pavlo Joins ClickHouse to Establish ClickHouse Labs by truncate on Tuesday August 04, 2026 @06:47PM (#49176332)
I don't think I did reiterate your point. You were saying unlike ICs, databases -- "But it's not creating something new that has never existed before".

The point I was making was like newer/better ICs pave way for new electronics/use-cases; so do better databases/storage software pave way for more new applications that wouldn't have existed before.

Re:Andy Pavlo Joins ClickHouse to Establish ClickHouse Labs by ForHackernews on Wednesday August 05, 2026 @05:46AM (#49180586)
Exactly: Making new/better ICs is not "deep tech" research.

Creating the first IC, creating the concept of an integrated circuit is deep tech research.

Re:Andy Pavlo Joins ClickHouse to Establish ClickHouse Labs by truncate on Wednesday August 05, 2026 @10:09PM (#49191583)
I guess I get what you are saying. Creating the first of its kind is "deep tech".

I really don't care about the definition or semantics here personally. I think creating first one is great, but then depending what it is creating 10th generation can also be quite a breakthrough. First IC had like 10 transistors, modern ones do billions and getting there probably require way more work, ideas and research than the original IC did. Things just don't improve in silos.