Saturday, November 7, 2026

Next-Level Benchmarking Overfitting

In my recent blog post I remarked that database benchmarking is in a crisis because AI agents start to overfit on individual benchmarks with questionable techniques, which drives execution times towards zero. This has happened with TPC-D in the past, and broke the benchmark. TPC-H tries to fight that with rules, but most people who publish (unofficial) TPC-H results simply ignore the rules. In combination with overly eager AI agents, this leads to brutal overfitting.

We are seeing the next level of that with the GenDB-V system. The corresponding paper commands “Stop Handcrafting Your Engine! GenDB-V: Towards AI-Generated and Formally Verified Database Systems”, and reports speedups of 22× to 61× over Umbra and DuckDB, and all that in a fully verified system. These are indeed impressive claims, and would suggest that traditional database engines are in trouble.

Taking a step back, though, it should be clear that a performance improvement of a factor of 22 over Umbra is infeasible, at least if we are talking about traditional query processing. At SF10, the 22 TPC-H queries read roughly 15GB of (compressed) base data, and on a 9950X3D Umbra runs all queries in a total of roughly 540ms. On that machine the memory touched for data divided by the memory bandwidth (54GB/s) alone is about 280ms; anything below that is infeasible. Better compression might bring that down a bit, but not by an order of magnitude.

Unsurprisingly, the most dramatic gains of GenDB-V come from precomputation. The agents have carefully handcrafted auxiliary data structures for each query, which are computed at load time, and which avoid most of the work. The physical design is heavily tuned to the queries, too, for example, there is an extra structure that lists the supplier rows in s_acctbal DESC order, which makes Q2 trivial. Similar per-query data structures are built for most queries. And we see that in the performance numbers: Several queries already run in near-constant time at SF100: Q2 in 0.7 ms, Q17 in about 15 ms and Q4 in about 17 ms on one thread. That is the TPC-D symptom, without stored aggregates.

There is also a “plain-array” mode, which, at first glance, is more fair, as it avoids these excessive preparations and also reports performance improvements of just roughly a factor of 3, which seems achievable. But when looking closely, we see that here the agents did something even more insane: They hard-coded their knowledge about the data generator. They “know” that each customer k will be at row k-1. And they know that dbgen numbers the i-th order 32·(i/8) + i%8, so key k should be at row 8·(k/32) + k%32 − 1. Which makes the join in query Q18 super cheap.

How does all this fit together with the claim of a fully verified database engine? Well, the code does check if the hard-coded knowledge about the data generator holds in practice, e.g., by checking if the guessed join partner row is correct. If not, it falls back to a super slow generic nested loop implementation, but as that never happens with the official TPC-H data generator, that code path is irrelevant in the reported experiments.

Which brings me back to my original blog post claim: Letting AI agents optimize for a given database benchmark makes the benchmark useless. They will do their best to find insane tricks to speed up this particular benchmark, but none of that would work in a real system. The high tuning and synthesis time aside, deleting a single tuple (or inserting one in the middle) can most likely cause the whole approach to fall off a cliff, as it forces the slow fallback path. Which is not something you want in a production system.

