Where Relational Stops
This content is not available in your language yet.
The question this module answers: When is the normalized relational model the right shape for data, and when do we deliberately choose another one?
I have gray hair, so I can tell you what data looked like before relational databases. In the early 1980s a lot of business data still lived on tape, in fixed-width records: the first ten bytes for the person’s first name, the next ten for the last name, and so on, crammed into as small a space as possible. Every program that read the file had to know exactly where each field started. We were just breaking away from those fixed structures, and relational databases were the way out.
For the next forty years, relational won. It’s still the best shape I know for a business transaction. But notice what’s happening now. JSON documents, key-value stores, event streams, files by the million, and vectors that represent meaning as numbers. Some of those look surprisingly like the flat structures we left behind. That isn’t a step backward. It’s a sign that different jobs want different shapes.
That’s what Part 3 of this course is about, and this module opens it with one question, the one I want you asking before you draw anything: what are you going to do with the data?
Normalize With Intent
Section titled “Normalize With Intent”In chapter 2 we built the relational habit: listen for the nouns, draw the relationships, put each fact where it belongs, and design toward Third Normal Form. Then, in Design to Third Normal Form, Then Back Off, we backed off on purpose: for the user experience, for reporting, for scale. I still teach it the same way. I like to design to second and third normal form, and then back off.
Should you go further? There are Fourth, Fifth and Sixth Normal Forms, and they solve real problems. For the systems we build on Salesforce, they’re a lot of theory, and in my experience not worth the headache. Know they exist and move on.
So when I look at any piece of data, I’m really choosing among three things, and they’re three different decisions:
- Normalize further. Rare, for a specialized dependency or time problem.
- Back off, but stay relational. A copied field for a report, a flattened object for an import. Chapter 2’s territory.
- Choose a different shape entirely. A document, a stream of events, a file, a vector. This chapter’s territory.
The phrase I put on a slide for this is normalize with intent, or, said another way, normalize, but design for use. An architect who understands normalization well enough knows when they’re choosing not to use it. That’s very different from the twelve copies of a customer’s name that happen because nobody understood the model.
Time Changes the Question
Section titled “Time Changes the Question”Here’s the first place a simple relational picture gets more interesting: time.
Steve Trucking invoices each Retail Partner per delivery. Ask “what’s Redrock’s rate per delivery?” and the answer is a field. Now ask “what rate applied to a delivery made last December, before the new contract started on January 1?” The current value can’t answer that. I need the rate as it was: a rate record for each period, with a valid from and a valid to date. That’s called effective dating, and it’s still relational. I didn’t leave the relational world. But the structure changed, because the question changed.
In class I ask it this way: when a value changes over time, do I keep snapshots of the whole record, or a history of the changes? Both are legitimate. The answer depends on what you’ll ask later. “What did this look like on March 1?” favors snapshots. “When did it change, and who changed it?” favors a history of changes.
I always tell people to look to Salesforce first: see how Salesforce itself solves the problem. And Salesforce answers this question for itself. Field history tracking keeps a history of changes, not snapshots. With Field Audit Trail, that history is kept in FieldHistoryArchive, which Salesforce describes as “a big object”, where each record “represents a single change in the value of a field” (Salesforce, Object Reference: FieldHistoryArchive (opens in a new tab), API version 68.0, checked 2026-11-28). Salesforce didn’t put years of field changes in an ordinary object next to the records people work in every day. It chose a different store, built for a very large number of rows that are written once and read rarely. History has a different shape from the current state.
Steve Trucking has the same split. The Work Order knows the delivery’s current status: out for delivery. The status history, about eight changes per delivery, every one in order with its time, is a different thing, asked for different reasons: how long did deliveries sit at “loaded” last month? We decided at Checkpoint 1 that the history goes to Snowflake while the org keeps the current state, and module 4 shows what shape that history takes there.
Flat on the Way In, Normalized for the Work
Section titled “Flat on the Way In, Normalized for the Work”Here’s a pattern that shows the shape can change on purpose, even inside Salesforce.
When Keystone sends its manifest, a CSV file on the SFTP server, it arrives flat: one row per item, with the delivery, the Recipient, the address and the item all repeated on every row. It’s a spreadsheet, not a data model. Steve Trucking doesn’t need to model Keystone’s file. It needs Work Orders, line items and a Manifest. So the data lands in a flat structure first, and a process normalizes it into the model the business works in.
I’ve built this pattern with a denormalized import object, and Salesforce uses it too. The Nonprofit Success Pack loads gifts through a flat import object and splits them into contacts, accounts and donations. Data 360 does the same thing at a much larger scale: data lands in a data lake object as it arrives, and mapping it to the data model objects is where it normalizes. Chapter 10 used this pattern for RouteDesk’s history (Migration Is a Quality Project First).
Notice what that means. A flat structure isn’t a failure of modeling. It’s the right shape for arrival, and the normalized model is the right shape for work. One fact, two shapes, each with a job.
Not Everything Belongs in Salesforce
Section titled “Not Everything Belongs in Salesforce”The next question is where a shape lives. I hear “why don’t we just put all the data in Salesforce?” all the time, and we answered it at Checkpoint 2 for Steve Trucking. Here’s the general rule: Salesforce should hold the data that the business processes in that org need. Keeping a record in core objects is like keeping it at the front of your office, where people work all day. History and high-volume data belong further back.
Steve Trucking’s GPS is the clean example, and it’s one of a bigger family: the Internet of Things. Sensors on trucks, meters, machines and buildings report every minute or every few seconds, all day, every day. The data is collected constantly, it’s added, never edited: a reading from 9:14 this morning is a fact about 9:14, and nobody goes back to update it. That’s the opposite of a Work Order, which changes all day until the delivery is done. Could I create GPS_Reading__c and load 200,000 records a day? Technically, yes. But what are we going to do with the data? The dispatcher needs the latest position. Analytics wants months of readings to study the routes. Neither needs every reading as a Salesforce record. Data that arrives without end and is never edited is exactly where we start thinking about bigger stores built for it.
So I ask more than “does it fit?” Here are the questions, answered for five kinds of Steve Trucking data:
| Volume at year five | How it changes | Who owns it | Privacy | Where it lives | |
|---|---|---|---|---|---|
| Work Orders | About 2.9 million a year | All day, until the delivery is done | Steve Trucking (the partner owns the items, address and date) | Confidential: the Recipient is on it | Salesforce, for 13 months |
| Status changes | About 23 million a year | Added, never edited | Steve Trucking | Internal | The warehouse |
| GPS readings | Over 200 million a year | Added, never edited | FleetLink | Internal | The telemetry platform, then the warehouse |
| Photos | Over 11 million a year | Added, never edited | Steve Trucking | Confidential: homes, sometimes people | Object storage, found by key |
| Keystone’s manifests | One file per DC, every evening | Replaced by the next revision | Keystone | Confidential: Recipient details | A flat file on the SFTP server, then normalized into Work Orders |
- Volume. A thousand, a million or a billion? Steve’s Number of Zeros.
- Change. Edited all day, or added once and never touched again?
- Ownership. Who keeps the authoritative copy? If another system owns it, do I copy it, or reach it where it lives? Chapter 14 is about reaching it where it lives.
- Privacy. Every copy is another place to classify, protect, retain and delete (chapter 12).
- The process. Does Salesforce need it for the work, or is it going there because Salesforce is the platform we happen to be looking at?
Beyond the database
Section titled “Beyond the database”This is where I want you to widen the picture. A data architect used to think about tables. Now the places data lives look more like this:
- Salesforce objects: records people work in, at the front of the office.
- Big objects: the shed in the back of the office. Very large, rarely changed history, still in Salesforce, like the field history above.
- Salesforce Files: documents, images and signatures, kept as files rather than fields. With Files Connect, a file can stay in an external file system and still be reached from Salesforce (chapter 3, Where Does This Data Live?).
- Flat files: a CSV on a file server or an SFTP drop, the way Keystone sends its manifests. Simple and still everywhere.
- Object storage: buckets of files and other binary objects, each found by its key, cheap at very large volumes. Steve Trucking’s photos live there.
- Telemetry and time-series platforms: built for readings that arrive without end, like FleetLink.
- Data warehouses and data lakes: structured for analysis, or raw and kept for later. Module 4.
None of these is a database in the way chapter 2 meant it, and every one of them holds Steve Trucking data. Salesforce is still where the business runs. The architect’s job is to know which shape goes where, and why.
One Delivery, Many Shapes
Section titled “One Delivery, Many Shapes”This is the change in thinking I want you to take from this module. Earlier in the course we asked, over and over, where does this fact belong? We still need that answer: an authority, an owner, a lineage. But one business thing can have more than one physical shape, each built for a job.
Follow one Steve Trucking delivery:
- The Work Order in Salesforce: relational, normalized, where the work happens.
- Redrock’s manifest as it arrived: a JSON document.
- Its status changes: a history of events in time order, in Snowflake.
- The truck’s GPS readings: a stream of measurements in FleetLink.
- The photos: files in off-core storage, with an index that points to them.
- Later, the damage claim’s description, turned into a vector so an agent can find similar claims by meaning.
That’s six shapes, and none of them is wrong. The architecture isn’t “put everything in one database so we know where it is.” The architecture is knowing, for each shape, where the source is, who owns it, why this copy exists, how it stays in step, who can reach it, and when it goes away. That’s what control means once the data has more than one shape.
The rest of this chapter takes those shapes one at a time: tables and the other families (module 2), structured, semi-structured and unstructured data (module 3), shapes built for analysis (module 4), and vectors (module 5).
Relational Hasn’t Failed
Section titled “Relational Hasn’t Failed”I want to be careful with the title. “Where relational stops” doesn’t mean relational is old, or that everything should be NoSQL now, or that AI has made data modeling irrelevant. It’s the opposite.
When an agent creates an order or updates a case, I care more than ever that the order and its lines have the right structure, the right owner and the right rules. The transactional core still needs a strong model, and the data model is the hardest thing to change. AI can help draft one, but humans must design the data model. What’s changed is the range of shapes an architect has to be comfortable with, and the judgment to say both “this belongs in the transactional model” and “this job needs a different shape.” Those statements don’t contradict each other. That’s architecture.
Watch it on video
Section titled “Watch it on video”In 2023 I made a video of two ways to keep versions of a record: as peers, the way Salesforce does quotes, and as a parent with version children, the way it does flows. The note under the video says what’s still right and what’s changed since.
What an Architect Decides Here
Section titled “What an Architect Decides Here”- What the data will be used for, before choosing its shape.
- Whether to normalize further, back off within relational, or choose a different shape, and why.
- How time is kept: current state, snapshots, a history of changes, or effective-dated records.
- Which shape fits arrival and which fits the work, when they differ.
- Whether the data belongs in Salesforce at all: the process, volume, change, ownership and privacy.
- For every shape of the same business thing: the source, the owner, the reason, the sync, the access and the end of its life.
Beyond the exam: AI adds consumers that want data in shapes built for them: chunks of text, vectors, summaries. That makes “what are you going to do with the data?” more important, not less. Every new shape is another copy to own, secure and keep in step, and the transactional model underneath still has to be right.
Explore
Section titled “Explore”- Chapter 2, Design to Third Normal Form, Then Back Off, and chapter 12, Checkpoint 2.
- Salesforce, Object Reference: FieldHistoryArchive (opens in a new tab), API version 68.0, checked 2026-11-28.
