Amazon SimpleDB 与 Amazon RDS
我在一家小型电子商务网站工作,我们希望迁移到所有 Amazon 托管服务,但我不确定 RDS 和 SimpleDB 的确切区别。 RDS可以使用MySQL,SimpleDB不可以吗?
I work at a small ecommerce site and we're looking to move to all Amazon hosted services and I'm unsure the exact difference in RDS and SimpleDB. RDS can use MySQL, can SimpleDB not?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
简而言之,我认为由于您的业务模型是电子商务,因此您的数据解决方案需要事务一致性。因此,您应该选择 RDS 选项之一(MySQL、Oracle 或 SQL Server)。
AWS SimpleDB 是一种非关系型数据存储(或 NoSQL),因此您获得的是灵活性(即无模式或轻模式)和可扩展性,但您无法获得即时(事务)一致性以及查询模式不会使用连接。
Simply put, I would assume that because your business model is e-commerce that you need transactional consistency in your data solution. Because of this, you should choose one of the RDS options (these are MySQL, Oracle or SQL Server).
AWS SimpleDB is a non-relational data store (or NoSQL), so what you get is flexibility (i.e. schema-less or schema-light) and scalability, but what you don't get is immediate (transactional) consistency and also the query pattern will not use joins.
RDS 基本上是 SQL 风格的关系数据库,而 SDB 是非关系数据库。我建议您仔细阅读 Amazon Web Services (AWS) 网站上的所有信息,因为它们可以回答您可能遇到的所有问题。
来自 AWS 常见问题解答:
有关 AWS 数据库选项的更多信息
RDS is basically a relational database in the SQL vein, whereas SDB is a non-relational database. I'd recommend reading through all the info on the Amazon Web Services (AWS) site, as they answer all the questions you might have.
From the AWS FAQs:
More information about AWS database options