• 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
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

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

Ranch Hand
Posts: 77
Firefox Browser Java Netbeans IDE
  • 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!
permaculture is a more symbiotic relationship with nature so I can be even lazier. Read tiny ad:
ScroogeXHTML - small and flexible RTF to HTML converter library
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!