How to sort in dynamodb withoit the help range key and global secondary index

0

How to perform sorting in dynamodb without the help of sort and Global secondary index. For example we can sort in sql using any column.but as of now i am not able to perform sorting in dynamodb without the help of range key and Global secondary index.

Is there any other solution to perform sorting in dynamo db

已提問 1 年前檢視次數 1616 次
1 個回答
-1

Sort keys are how you get DynamoDB to return the results in sorted order. Query flexibility is one of the trade-offs to get extreme speed and size. You can always sort at the application layer but then you may be doing table scans to get the whole data set. See: Using Sort Keys to Organize Data in Amazon DynamoDB.

profile pictureAWS
專家
kentrad
已回答 1 年前
profile pictureAWS
專家
已審閱 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南