课程: AWS for Developers: DynamoDB

今天就学习课程吧!

今天就开通帐号,24,700 门业界名师课程任您挑!

DynamoDB versus MongoDB

DynamoDB versus MongoDB

- [Instructor] How does DynamoDB compare with MongoDB? Well let's talk about Mongo first. Mongo was founded in 2007 by engineers and executives from Google and other tech companies. And it's managed by a company called MongoDB, Inc. It is a great document database, and your project could be better suited for Dynamo or Mongo, so it's good to know the difference between the two so you can make the right choice. Number one, DynamoDB works best as a key/value store. It stores data in rows of dynamic columns. Mongo stores data in documents inside of collections. A document can be up to 16 megabytes in size, where a row in DynamoDB caps out at about 400k. So that's important to know. DynamoDB has limited scalar types. Numbers, strings, Booleans. Anything more complicated needs to be saved as a string and then converted in your code. Mongo supports date, timestamp and more advanced fields. You may or may not need this, and this may or may not be important to you, but that's a decision you'll…

内容