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

preguntada hace un año1616 visualizaciones
1 Respuesta
-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
EXPERTO
kentrad
respondido hace un año
profile pictureAWS
EXPERTO
revisado hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas