Перейти к содержимому

Beyond Relational: Data Structures for Analytics and AI

Это содержимое пока не доступно на вашем языке.

Chapter 13 of Data Architect, Part 3: The Modern Data Architect. Previous: Data Security for Humans, Applications, and Agents.

Relational modeling won for forty years, and it’s still the best shape I know for running a business transaction. But look at what a modern company holds: JSON from partners’ APIs, flat files, sensor readings that never stop arriving, photos by the million, five years of history for analysis, and now vectors that represent meaning as numbers. A data architect who only knows tables will force all of it into tables, or leave it to someone else.

This chapter opens Part 3 with one question, the one to ask before you draw anything: what are you going to do with the data? The answer decides the shape.

One example runs through all five modules: one Steve Trucking delivery, and every shape it takes. The Work Order in Salesforce, Redrock’s JSON manifest, the status history, the truck’s GPS, the photos, the delivery fact in the warehouse, and a damage claim found by meaning.

  • What are you going to do with the data? The job decides the shape.
  • Normalize with intent. Normalize further, back off within relational, or choose a different shape: three different decisions.
  • Time changes the question: current state, a history of changes, or effective-dated records.
  • One business thing can have many shapes. Know each one’s source, owner, reason, sync, access and end.
  • Not everything is a table. Documents, key and value, wide-column, graph and time-series each answer a different kind of question.
  • Flexible doesn’t mean no architecture. Without a schema, the rules move into your design.
  • Promote what the business process needs; keep the rest where it came. A list becomes children.
  • The content can stay unstructured while what we know about it becomes structured.
  • Write the grain first. One row represents ____.
  • The line is between two jobs, not two vendors: the org that runs the business, and the platform that analyzes it, Salesforce’s or another.
  • Vectors can be the route to the data, but not the data itself.
  • Similarity isn’t truth, and every copy keeps its source’s classification.
  • Retrieval helps the agent find the evidence; semantics helps it understand what the evidence means.

Five modules, each standing on its own.

  1. Where Relational Stops. Tape and fixed-width files; normalize with intent; three shapes of time; flat on the way in, normalized for the work; what belongs in Salesforce, IoT data and the stores beyond the database; one delivery, many shapes.
  2. Not Everything Is a Table. The questions that decide a shape; document, key-value, wide-column (and big objects), graph (are the claims clustering?) and time-series, each with where it lives.
  3. Structured, Semi-Structured and Unstructured. What’s a blob; the airline JSON and its one little array; Redrock’s manifest promoted element by element; photo metadata; derived data; every copy protected, and indexed text as an injection surface.
  4. Built for Analysis: Dimensional Models and Lakehouses. Facts, grain and dimensions; the delivery star schema; history and fairness; warehouse, lake and lakehouse; lineage and definitions; the whole topology, Salesforce’s analytics and Data 360 included.
  5. Vectors and Embeddings. Meaning as numbers; chunks; three ways to ask; provenance and staleness; security along the whole path; similar isn’t correct; the semantic layer above every shape.
  • What each piece of data will be used for, before choosing its shape.
  • Which shape and which store fit each job, and which Salesforce provides.
  • Which elements become first-class, and what stays in its document or file.
  • The grain, the dimensions and the history of every analytical model.
  • How identity, lineage, classification and definitions follow the data into every representation.
  • What the business means by its words, before people and agents rely on the answers.

Beyond the exam: the exam guide doesn’t test non-Salesforce database concepts, so most of this chapter is beyond it on purpose. But AI makes every shape matter: agents read documents, search vectors, query facts and walk relationships. Choose the shapes deliberately, and protect every copy.

Next: Virtualization, Federation, and Zero-Copy