amazon web services - DynamoDB most efficient date type - Stack Overflow
I see that DynamoDB is essentially limited to three data types: String, Number, and Binary. That seems to leave two options for storing a date or timestamp:
- String of an 8601 date/time format or Unix timestamp
- Number of a Unix timestamp
I will need to 'sort' results by using this date/timestamp as a range key and using scanIndexForward. Is it possible to say which approach would be more efficient?
Read full article from amazon web services - DynamoDB most efficient date type - Stack Overflow
No comments:
Post a Comment