Open Source in the Age of AI: Scaling Data, Defending Freedom, and Navigating the LLM Wave with Peter Zaitsev
Q1. As the co-author of High Performance MySQL and a longtime leader in database internals, you know firsthand how storage engine design dictates real-world performance. With RAG pipelines pushing massive high-dimensional vector workloads into production, what are the biggest architectural trade-offs you see when retrofitting HNSW or IVF indexes onto traditional B-tree and LSM-tree storage engines, particularly regarding memory footprint, write amplification, and hybrid query latency?
Frankly, I’m not as close to the storage engine code as I used to be, so let me take this in a slightly different direction. In a traditional relational database, we generally expect the same SQL query against the same data to give us the same answer. Adding an index changes how quickly we get that answer. With approximate vector search, the choice of index and how you tune it can also change which results you get.
That takes some getting used to, both for database engineers and for people using databases. If I ask for the ten nearest vectors, how quickly do I get an answer, and how many of the true top ten did the index find? If it found eight, that’s 80% recall for that query. As a database practitioner, I now have to decide what level of recall my application needs and what I’m willing to spend in latency and memory to get there.
The right index also depends on the workload. Can I build it once, or does it need to absorb updates in real time? How well does it perform when only part of it fits in memory? Those questions give storage engine designers a much wider range of trade-offs to explore, and I think we’ll see a lot more innovation here.
Q2. You’ve helped launch and guide multiple database-focused companies—from Percona to ClickHouse-focused Altinity. In this era of huge data and AI pipelines, do you see the market consolidating around general-purpose open-source databases adding vector/AI plugins, or is there an even greater opportunity for specialized, purpose-built open-source data engines?
I’d start one step back. I think AI’s biggest impact on databases may come from how agents build and use applications. Take database branching. Agents do a lot of trial and error, so there’s real value in being able to spin up a disposable copy of a database, try a change, and throw it away. Efficiency at the small end matters, too. Someone with no development background can now build ten applications in a day, each backed by a tiny database that sees very little traffic. What does it cost to keep all ten running?
For vector search specifically, I see room for both. If you already have an application running on PostgreSQL and want to add a little vector search, using the database you already operate makes sense. If vector search is the application and you’re pushing the limits of performance or scale, a specialized engine becomes much more attractive. That’s often where you’ll find the most advanced features first.
The bigger open question for me is what happens as agents become the primary users of databases. We’ve spent decades learning what human developers want from a database. We’re still learning which capabilities and interfaces will matter most to the agents building and running applications.
Q3. Over the last decade, open-source database companies have struggled with cloud hyperscalers monetizing their code without contributing back—leading many to switch to source-available licenses. As AI compute and data gravity become even more concentrated in the hands of a few tech giants, what sustainable business models can open-source founders rely on today?
Open source gives you a choice of business models. You still have to pick one that works. Cloud computing made some models harder to sustain and opened up others. I expect AI to do the same. It also makes it possible for people to build a lot more software, and some of that will be open source.
I’d push back on the idea that “evil” hyperscalers forced companies to change their licenses. If I release software under an open-source license, I have to expect companies to use it on those terms. Expecting them to volunteer whatever I consider their “fair share” makes about as much sense as expecting my dog to talk back to me. My advice to founders is to assume you’ll get no voluntary contributions when you decide what to release and how you’ll make money. If contributions come, that’s upside.
Where I still see a business today is in trust and accountability, especially in the enterprise. If your production database goes down, “my agent deployed the fix” is about as good an excuse as “I found the command on Stack Overflow.” Customers will pay for an engineer they trust to make that call and to stick around until the database is back up.
Things are moving too quickly for me to predict what role people will play in software engineering and operations over the long term. But I do think great open-source engineers who are willing to take responsibility for the outcome will be in demand for quite a while.
Q4. You famously taught yourself programming on paper before ever owning a computer, and you’ve always been a strong advocate for self-education and understanding how things work under the hood. How are LLMs and AI coding tools changing the way the next generation of open-source contributors learns, and do you worry that developers are losing that deep, foundational systems knowledge?
I think a top 1% engineer still needs what I’d call “X-ray vision.” When a system behaves in a surprising way, you need enough understanding of what’s happening under the hood to make a good decision or work through a really hard problem. AI changes how much detail you need to carry around in your head. You can outsource quite a bit of that to a model, but you still need a mental picture of how the pieces fit together. That’s what lets you guide it, ask the right questions, and, frankly, call bullshit when an explanation doesn’t hold up.
What I find especially interesting is how much more valuable subject matter expertise becomes when it gets easier to turn an idea into code. Over the years, I’ve known database operators who could describe a tool they wished they had, right down to how it should behave at three in the morning when something went wrong. What held them back was that they couldn’t write the code to build it. Today, if you can imagine that tool and explain how it should work, you can pretty much imagine it into existence. At least the first prototype.
Do I worry about losing foundational knowledge? I want the person debugging the hardest problems to have that X-ray vision. I also think we engineers need to accept what happens when many more people can build software. DBAs used to be shocked by how little a frontend engineer might know about database internals. Today, someone can build a useful application without even realizing there’s a database behind it.
Qx. Anything else you wish to add?
It’s an exciting and somewhat scary time for open-source databases. Almost every week I see someone on LinkedIn announcing a new database engine, tool, or major extension. Plenty of it is what you might call “AI slop.” But what I love is that someone who used to write a post saying “I wish a database could do this” can now hand you a prototype and say “Try it.” I think that will help bad ideas die faster. Sometimes five minutes with a prototype will show you a flaw that wasn’t obvious on paper. And if the idea is good, those same five minutes might convince someone to start using it.
I also expect more code to be released as open source as it gets cheaper to produce. And there’s less reason to keep the source closed if what you’re trying to protect is the idea. Someone who sees what your software does may be able to build their own version without ever seeing your code.
What worries me is how companies might respond. Copyright has long protected the code itself, and the cost of writing an independent implementation gave the original developer a practical head start. As that head start shrinks, some companies may lean more heavily on trade secrets or software patents. So the same tools that let more people try out their ideas could also give companies a stronger incentive to keep those ideas secret or restrict who can use them. That could slow down the very innovation I’m excited about.
…………………………………………………..

Peter Zaitsev is a technology entrepreneur, open-source advocate, and leading authority on database optimization and strategy. He is best known as the co-founder and former CEO of Percona, which he grew from a two-person startup into a globally recognized enterprise open-source database company. He is also a co-founder of other open-source tech companies, including Coroot and FerretDB.
Earlier in his career, Zaitsev managed the High Performance Group at MySQL AB. He is a co-author of the widely acclaimed book High Performance MySQL: Optimization, Backups, and Replication, a frequent keynote speaker at international tech conferences, and an active board member and advisor to several open-source startups