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

gefragt vor einem Jahr1616 Aufrufe
1 Antwort
-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
EXPERTE
kentrad
beantwortet vor einem Jahr
profile pictureAWS
EXPERTE
überprüft vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen