Skip to content

Commit 82d1474

Browse files
committed
updates
1 parent 84633a5 commit 82d1474

File tree

1 file changed

+23
-15
lines changed

1 file changed

+23
-15
lines changed

articles/cosmos-db/mongodb/introduction.md

Lines changed: 23 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -26,33 +26,37 @@ Azure Cosmos DB for MongoDB makes it easy to use Azure Cosmos DB as if it were a
2626
2727
## API for MongoDB benefits
2828

29-
The API for MongoDB has added benefits of being built on Azure Cosmos DB when compared to service offerings such as MongoDB Atlas:
29+
The API for MongoDB has numerous added benefits of being built on Azure Cosmos DB when compared to service offerings such as MongoDB Atlas:
3030

31-
- **Instantaneous scalability**: With the [Autoscale](../provision-throughput-autoscale.md) feature, your database can scale up to 10x with zero warmup period instantly. Other MongoDB offerings such as MongoDB Atlas can take hours to scale up and up to days to scale down.
31+
- **Instantaneous scalability**: With the [Autoscale](../provision-throughput-autoscale.md) feature, your database scales instantaneously with zero warmup period. Other MongoDB offerings such as MongoDB Atlas can take hours to scale up and up to days to scale down.
3232

3333
- **Automatic and transparent sharding**: The API for MongoDB manages all of the infrastructure for you. This management includes sharding and optimizing the number of shards. Other MongoDB offerings such as MongoDB Atlas, require you to specify and manage sharding to horizontally scale. This automation gives you more time to focus on developing applications for your users.
3434

3535
- **Five 9's of availability**: [99.999% availability](../high-availability.md) is easily configurable to ensure your data is always there for you.
3636

37-
- **Active-active databases**: Unlike MongoDB Atlas, Cosmos DB for MongoDB supports active-active across multiple regions. Databases can span multiple regions, with no single point of failure for **writes and reads for the same data**. MongoDB Atlas global clusters only support active-passive deployments across regions.
37+
- **Active-active database**: Unlike MongoDB Atlas, Cosmos DB for MongoDB supports active-active across multiple regions. Databases can span multiple regions, with no single point of failure for **writes and reads for the same data**. MongoDB Atlas global clusters only support active-passive deployments for writes for the same data.
3838

39-
- **Cost efficient, granular, unlimited scalability**: Sharded collections can scale to any size, unlike other MongoDB service offerings. APIs for MongoDB users are running databases with over 600 TB of storage today. Scaling is done in a cost-efficient manner unlike other MongoDB service offerings. The Azure Cosmos DB platform can scale in increments as small as 1/100th of a VM due to economies of scale and resource governance.
39+
- **Cost efficient, granular, unlimited scalability**: Sharded collections can scale to any size, unlike other MongoDB service offerings. Scaling is done in a cost-efficient manner unlike other MongoDB service offerings. The Azure Cosmos DB platform can scale in increments as small as 1/100th of a VM due to its architecture. This means that you can scale your database to the exact size you need, without paying for unused resources.
4040

41-
- **Serverless deployments**: Cosmos DB for MongoDB is a cloud native database that offers a [serverless capacity mode](../serverless.md). With [Serverless](../serverless.md), you're only charged per operation, and don't pay for the database when you don't use it.
41+
- **Serverless deployments**: Cosmos DB for MongoDB offers a [serverless capacity mode](../serverless.md). With [Serverless](../serverless.md), you're only charged per operation, and don't pay for the database when you don't use it.
4242

