AWS DynamoDB: Single or Multitable

Warren Parad
Towards AWS
Published in
Jun 6, 2021

Always, always, always use a single table, if possible.

Only use multiple tables if:

  • Each of the tables has different numbers of GSI
  • Tables have local secondary indices
  • You want to manually control scaling
  • You have DDB Cognito/federate permission integration
  • Different tables have different permissions/owned by different services
  • Some of the data should be replicated between regions but other data not

Otherwise, you should merge tables without thinking about it.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Published in Towards AWS

Where Cloud Experts, Heroes, Builders, and Developers share their stories, experiences, and solutions.

Written by Warren Parad

CTO and Founder Authress, Complete Auth for B2B.

No responses yet