Scrivio Interview library
LeadershipAdvanced5 min read · updated 12 November 2026

Half of your teams use single-table design in DynamoDB, the other half use one table per entity, and engineers argue about it in every review. How would you settle it as the principal engineer?

I would end the argument by replacing opinions with criteria: single-table design pays off when access patterns are known and stable and related items must come back in one request at high scale, while one table per entity is easier to understand, monitor, secure and evolve and suits changing needs and analytics. I would write a short decision guide with examples, accept both where justified, require access-pattern documentation and key design reviews either way, and provide shared tooling so the choice never blocks other needs.

Why this question is asked

When the same argument comes up in every design review, the real problem is not the technical question but the missing decision. Teams lose time, reviews become debates about style, and new engineers learn that the loudest opinion wins. Single-table versus multi-table in DynamoDB is a classic case because both sides are partly right. Interviewers ask this to see how a principal engineer settles a recurring dispute without imposing a dogma. In this answer, we will see what each approach is good at, turn that into a decision guide, set the review standard that applies to both, and look at the tooling that makes either choice workable.

1Understanding Why Both Sides Are Right

In single-table design, many entity types share one table, with generic keys such as PK and SK, arranged so that related items sit in the same partition and come back in one Query. A customer and their orders, for example, share PK = CUSTOMER#123. In multi-table design, each entity type has its own table with readable key names, like a Customers table keyed by customerId.

Single-table design really does reduce requests and latency for known access patterns, and it lets related items be written in one transaction within one table. Multi-table design really is easier to read, to monitor per entity, to secure with per-table IAM policies, to back up and restore separately, and to change when requirements move. So the argument persists because each team is generalising from systems where its approach worked.

2Turning It Into Criteria

Instead of declaring a winner, I would write down when each approach is the better default, with the reasons. A short table is easier to apply in a review than a long essay.

Decision guide
SituationPreferWhy
Patterns known, stable, read related items togethersingle tableone Query per screen, low latency
Very high request rates on a few hot screenssingle tablefewer requests, fewer round trips
Requirements still changing, new servicemulti-tableeasier to add patterns and re-model
Heavy analytics or ad hoc reportingmulti-table plus exportreadable schema, simpler export
Separate security or retention per entitymulti-tableper-table IAM, backups, TTL settings
Small team, unfamiliar with DynamoDBmulti-tablelower learning cost
Both are acceptable; the review asks which row applies and why.

3Writing the Decision Guide

The guide should be two pages, not twenty: the criteria table, one worked example of each approach from our own systems, and the questions a design must answer. I would draft it with one strong advocate from each side, which makes it far more likely that both halves of the organisation accept it, and publish it as the engineering standard.

Its key sentence would be that both approaches are accepted where the criteria justify them, and that the design document must state which criteria apply. That changes the review conversation from 'single table is better' to 'your access patterns are still changing, so why single table here?', which is a question with an answer.

4The Standard That Applies to Both

The disagreement often hides a more important gap: designs that never wrote down their access patterns. Whichever style a team picks, I would require an access-pattern document listing every query the service runs, the key or index that serves it, and the expected request rate. Then a key design review checks cardinality, hot keys, index count, projections and growth.

This standard catches the real failures. A multi-table design that scans because nobody planned an index is as broken as a single-table design whose overloaded keys nobody can explain. The review guards against both.

Step throughChoosing a table design in review
  1. Write the access patternsquery, key, rate
  2. Patterns known and stable?will they change in a year?
    YesNext questionNoPrefer multi-table
  3. Related items read together at scale?one request matters
    YesSingle table is justifiedNoPrefer multi-table
  4. Key design reviewhot keys, indexes, projections
  5. Record the decisionin the design document

5 steps in order. Play them, or step through them one at a time.

5Tooling So the Choice Does Not Block Anything

Many objections to single-table design are really objections to its tooling gaps: hard to read in the console, hard to analyse, hard to map in code. So I would fund a shared mapping library that builds and parses keys in one place, and a standard export of every table to the analytics platform, for example DynamoDB export to S3 converted into tables with readable columns. With those, a single-table service can still feed reporting, and a multi-table service gets the same mapping conventions.

Finally, I would revisit the guide after six months with data: incidents, latency and how often teams had to add indexes or migrate keys. If one approach consistently causes trouble in a certain situation, the criteria change. That keeps the decision grounded in our own experience rather than in conference talks.

6Follow-up questions

Why not simply mandate one approach for consistency?

Because each approach is clearly better in some situations, a mandate would force poor designs on some teams, and they would work around it. Consistency matters most in the review standard and tooling, which we do mandate.

What if a team picked the wrong approach a year ago?

We do not migrate for the sake of the standard. If the current design causes measurable problems, such as frequent re-modelling or costly reads, we plan a migration like any other improvement, with a clear benefit.

How do you handle an engineer who keeps reopening the debate?

Point to the guide and invite them to propose a change to the criteria with evidence. That gives the energy a constructive path and keeps individual reviews focused.

7Conclusion

In this answer, we settled a recurring DynamoDB argument by making the trade-off explicit. Single-table design suits known, stable access patterns that read related items together at scale; multi-table design suits changing needs, analytics, per-entity security and teams new to DynamoDB. A short decision guide accepts both where justified, an access-pattern document and key design review apply to every design, and shared mapping and export tooling remove the side effects of either choice.

What to say in the interviewAbout 90 seconds aloud

Open with

I would stop treating it as a matter of taste and make the criteria explicit. Single-table design pays off when access patterns are known and stable and related items need to come back in one request at high scale, for example a customer with recent orders on a hot screen.

Then, if they want more

One table per entity is easier to understand, monitor, secure with per-table IAM, back up and evolve, so it fits services whose needs are still changing, heavy analytics, or teams new to DynamoDB.

So I would write a short decision guide, two pages, with a criteria table and an example of each from our own systems, drafted together with an advocate from each side so both camps own it. Both approaches are accepted where justified, and the design document has to say which criteria apply.

More important than the style, I would require for either choice an access-pattern document listing every query, the key or index serving it and its expected rate, plus a key design review for hot keys, index count and projections. That catches the failures that actually hurt us.

Then I would provide tooling, a shared key-mapping library and a standard export of every table to analytics, so the choice never blocks reporting or other needs. After six months I would review incidents and adjust the criteria with data.

About this answer

Last updated
12 November 2026
Checked
Its structure and format are checked automatically. Use it as a carefully prepared study note: where a detail matters, confirm it against the documentation below. What the checks cover
Where the question comes from
Written by Scrivio for practice. It is not taken from an interview.
Report an issue with this answer

Copy the line below and send it to the author with what you found. It carries the address of this page.

Issue with "Half of your teams use single-table design in DynamoDB, the other half use one table per...": https://scrivio-interview-library.netlify.app/databases/cassandra-and-dynamodb/c461e8a4e1/