43-
- **Free Tier**: With Azure Cosmos DB free tier, you get the first 1000 RU/s and 25 GB of storage in your account for free forever, applied at the account level.
43+
- **Free Tier**: With Azure Cosmos DB free tier, you get the first 1000 RU/s and 25 GB of storage in your account for free forever, applied at the account level. Free tier accounts are [sandboxed](https://learn.microsoft.com/en-us/azure/cosmos-db/limit-total-account-throughput#set-the-total-throughput-limit-from-the-azure-portal).
44+
45+
- **Free 7 day Continous Backups**: Azure Cosmos DB for MongoDB offers free 7 day continuous backups for any amount of data. This means that you can restore your database to any point in time within the last 7 days.
4446

4547
- **Upgrades take seconds**: All API versions are contained within one codebase, making version changes as simple as [flipping a switch](upgrade-version.md), with zero downtime.
4648

4749
- **Role Based Access Control**: With Azure Cosmos DB for MongoDB, you can assign granular roles and permissions to users to control access to your data and audit user actions- all using native Azure tooling.
4850

51+
- **Flexible single-field indexes**: Unlike single field indexes in MongoDB Atlas, [single field indexes in Cosmos DB for MongoDB](indexing.md) cover multi-field filters. There is no need to create compound indexes for each multi-field query. This increases developer productivity.
52+
4953
- **Real time analytics (HTAP) at any scale**: Cosmos DB for MongoDB offers the ability to run complex analytical queries. Use cases for these queries include business intelligence that can run against your database data in real time with no effect on your database. This analysis is fast and inexpensive, due to the cloud native analytical columnar store being utilized, with no ETL pipelines. Learn more about the [Azure Synapse Link](../synapse-link.md).
5054

51-
- **In-depth monitoring capabilities**: Cosmos DB for MongoDB integrates with Azure Monitor to provide in-depth monitoring capabilities.
55+
- **In-depth monitoring capabilities**: Cosmos DB for MongoDB integrates natively with [Azure Monitor](https://learn.microsoft.com/azure/azure-monitor/overview) to provide in-depth monitoring capabilities.
5256

53-
## How the API for MongoDB works
57+
## How Cosmos DB for MongoDB works
5458

55-
The API for MongoDB implements the wire protocol for MongoDB. This implementation allows transparent compatibility with native MongoDB client SDKs, drivers, and tools. Azure Cosmos DB doesn't host the MongoDB database engine. Any MongoDB client driver compatible with the API version you're using should be able to connect, with no special configuration.
59+
Cosmos DB for MongoDB implements the wire protocol for MongoDB. This implementation allows transparent compatibility with MongoDB client SDKs, drivers, and tools. Azure Cosmos DB doesn't host the MongoDB database engine. Any MongoDB client driver compatible with the API version you're using should be able to connect, with no special configuration.
5660

5761
> [!IMPORTANT]
5862
> This article describes a feature of Azure Cosmos DB that provides wire protocol compatibility with MongoDB databases. Microsoft does not run MongoDB databases to provide this service. Azure Cosmos DB is not affiliated with MongoDB, Inc.
@@ -69,7 +73,7 @@ The API for MongoDB is compatible with the following MongoDB server versions:
6973

7074
### Choosing a server version
7175

72-
All the APIs for MongoDB versions run on the same codebase, making upgrades a simple task that can be completed in seconds with zero downtime. Azure Cosmos DB simply flips a few feature flags to go from one version to another. The feature flags also enable continued support for older API versions such as 3.2 and 3.6. You can choose the server version that works best for you.
76+
All versions run on the same codebase, making upgrades a simple task that can be completed in seconds with zero downtime. Azure Cosmos DB simply flips a few feature flags to go from one version to another. The feature flags also enable continued support for older API versions such as 3.2 and 3.6. You can choose the server version that works best for you.
7377

7478
## What you need to know to get started
7579

@@ -89,31 +93,35 @@ All the APIs for MongoDB versions run on the same codebase, making upgrades a si
8993

9094
1. Does Cosmos DB for MongoDB support my data residency requirements?
9195

92-
Yes, data residency is governed at the Database account level which is associated with one or more regions. Customers typically create a database account for each residency requirement. For example, if you have a requirement to store data in the US and EU, you would create two database accounts, one in the US and one in the EU.
96+
Yes, data residency is governed at the database account level which is associated with one or more regions. Customers typically create a database account for each residency requirement. For example, if you have a requirement to store data in the US and EU, you would create two database accounts, one in the US and one in the EU.
9397

9498
2. Does Cosmos DB for MongoDB support documents larger than 2 MB?
9599

96-
Yes, documents as large as 16 MB are supported.
100+
Yes, documents as large as 16 MB are fully supported.
97101

98102
3. Does Cosmos DB for MongoDB support multi-field sort?
99103

100104
Yes, multi-field sort is supported. A compound index is required for the fields in the sort to ensure the operation is efficient and scalable.
101105

106+
4. Does Cosmos DB for MongoDB scale linearly?
107+
108+
In many cases, Cosmos DB scales better than linearly. For example, if you read a 1KB document, this equates to 1 RU. But if you read a 10KB documents, this still equates to roughly 1RU. The [Cosmos DB capacity calculator](https://cosmos.azure.com/capacitycalculator/) can help you estimate your throughput needs.
109+
102110
4. How can I encrypt data and manage access at the field level?
103111

104112
Cosmos DB for MongoDB supports Field Level Encryption.
105113

106114
5. How do I pay for Request Units (RUs)?
107115

108-
Cosmos DB for MongoDB offers thre capacity modes: provisioned throughput, autoscale, and serverless. None require an upfront commitment. Autoscale instantaneously scales to meet your needs (with a 10% minimum charge), and serverless only charges for the throughput you use.
116+
Cosmos DB for MongoDB offers thre capacity modes: provisioned throughput, autoscale, and serverless. **None require an upfront commitment**. Autoscale instantaneously scales to meet your needs, and serverless only charges for the throughput you use.
109117

110118
6. Which features are supported in Cosmos DB for MongoDB?
111119

112-
Cosmos DB for MongoDB supports a rich set of MongoDB features, including: Aggregation pipelines, Change streams, Indexes, Geospatial queries, and more. See the [feature support matrix](feature-support-42.md) for more details.
120+
Cosmos DB for MongoDB supports a rich set of MongoDB features backed by Cosmos DB's limitless scale architecture. These features include: Aggregation pipelines, Change streams, Indexes, Geospatial queries, and more. See the [feature support matrix](feature-support-42.md) for more details.
113121

114122
4. Does Cosmos DB for MongoDB run on-premises?
115123

116-
Cosmos DB for MongoDB is a cloud-native multi-tenant service and is not available on-premises. Cosmos DB does offer an emulator for local development and testing.
124+
Cosmos DB for MongoDB is a cloud-native multi-tenant service and is not available on-premises. Cosmos DB offers an [emulator for local development and testing](https://learn.microsoft.com/en-us/azure/cosmos-db/local-emulator).
117125

118126

119127
## Next steps

0 commit comments

Comments
 (0)