Folks, What would you suggest the DynamoDB Table structure be for the following Object? There will be roughly 2 million objects, which will need to be searchable by email and/or organization.
{
email: 'foo@bar.com',
organization: 'foobar'
}
What would you make the Hash/Range Keys be? I need to be able to perform the followign operations:
- Retrieve all emails for specific
organization
- Delete specific
email
Should i add a random id parameter to the Table? I would imagine the following is the correct way:
organization
being the Hash Key,email
being the Range Key.
Thanks