How to design key schema to have only one DynamoDB table per application?
问题 According to DynamoDB doc: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/bp-general-nosql-design.html "You should maintain as few tables as possible in a DynamoDB application. Most well designed applications require only one table ." But according to my experience you always have to do the opposite thing due to partition key design. Let's consider the next situation. We have several user roles, for example, "admin", "manager", "worker". Usual workflow of an admin is to CRUD