Reputation: 15875
Amazon DynamoDB has recently announced transaction. I am interested to know how this transaction works under the hood for a NoSQL storage like dynamodb - how does it differ from traditional relational database in terms of mechanism?
Upvotes: 4
Views: 345
Reputation: 14231
First, traditional relational databases have two transaction mechanisms: locks and versions.
Quote from the blog:
DynamoDB performs two underlying reads or writes of every item in the transaction, one to prepare the transaction and one to commit the transaction.
As I understand it, this means that versions of the data are created. Therefore, the DynamoDB mechanism similar to RDBMS versioning.
Upvotes: 1