DynamoDB query/sort based on timestamp

后端 未结 1 1189
悲&欢浪女
悲&欢浪女 2020-12-19 08:03

In DynamoDB, I have a table where each record has two date attributes, create_date and last_modified_date. These dates are in ISO-8601 format e.g.

相关标签:
1条回答
  • 2020-12-19 09:00

    There are some things that NoSQL DBs are not good at, but you can solve this with the following solutions:

    1. Move this table data to SQL database for searching purpose: This can be effective because you will be able to query as per your requirement, this might be tedious sometimes because you need to synchronize the data between two different DBs

    2. Integrate with Amazon CloudSearch: You can integrate this table with CloudSearch and then rather than querying your DynamoDB table you can query Cloudsearch

    3. Integrate with Elasticsearch: Elasticsearch is similar to CloudSearch although each has pros and cons, the end result would be same - rather than querying DynamoDB, instead query Elasticsearch

    4. As you have mentioned in your question, add GSI indexes

    0 讨论(0)
提交回复
热议问题