1 Answer
- Newest
- Most votes
- Most comments
0
If natively implemented in DynamoDB with 'tenantID' as the low-cardinality key, a segmented scan will still result in one segment having to deal with the 3 GB partition key. It would most likely run faster than their current solution since DDB can sustain 24 MB/sec egress using single-threaded eventually consistent scan operation.
If the customer is able use a higher cardinality primary key (say, a GUID), then a Global Secondary Index could be used to achieve the grouping and indexing by 'tenantID'. This would allow a nearly unbounded scan rate on the base table through the use of a segmented scan.
answered 4 years ago
Relevant content
- Accepted Answerasked 8 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago