What about indexes? Well in a RDBMS, any field or combo of fields you’ll
be querying – you want to index (though this depends on the RDBMS you
use, and how exactly you want to index). In Dynamo, there are a number
of limitations on “local secondary indexes”
(LSI). First and foremost is that you can only have LSIs if you have a
Hash and Range primary key. The second limit is that LSIs are single
attribute only (DynamoDB calls them “attributes”, RDBMS would call them a
column). Third, you can only have 5 LSIs per table. Lastly, you cannot
add/modify/remove LSI after you’ve created the table. Since this is
NoSQL, all attributes beyond your primary key are flexible – but if you
want to use LSI, plan carefully.
Resource Link:
Resource Link:
No comments:
Post a Comment