• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Liutauras Vilda
  • Knute Snortum
  • Bear Bibeault
  • Devaka Cooray
  • Jeanne Boyarsky
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • salvin francis
  • Tim Holloway
  • Piet Souris
  • Frits Walraven

Serverless Applications with Node.js: What are DynamoDB create-table command requirements?

Ranch Hand
Posts: 84
Netbeans IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Authors,

In connection with AWS Ecosystem, DynamoDB and NoSQL are embedded as simpler databases. The following example in book shows that table automatically specified with PRIMARY key only.

Other fields are omitted too. Order table (i.e. pizza-orders) not specified with pizza, address and order status fields;  Is it auto assignments when it was runtime?

Thank You

Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Noorul Hameed,

DynamoDB is actually set as a Database Table, so you are creating DynamoDB tables one by one, instead of having one monolithic database with hundreds of tables (like we had before). As your systems scale, having a monolithic database is a bigger problem than solving cross region data consistency and replication.

In this case when you're creating a single table with this call, we are intentionally omitting the attributes. You've guessed it right, a DynamoDB table can add new table attributes in runtime. There is no need to specify a schema from the start.

Thank you for asking!
You have to be odd to be #1 - Seuss. An odd little ad:
Java file APIs (DOC, XLS, PDF, and many more)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!