40 comments:

  1. Stop handcrafting your engine. Start reverse-engineering dbgen!

    ReplyDelete
  2. Thank you, Thomas, for reading our paper and code so carefully. I am Jiale, one of the authors of GenDB-V. Your observations are correct, and I would like to add my view on the setting.

    Two settings. Umbra and DuckDB are general-purpose engines: fast for any query on any data. GenDB-V, like Bespoke OLAP and JetStream, builds a specialized engine for one customer: their schema, data, hot query templates, and even hardware. Here, using knowledge of the workload is the purpose. For ad-hoc queries, such a system should hand over to the best general-purpose engines, such as Umbra and DuckDB. So I see the two approaches as partners, not competitors. I do not claim that agents can build an engine that is fast on many workloads: just for a very specific setting, specialized for the customer.

    Verification is the main point. The key feature of GenDB-V is that instead of trusting agents for correctness, we can formally verify it independently. Every synthesized package is formally proved correct for every database of the schema. So each assumption must be checked in the code, and a failed check never gives a wrong answer silently: the code takes a general path. Today that path is GenDB-V's own slow proven code, but it can be easily extended to be Umbra or DuckDB.

    Fair and unfair specialization. I agree that guessing where dbgen puts each key is fitting to the generator, not to a customer. A property that the storage creates, or that the customer declares and the system checks, is fair. An accident of the generator is not. I will constrain the agents to the first kind.

    Agents also find good ideas. One example is TPC-H Q21 with agent-designed storage. The storage keeps each order's lineitems next to each other, for any input order. The EXISTS and NOT EXISTS conditions are then checked inside each order's own lineitems, in place of a semi-join and an anti-join on lineitem. No part of the query result is computed at load time. It is a classic physical-design idea that any engine could use.

    I fully agree that the database community needs new kinds of benchmarks, and I made one attempt in this direction in my earlier work, SQLBarber (SIGMOD 2026). I am excited to see more great benchmarks in the future. Benchmarks drove the development of today's great engines, and they can do the same in the LLM era 🙂

    Best,
    Jiale

    ReplyDelete
    Replies
    1. You see I have two problems here: One is, you literally tell us to "stop handcrafting (our) engine". Which mean you are marketing your approach as a general solution and as a replacement for existing database engines, which it is clearly not. It might be an additional enhancement, like, e.g., physical design wizards did in the past. But you will always need a fallback engine, at the very least for ad-hoc queries.

      And second, I am pretty sure that I could build a program that computes a secure hash over the input at load time to identify that it is the canonical TPC-H data, e.g., by hard-coding all relevant scale factors, and then produces the answers to all queries purely from the knowledge about the data generator, without ever looking at the data. That would have near zero runtime for all relevant scale factors. And it would still be "correct", because I could fall back to, e.g., an embedded DuckDB/Postgres/sqlite, the performance of which would then be totally irrelevant because it would never trigger in practice.

      Which is clearly absurd, of course. But where do you draw the line? Why is recognizing the data set + scale factor "bad" when the other optimizations you do are not? TPC-H tries to codify this, which works to varying degrees _if_ people follow the rules (which many don't). I think we can only fight this if a) the benchmark is unknown to the engine developer before execution, and b) the data changes over time, which rules out the most extreme precomputations.

      Delete
    2. If formal verification is the main contribution, why are the headline results dominated by 20–60× speedups? Verification establishes correctness, but what does it tell us about the validity of those performance comparisons?

      Delete
    3. It is an honour to discuss this with you here. As a PhD student, I admire your work, and Umbra is one of my favourite systems and papers. I am sorry for the title: it describes a possible future as if it were a present fact. I will discuss changing it with my co-authors.

      GenDB-V has two modes. Template synthesis builds specialized code for hot templates. That mode is an addition to a general-purpose engine, as physical design wizards were. Engine synthesis builds one general engine, proved correct for any schema, data and query in the supported SQL subset. In coverage and correctness it is a complete query engine for that subset. In performance it is not there yet: agents improved it over many versions, first on TPC-H and then on a second benchmark, but on manually created unseen queries it is still slower than Umbra. I will put its code and results in our repository.

      My next step is an adversarial loop. Agents optimize the engine on all the benchmarks I have. Then the engine is frozen, and a separate adversarial agent writes new workloads against it: new queries on the known benchmarks, and completely new benchmarks. I report the frozen engine's result. After that, the agents may optimize on the queries where it lost, and the next round brings a new attack. The open question is whether the gap on unseen workloads shrinks over the rounds, that is, whether agents can build an engine that truly generalizes. This is in the spirit of your proposal of fresh workloads for each round.

      On the line: your example is a good test. The proof checker ensures correctness for every possible database, and nothing more. Your program would not pass it. A hash has a fixed size, so different databases can share a hash value; a secure hash is good enough in practice, but a mathematical proof must hold for all databases. Falling back to a production SQL engine cannot pass either, because none comes with proofs today; so currently GenDB-V falls back to its own engine, which is verified but slow. But I agree that the proof says nothing about performance: an optimization is correct for every database, and fast only for some. So the proof does not draw the whole line. Your (a) fits general-purpose engines; in the specialized setting the hot templates are known by design. Your (b) applies to both: a customer's data also changes, so the speed should hold on data the agent has never seen.

      What I want to suggest is a direction: agents write code and proofs together, checked against a formal specification of SQL. Our proofs are only as good as our SQLSpec, which is our own reading of SQL. So I would like to invite the community to work on a shared, standard formal semantics for SQL. With it, verified engines and verified optimizations become possible for everyone, and maybe one day agents can bring a verified engine close to hand-built ones.

      Delete
    4. Jiale, please for your sake, stop using AI to write large chunks of writing. It looks very, very, bad and makes you look either malicious or like you do not know your field. This is very bad because the article already shows this and here you are *showing up on the article doing the same thing*. The last paragraph in your last comment sent chills down my spine. A Comp Sci PhD would not write it.

      Delete
    5. Hi, as I have clarified in my another response to another anonymous person: all the comments came from myself, I wrote a large paragraph myself, and I only used AI to make it clear and concise (my original version is even longer, and I can share this if you want to see that). This is because I do not want to make my sentences have syntax and grammar issues, and clearly express my opinions: sorry, I am not a native English speaker. After someone said the "AI-style" is not good for discussions, all my later responses are my own original drafts, as you can see below.

      "The last paragraph in your last comment sent chills down my spine."
      ------
      Just to double check, do you mean "the direction to write code and proofs together", and "invite the community to work on a shared, standard formal semantics for SQL"? Yes, this is too big for a phd student. But this is what I want to do and am doing now: I have open-sourced the translator, SQLSpec for everyone to double check and fix. Feel free to create issues and PRs in the repository: I would really appreciate it. BTW, I would like to argue "A Comp Sci PhD would not write it". This is already what I shared and discussed with others during my talk and conversations at HPTS 2026 last month. I not only "write", but also "say, share, discuss" it directly in public.

      Delete
    6. Jiale's comments are all legible, and seem to be written in natural language. Nothing about that last paragraph was unusual. In contrast, your repetition of "very bad" over and over again doesn't elaborate your point very well, you just seem to be engaging in ad hominem.

      Delete
    7. Jiale, you've made mistakes in the paper, and then again by using AI to leave comments here. I suggest you to take a deep breath, step away, and stop trying to defend your mistakes.

      These are confusing times, and we're all learning from trying and failing. If you want to learn, own your mistakes, and start taking more ownership of your code.

      In the short term, you should seriously consider retracting your paper, or at the very least remove the misleading performance numbers.

      Delete
    8. Please be civil in comments. We are here to discuss database topics, not to attack individual people.

      Delete
    9. Thank you so much for the kind words! I made inappropriate performance claims in the paper, and I will update the code and paper for these. I accept these, and will use these to make myself and my work, better.

      This is my belief of research: publish and open-source, get feedbacks, revise and improve over and over again.

      The ultimate goal is to have a better world, though on the path to that, there will be many discussions, arguments, corrections, revisions, and even attacks.

      I want to highlight that, one nature of me is that, I am very very open to healthy, open, civil, kind discussions, and very happy to revise my work based on these. I know that, no work is perfect and mistakes-free, and that is why we take feedbacks, learn from these, and become better. So I am still open to more feedbacks and kind discussions: let us focus on the database topics 🙂

      Delete
    10. Jiale, the issue was never whether you are open to feedback. It is whether your paper's claims were supported by a sound evaluation.

      Open-sourcing your work does not outsource the responsibility to validate its claims to the community.

      Delete
    11. That is true. But now I have the chance to revise and update the paper and code based on feedbacks, and I will.

      Delete
    12. You should validate the result BEFORE you publish, instead of letting others look into your code and see what happens. I think the problem is that you published the result of 20x-60x speedup over sota and you don’t even look into what AI have done (At least from my perspective if you know that the speedup is done by hardcoding dbgen this should at least be written on the paper).

      Stating that you’re not focusing on benchmarking/speedup but another topic or that you’re open to feedback and will make changes on the paper does not change the fact that you should validate your results before you make it public. I think that’s where the problem is.
      Sadly throughout the discussion you seem to feel that the problem is solved by “you change the statement afterwards”, I think the point is that how to make sure what you’ve done is legal and correct and give enough details before you publish. Especially you state that you’re working with correctness related stuff.

      Delete
    13. Thanks for the comment. We did look into the code, and you can see the case studies in Section 6.5.

      For overfitting to the dbgen, actually you remind me something that I should clarify:
      SEC-EDGAR is a new benchmark, that both existing systems and LLMs are not familiar to, and it uses real-world data: there is no "dbgen" at all.

      On this benchmark, there is no "dbgen" to fit into, and GenDB-V still achieve great performance, and the performance gap compared to existing systems is even larger on this benchmark. Maybe exsiting systems, are also kind of, "fitting to TPC-H"?

      BTW, when I said updating the claim in the paper, I mean making the original setting more clear, not to chang it:
      the setting, which is used in all GenDB, GenDB-V, Bespoke OLAP, JetStream, is that, agents can synthesize performant code, for a given schema, SQL templates, database, and hardware. Beyonds this fixed setting, we claim nothing.

      For other comments on data updates, we target read-only OLAP scenarios for now. It would be interesting to extend our methods for updates, and even OLTP, but this is out of scope for our current paper.

      Delete
    14. Then we fallback to Thomas' comments. There are clear rules under usage of TPC-H, fitting to TPC-H under the rule is ok but what you should check was that, you did something that is not allowed in the rule set. At least you should clearly state that you broke the rules, plus you made a very confusing statement on your title that make things worse - you stated that you beat other handcrafted engines and you are even not comparing fairly. **I don't think that (including everything that you stated you will make changes) is out of the scope of "validating your results", which should be done before publish.**

      Delete
  3. I don't think "correct SQLSpec" can solve the hardcoding dbgen logic problem Thomas pointed out. At the end of the day, you are verifying a database "correct", which has nothing to do with performance. In production, performance is part of correctness -- if a distribution drift of customer data causes a critical query to become orders of magnitude slower (as the example case would), that is a bug and an outage. The most egregious thing I find about this work is the attempt to portray formal verification as a green checkmark next to an arbitrary system, and disregard the fact that it proves a much narrower mathematical property that is highly sensitive to the exact formal definitions and assumptions with many pitfalls.

    P.S. I generally like to assume the best of intentions from researchers, but I find your replies to sound a lot like AI.

    ReplyDelete
    Replies
    1. Hi, I never claim that formal verification can ensure performance, both in the paper and in my previous responses. The ONLY thing formal verification can ensure is that, the results returned by the code, is allowed by the outcome specified in SQLSpec, and that is all.

      For performance, we can only rely on benchmark feedback to guide the optimization, and as the final metric, not formal verification. Then we have the issue with benhmark evaluation: agents or systems overfitting to the benchmark, though in some cases, we want such specialization for customized code for hot templates.

      PS: I give you my word, all the intentions from my previous comments come from me. I did use AI to re-write my draft, and the prompt is "make it simple, clear, and concise", and by Fable 5.2, and that is all. If we do not like the "AI-Style", from now on, I will use my original draft. Or if you want more, you can have a meeting with me to discuss more

      Delete
    2. You didn't even understand why the previous one said that "performance" should be part of "correctness".

      Delete
    3. All the optimizations for the hot paths, are checked at runtime: (1) If the data changes and the assumption does not hold anymore, the specialized code will never be executed. (2) If the fallback system is a powerful general-purpose engine, such as Umbra or DuckDB, this query would not be orders of magnitude slower.

      Delete
    4. Given all your clarifications, why is synthesizing a standalone database engine the right abstraction in the first place?

      If the goal is hot-query specialization, existing engines already offer workload-aware physical design, materialization, query compilation, and other optimization techniques. Coding agents can also help engineers implement and test new optimizations within these engines.

      What concrete capability does GenDB-V provide that cannot be achieved more economically by augmenting an existing engine? And what evidence demonstrates that advantage?

      Delete
    5. "All the optimizations for the hot paths, are checked at runtime: (1) If the data changes and the assumption does not hold anymore, the specialized code will never be executed. (2) If the fallback system is a powerful general-purpose engine, such as Umbra or DuckDB, this query would not be orders of magnitude slower."
      ------
      Well I guess the point is. If your agent is overfitting too much, then the solution will be very sensitive to specific benchmark features. This means that, if the workload got drifted, even by a little bit, your solution will fail the checker and you can only fall back.
      Ofc you can use a faster backend engine, but if your agent is falling-back in 99.9% of the time (ofc in more realistic, drifted workloads, not a fixed one), where is your contribution?
      I feel one major point of previous discussions is that, you don't have systematic and reasonable enough evaluation, and people doubt you over-claiming.

      Delete
    6. “This means that, if the workload got drifted, even by a little bit, your solution will fail the checker and you can only fall back.”
      ------
      Well, he can always add another "smart" agent to handle workload drift.

      Delete
    7. For hot-query specialization by coding agents, it is not a new claim from GenDB-V (but from previous GenDB, Bespoke OLAP, and JetStream), so I will not discuss more on this. I like the discussions in Bespoke OLAP paper: there are some advantages from directly implementing specialized code compared to tuning an existing system.

      For the abstraction of synthesizing a standalone database engine, isn't this itself an interesting and exciting direction to explore, as a research project?

      One important "economical benefit" of GenDB-V, I would say formal verification. No production SQL engine is formally verified to the best of my knowledge (correct me if I am wrong). It was so difficult and expensive to formally verify something: seL4’s 8,700-line C kernel took about 20 person-years! And now it is possible, to have a formally verified standalone database engine, and we achieve this in a much cheaper way, isn't this exciting?

      BTW, just to give some contexts in case some people are not familiar with formal verification: formal verification does not mean "bug-free", just the code is verified against the formal specification, which is SQLSpec in GenDB-V. I do not claim this spec is correct. So I open-source it and hope the community could fix and refine it together.

      Delete
    8. "I feel one major point of previous discussions is that, you don't have systematic and reasonable enough evaluation, and people doubt you over-claiming."
      ------

      I totally agree that I over-claimed for performance. The honest performance claim should be that, the synthesized engine can outperform untuned general-purpose engine, on a specific target .

      I will update the claims. And I will run new experiments, with more strict settings and evaluations. Happy to take any suggestions. For example, the tool from Microsoft to generate skewed TPC-H data, and this is totally invisible to agents during synthesis?

      BTW, I am always open to feedbacks, discussions, and suggestions, and will always improve based on these. Just hope, the discussion is open, healthy, friendly, and not emotional 🙂

      Delete
  4. This comment has been removed by the author.

    ReplyDelete
  5. Don't get me wrong, formal verification in form of model checking, SMT, TLA are all interesting and LLMs make it easier to define specs and run proofs. But then again, no formal verification will give you a bug free system in the real world. It's just yet another source we should tap into like sanitizers, code reviews, compiler warnings, unit tests, integration tests, production logs. Certainly great for a specific category of things where the spec is small and stable and a lot of investment can be justified to get to a trusted spec like peephole rules, atomicity/synchronization protocols, wire protocols. But even in the limited scope it's not bullet proof either, the blind spots remain: the spec itself, the translator, the tools, and in grand scheme of things, the OS, the hardware, the network, storage, ...

    ReplyDelete
    Replies
    1. Hi Tobias, thank you so much for discussing this with me calmly and openly. I totally agree that, formal verification does not mean bug-free: the specs could be incorrect and incomplete, and there are many trusted things. I like the point from Ion from his keynote at HPTS 2026: spec problem is actually a social problem, we need community-agreed ones for each domain, and we could even have "CS Spec Lawyers" to look into, fix, and revise the specs.

      "where the spec is small and stable"
      ------
      Actually this is very interesting and we could discuss more. I have seen more and more research papers, industrial reports, start-ups working on scaling this. An impressive result, just published yesterday, is that Google Deepmind formally verified complex software at depth: https://deepmind.google/blog/introducing-alphaproof-code/.
      They used Gemini Carbon to complete the proofs, generating over six million lines of Lean, to verify the code of Signal’s cryptographic protocol. In their code repository, they open-source the "arm64-semantics/". This matches the point that, spec should be a social problem, and the community should work on it together, to make it agreed by as many people as possible.

      Delete
  6. I think the broader question that "formal verification for systems" raises is, how do you formally verify non-functional requirements of a system?

    Functional we now kind of know how to, durability maybe through effect systems (?), but performance is by far the hardest and I haven't seen any convincing approach there yet.

    ReplyDelete
  7. When I see Nx speedup, my first question is 'which brand new technology underpins this?' or 'which trade-off enabled it?'. If there is no clear answer, it means the result is just marketing. AI is not a magic pill, but it might occasionally find an interesting solution to process specific queries - why not see and analyse its findings?

    So, the main benchmark feature - comparing different DBMSes under the same conditions - still stands. It just doesn't say which software is better.

    ReplyDelete
    Replies
    1. Totally agree that, we should look into the code and see what is happening, and we did! We have case studies in Section 6.5, with one case for each setting: template synthesis over plain arrays, template synthesis over agent-designed storage, and engine synthesis. Due to space limitation, we could not provide more examples, but these should be representative.

      Delete
    2. Totally agree that, the results do not claim that one system is better than the other. The claim is that, LLM agents, can synthesize formally verified and performant code for SQL query processing. It is faster than general-purpose engine on two evaluated benchmarks, simply because, the code is specialized for the given schema, database, SQL templates, and hardware, and that is all. On other settings, very possibly it is not that performant, and this is expected: we can use agents to scale builidng a specialized engine for one setting, not for many.

      Delete
    3. You just said you have spent lots of tokens, powered mostly by fossil fuel burning, and done a useless job? What is it proving? I also use AI power to exploit CPU cache lines more effectively and speed up, let's say, an aggregate function 2x, but it covers a meaningful area of usage and eventually leads to faster queries and less computational resource consumption.

      Or maybe I misunderstood something?

      Delete
    4. Let me clarify it: the same setting used in GenDB-V and Bespoke OLAP is that, we can use agents to build specialized engine for each customer in a scalable way, rather than one general-purpose engine for all customers.

      There are customers A, B, C, each has his own schema, data, SQL templates, and hardware. Then we can synthesize engine_A, engine_B, engine_C for each customer. Engine_A is faster than a general-purpose engine for the settings of customer A. engine_B, also comes from GenDB-V or Bespoke OLAP, is not good for customer A, because it is specialized for customer B.

      In the past, such specilaization is too expensive: we can not just copy paste, one great DB team (e.g., DuckDB team), to do specialization for each customer, right? But now we can do this, by using agents.

      What GenDB-V adds on top of GenDB and Bespoke OLAP is that, you do not need to trust testing (which is usually not enough) or agents anymore. We can independently formally verify the correctness of the code synthesized by agents.

      Delete
    5. Hmm, the next day the DBA calls ALTER TABLE .. ADD COLUMN, adds a table or constraint and ... what? Rewrite the whole database system?
      It looks like even tougher than vendor lock-in- it is a code lock, isn't it? Are there any guarantees of safe migration or no data loss? Until now, we had some guarantees based on years of DBMS usage by braver guys, but taking freshly generated code into production just for extra TPS looks unusual.

      Delete
    6. This is a good point. In our current papers, we assume that the setting is kind of fixed, which is valid in many OLAP scenarios and already used by many other papers. For example, many customers do not update their databases very often, especially for the schema when the database is large and has been in production for a long time.

      We do not have a systematic study and solution for the update now. But this is an interesting future direction for us to explore. Agent-synthesized system is still a very new and hot topic.

      For guarantees of safe migration or no data loss, this is exactly what GenDB-V (the "V" for formal verification) can possibly offer. In GenDB-V paper, you can see that agents can do many optimizations over the data, and even a completely different data layout. But we require the agents to formally verify that, there is no data loss for the new layout, and query processing code returns the same allowed results on this new layout. We could extend the spec to cover schema changes.

      Delete
    7. Hmm, that means you invented a mathematically proven, bug-free development process? That's interesting - let me read your paper in detail.

      Delete
    8. Thanks for your interest!

      I would not call it "bug-free" though :-) There are still trusted computing base that is not proved, but trusted. For SQL semantics, and some other program safeties, these are mathematically proven against fixed formal specifications.

      One cool thing about GenDB-V is that, we can use LLM agents to synthesize code without trusting these agents: their code and proofs, will be independently checked by deterministic program (SMT solver if you use Verus, Lean if you use Aeneas, and more are available), against fixed formal specifications that can not be changed by agents.

      In the past, verifying 8700-line C kernel took 20 person-years (seL4). With GenDB-V, this is much faster and cheaper.

      Delete
    9. > we assume that the setting is kind of fixed, which is valid in many OLAP scenarios

      That's true. But this approach makes a soft assumption the hardest possible limitation. It is not OK to create a schema and have no chance to alter it without risk of loosing all performance benefits.

      Delete
  8. I largely agree with the blog post's points, but the comments are a bit one-sided. Most of the comments do not like benchmark overfitting and are concerned with generalization and supporting adhoc query workloads. That's fair. But here is a setting where this notion of "cheating" may be desirable.

    I build an application that talks to a database. The application is expressible as a subset of the SQL grammar because I don't want it to do everything. The application is a data generator. Now, I want to cheat as much as possible and "optimize away" all of the DBMS components irrelevant to my application.

    The tricky part is how to gracefully adapt the generated system as I change my application. And to deal with writes.

    ReplyDelete