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

demandé il y a un an1616 vues
1 réponse
-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
EXPERT
kentrad
répondu il y a un an
profile pictureAWS
EXPERT
vérifié il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions