CosmoDB和DocumentDB有什么区别 [英] What are the differences between CosmoDB and DocumentDB

查看:80
本文介绍了CosmoDB和DocumentDB有什么区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

据我所知,CosmoDB能够使用Gremlin查询语言进行Graph查询.除此之外,定价,行销等似乎都一样.他们想出了一种新产品来添加Gremlin的做法似乎很奇怪,而他们并没有这样做,以增加对MongoDB的支持.这两种产品之间有哪些明显区别?

As far as I can work out, CosmoDB has the ability to make Graph queries using the Gremlin query language. Apart from that the pricing, marketing etc. all seem the same. It seems strange that they came up with a new product to add Gremlin when they didn't do the same to add MongoDB support. What are the discernable differences between these two products?

推荐答案

此处的Azure Cosmos DB团队成员.

The Azure Cosmos DB team member here.

Azure Cosmos DB于2010年以佛罗伦萨计划"开始,旨在解决开发人员在Microsoft内部大规模应用程序所面临的痛点.观察到构建全球分布式应用程序的挑战并不是Microsoft独有的问题,2015年,我们以Azure DocumentDB的形式向Azure开发人员提供了该技术的第一代.从那时起,我们增加了新功能并引入了重要的新功能.结果就是Azure Cosmos DB.这是在全球范围内大规模分布的云数据库的下一个重大飞跃.作为此Azure Cosmos DB版本的一部分,DocumentDB客户及其数据将自动成为Azure Cosmos DB客户.过渡是无缝的,他们现在可以访问Azure Cosmos DB提供的新的突破性系统和功能.

Azure Cosmos DB started as "Project Florence" in 2010 to address developer pain-points faced by large scale applications inside Microsoft. Observing that the challenges of building globally distributed apps are not a problem unique to Microsoft, in 2015 we made the first generation of this technology available to Azure developers in the form of Azure DocumentDB. Since that time, we’ve added new features and introduced significant new capabilities. Azure Cosmos DB is the result. It is the next big leap in globally distributed, at scale, cloud databases. As a part of this release of Azure Cosmos DB, DocumentDB customers, with their data, are automatically Azure Cosmos DB customers. The transition is seamless and they now have access to the new breakthrough system and capabilities offered by Azure Cosmos DB.

在Cosmos DB的发展过程中,自2015年(当DocumentDB普遍可用时)以来,我们添加了重要的新功能,但是在DocumentDB中只有其中一部分功能可用.这些功能包括核心数据库引擎以及全球分布,弹性可伸缩性和行业领先的全面SLA领域.具体来说,我们已经改进了Cosmos DB数据库引擎,使其能够有效地将所有流行的数据模型,类型系统和API映射到Cosmos DB的基础数据模型.面向目前当前的这项工作的开发人员将通过对Gremlin和Table Storage API的支持来体验它.这仅仅是开始……随着时间的推移,我们将添加其他流行的API和更新的数据模型,并在全球范围内在性能和存储方面取得更多进步.

In the evolution of Cosmos DB, we have added significant new capabilities since 2015 (when DocumentDB was made generally available) but only a subset of these capabilities was available in DocumentDB. These capabilities are in the areas of the core database engine as well as, global distribution, elastic scalability and industry-leading, comprehensive SLAs. Specifically, we have evolved the Cosmos DB database engine to be able to efficiently map all popular data models, type systems and APIs to the underlying data model of Cosmos DB. The developer facing manifestation of this work currently will experience it via support for Gremlin and Table Storage APIs. And this is just the beginning… We will be adding other popular APIs and newer data models over time with more advances towards performance and storage at global scale.

我们还扩展了吞吐量和存储的全局和弹性可伸缩性的基础. RU/m(

We also have extended the foundation for global and elastic scalability of throughput and storage. One of the very first manifestations of it is the RU/m (https://docs.microsoft.com/en-us/azure/cosmos-db/request-units-per-minute) but we have more capabilities that we will be announcing in these areas. The new capabilities will help save cost for our customers for various workloads. We have made several foundational enhancements to the global distribution subsystem. One of the many developer facing manifestations of this work is the consistent prefix consistency model (making in total 5 well-defined consistency models). However, there are many more interesting capabilities we will release as they mature.

必须指出的是,我们将Azure Cosmos DB视为不断发展的数据库服务.通常,我们首先使用Microsoft内部的大型应用程序验证所有新功能,然后将其提供给关键的外部客户,最后将其发布给全世界.

It is important to point out that we view Azure Cosmos DB as a constantly evolving database service. Typically, we first validate all new capabilities with the large scale applications inside Microsoft, subsequently expose them to key external customers, and finally, release them to the world.

还必须指出,DocumentDB的SQL方言一直只是底层Cosmos DB能够支持的众多API之一.作为使用像Cosmos DB这样的完全托管服务的开发人员,该服务的唯一接口是该服务公开的API.为此,对于DocumentDB客户而言,什么都没有真正改变. Cosmos DB提供了与DocumentDB完全相同的SQL API.但是,现在(以及将来),您可以访问以前无法访问的其他功能.

It is also important to point out that DocumentDB’s SQL dialect has always been just one of the many APIs that the underlying Cosmos DB was capable of supporting. As a developer using a fully managed service like Cosmos DB, the only interface to the service is the APIs exposed by the service. To that end, nothing really changes for a DocumentDB customer. Cosmos DB offers the exactly the same SQL API that DocumentDB did. However, now (and in the future) you can get access to other capabilities which were previously not accessible.

这篇关于CosmoDB和DocumentDB有什么区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