Amazon SimpleDB 与 Amazon RDS

发布于 2024-10-05 09:54:59 字数 98 浏览 0 评论 0原文

我在一家小型电子商务网站工作,我们希望迁移到所有 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

谜泪 2024-10-12 09:54:59

简而言之,我认为由于您的业务模型是电子商务,因此您的数据解决方案需要事务一致性。因此,您应该选择 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.

や三分注定 2024-10-12 09:54:59

RDS 基本上是 SQL 风格的关系数据库,而 SDB 是非关系数据库。我建议您仔细阅读 Amazon Web Services (AWS) 网站上的所有信息,因为它们可以回答您可能遇到的所有问题。

来自 AWS 常见问题解答:

问:什么时候我会使用 Amazon RDS、Amazon EC2 关系数据库 AMI 和 Amazon SimpleDB?
Amazon Web Services 为开发人员提供了多种数据库替代方案。 Amazon RDS 使您能够运行功能齐全的关系数据库,同时减轻数据库管理负担; Amazon SimpleDB 提供简单的索引和查询功能以及无缝的可扩展性;通过在 Amazon EC2 和 Amazon EBS 上使用我们众多关系数据库 AMI 之一,您可以在云中操作自己的关系数据库。这些替代方案之间存在重要差异,可能会使其中一个更适合您的用例。

有关 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:

Q: When would I use Amazon RDS vs. Amazon EC2 Relational Database AMIs vs. Amazon SimpleDB?
Amazon Web Services provides a number of database alternatives for developers. Amazon RDS enables you to run a fully featured relational database while offloading database administration; Amazon SimpleDB provides simple index and query capabilities with seamless scalability; and using one of our many relational database AMIs on Amazon EC2 and Amazon EBS allows you to operate your own relational database in the cloud. There are important differences between these alternatives that may make one more appropriate for your use case.

More information about AWS database options

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文