Malleable Schemas

7 min read

When a company buys business software, it also buys a data model, and over time the company tends to adapt to that model more than the model adapts to the company.

A triangular road sign warning of a curve ahead, with a bare tree behind it
Photo by Aditya Darji on Unsplash

SAP is a good example. Its implementation methodology is called fit-to-standard1: during a rollout, the company reviews its processes against SAP’s standard ones and changes its own where they differ. Customization is possible, but SAP discourages it, and the guidance is to keep the “core clean”. The schema behind this has tens of thousands of tables, and an entire consulting industry exists to map businesses onto it.

This is a reasonable trade. The company gets coherence: one definition of a customer, an order or an invoice, shared across departments. In exchange, the data model sets many of the rules for how work is done. It also influences how the organization is built. Teams form around the systems they operate, and roles and handoffs follow what the database can represent.2 In many companies the schema describes the organization better than the org chart does.

SaaS splits this up by function. A company can pick a CRM, a finance tool and an HR tool separately, and deal with one problem area at a time instead of adopting a full ERP at once. The underlying pattern stays the same, though. As companies grow, they replace their early tools with larger ones, moving from a startup CRM to Salesforce or from a simple payroll tool to Workday, and each move means adopting a bigger and more rigid model. Procurement and POCs are, in large part, a check of how well the business fits the vendor’s model.

The main reason for all this is the cost of change. Changing software is expensive, and changing a schema is more expensive. A migration needs scripts written in advance, a review, and usually a maintenance window. Changing a production schema once a month counts as fast. Because change is costly and risky, organizations make it rare and put people in charge of controlling it: DBAs, architects, review boards. Much of the rigidity we associate with enterprise systems comes from that cost rather than from a deliberate design choice.

I once taught an undergraduate relational database course, built on Codd’s relational model3, SQL and entity-relationship modeling. One slide on schema design listed two goals: represent reality correctly, and be able to evolve that representation easily. Next to the second one, it simply said “Difficile !!”. The method we taught followed from that: observe the organization, model its entities and relationships, then generate the tables, ideally once. Codd’s model had already separated how data is stored from how applications use it, so the physical layer could change without breaking anything. The logical schema, though, remains the contract everything else depends on, and changing it is still the hard part.

That cost is now dropping. The reason is AI coding agents. Writing a migration, updating the code that depends on it and testing both takes a team days of careful work. A coding agent does all three in minutes, and can do it again the next day.

What got me thinking about this was a recent talk by Xin Shi in the CMU Database Group seminar series, “DB9: A Database for Agents, Built by Agents”4. DB9 is a Postgres-compatible database built largely by agents, for agents. Xin described customers running hundreds of schema changes per week on their main database. Some no longer keep migration scripts: the agent inspects the live schema and data and plans each change when it is needed. In his words, schema changes have become a regular workload rather than maintenance.

One way to measure this is what I’d call schema half-life, the typical time a schema stays unchanged. For most of the history of business software it was months or years. For applications built with agents it is getting close to hours. Once changes are that cheap, the schema becomes malleable: the direction of adaptation can reverse, and the data model can follow the business process instead of the other way around.

The same shift is visible in applications. Spreadsheets were the first widely used software that practitioners built for themselves, and IT departments have tolerated them reluctantly for decades. Claude’s “install as app” feature5 goes further: a user describes a tool, tests it, and installs it as a desktop app that updates whenever they edit it. The person who does the work builds the software and keeps changing it as the work changes. This affects designers, engineers and data modelers, because a large part of their work has been translating a practitioner’s needs into software, and that step is getting much shorter.

If rigid systems contribute to rigid organizations, more adaptable systems should make organizations more flexible as well, with teams organized around problems more than around the tools they maintain. I don’t know yet what that looks like in practice.

The usual objection is that this requires models good enough to be trusted with important decisions. I think that’s only partly true. Organizations have never fully trusted people with these changes either, which is why reviews and change windows exist. The controls are a way of dealing with changes that are hard to verify and hard to reverse. What makes frequent change acceptable is less the quality of the model than the ability to check a change cheaply and undo it if needed. Most schema changes, like adding a column or an index, are small and reversible. The decisions that matter most, such as what a customer is or which processes the business runs, still need someone accountable for them, and for now that is a person, even when an agent proposes the change.

Several questions remain open for me. I don’t know how governance works for software that changes daily, or what change management means when changes arrive continuously instead of in releases. If nobody writes migration scripts, the history of the schema has to be recorded some other way, or nobody will know why it looks the way it does. Shared meaning is another problem: sales, finance and support often use “customer” differently, and a single ERP forces them to agree. With many adaptable systems, that agreement has to be maintained deliberately. Agents may help by translating between vocabularies, but we haven’t seen that work at scale yet.

On the architecture side, I believe openness matters a lot here, with the bias of someone who has worked on OSS data infrastructure for years. Software containers are a useful precedent. They standardized how software is packaged and run without constraining what the software does, and because the format became an open standard, an ecosystem grew around it and deployments became far more frequent. Something similar seems likely for data: systems that change freely internally, connected by open formats, open interfaces and shared standards at their boundaries. Open table formats already show part of this, since data stored in them can change shape independently of any single engine. Integrations then carry more of the coherence that the monolithic schema provides today. Open-source databases have an advantage in this setting, partly because agents learned from their code and documentation and use them well. They will also have to evolve, since most were designed for schemas that change rarely, and they now need to support frequent, online, reversible changes as a normal part of operation.

For a long time, businesses have adjusted to the structure of their databases. With agents, that is starting to reverse, for now mostly in small projects and among independent developers where the change is manageable.

Footnotes

  1. SAP, “Describing Fit-to-Standard Analysis Workshops”, SAP Learning. ↩

  2. Melvin E. Conway, “How Do Committees Invent?”, Datamation, April 1968. ↩

  3. E. F. Codd, “A Relational Model of Data for Large Shared Data Banks”, Communications of the ACM 13(6), June 1970. ↩

  4. Xin Shi, “DB9: A Database for Agents, Built by Agents”, CMU Database Group, YouTube, November 26, 2026. ↩

  5. Anthropic, “Install as app”, Claude, November 24, 2026. ↩