You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cosmos-db/faq.md
+5-11Lines changed: 5 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,12 +15,6 @@ ms.author: sngun
15
15
---
16
16
# Azure Cosmos DB FAQ
17
17
## Azure Cosmos DB fundamentals
18
-
### What is Azure Cosmos DB?
19
-
Azure Cosmos DB is a globally replicated, multi-model database service that offers rich querying over schema-free data, helps deliver configurable and reliable performance, and enables rapid development. It's all achieved through a managed platform that's backed by the power and reach of Microsoft Azure.
20
-
21
-
Azure Cosmos DB is the right solution for web, mobile, gaming, and IoT applications when predictable throughput, high availability, low latency, and a schema-free data model are key requirements. It delivers schema flexibility and rich indexing, and it includes multi-document transactional support with integrated JavaScript.
22
-
23
-
For more database questions, answers, and instructions for deploying and using this service, see the [Azure Cosmos DB documentation page](https://docs.microsoft.com/azure/cosmos-db/).
24
18
25
19
### What happened to the DocumentDB API?
26
20
@@ -120,7 +114,7 @@ Container and database level throughput provisioning are separate offerings and
120
114
121
115
Currently you can create collection with a partition key throughput by using the [CreatePartitionedCollection](https://github.com/Azure/azure-documentdb-dotnet/blob/master/samples/code-samples/CollectionManagement/Program.cs#L118) method of .Net SDK or by using the [Azure CLI](https://docs.microsoft.com/cli/azure/cosmosdb/collection?view=azure-cli-latest#az-cosmosdb-collection-create). Creating a fixed collection by using Azure portal is not currenlty supported.
122
116
123
-
## Develop against the SQL API
117
+
## SQL API FAQs
124
118
125
119
### How do I start developing against the SQL API?
126
120
First you must sign up for an Azure subscription. Once you sign up for an Azure subscription, you can add a SQL API container to your Azure subscription. For instructions on adding an Azure Cosmos DB account, see [Create an Azure Cosmos DB database account](create-sql-api-dotnet.md#create-account).
@@ -191,7 +185,7 @@ This is limitation of JavaScript. JavaScript uses double-precision floating-poin
191
185
Creating permissions by using ResourceTokens is allowed at the container level and its descendants (such as documents, attachments). This implies that trying to create a permission at the database or an account level is not currently allowed.
192
186
193
187
194
-
## Develop against the API for MongoDB
188
+
## MongoDB API FAQs
195
189
### What is the Azure Cosmos DB API for MongoDB?
196
190
The Azure Cosmos DB API for MongoDB is a compatibility layer that allows applications to easily and transparently communicate with the native Azure Cosmos DB database engine by using existing, community-supported Apache MongoDB APIs and drivers. Developers can now use existing MongoDB tool chains and skills to build applications that take advantage of Azure Cosmos DB. Developers benefit from the unique capabilities of Azure Cosmos DB, which include auto-indexing, backup maintenance, financially backed service level agreements (SLAs), and so on.
197
191
@@ -211,7 +205,7 @@ In addition to the common MongoDB error codes, the MongoDB API has its own speci
211
205
| TooManyRequests | 16500 | The total number of request units consumed has exceeded the provisioned request-unit rate for the collection and has been throttled. | Consider scaling the throughput assigned to a container or a set of containers from the Azure portal or retrying again. |
212
206
| ExceededMemoryLimit | 16501 | As a multi-tenant service, the operation has exceeded the client's memory allotment. | Reduce the scope of the operation through more restrictive query criteria or contact support from the [Azure portal](https://portal.azure.com/?#blade/Microsoft_Azure_Support/HelpAndSupportBlade). <br><br>Example: * db.getCollection('users').aggregate([<br> {$match: {name: "Andy"}}, <br> {$sort: {age: -1}}<br> ])*) |
213
207
214
-
## Develop with the Table API
208
+
## Table API FAQs
215
209
216
210
### How can I use the Table API offering?
217
211
The Azure Cosmos DB Table API is available in the [Azure portal][azure-portal]. First you must sign up for an Azure subscription. After you've signed up, you can add an Azure Cosmos DB Table API account to your Azure subscription, and then add tables to your account.
@@ -442,7 +436,7 @@ Azure Table storage and Azure Cosmos DB Table API use the same SDKs so most of t
442
436
### Why do I get throttled when I try to create lot of tables one after another in the Table API?
443
437
Azure Cosmos DB is an SLA-based system that provides latency, throughput, availability, and consistency guarantees. Because it is a provisioned system, it reserves resources to guarantee these requirements. The rapid rate of creation of tables is detected and throttled. We recommend that you look at the rate of creation of tables and lower it to less than 5 per minute. Remember that the Table API is a provisioned system. The moment you provision it, you will begin to pay for it.
444
438
445
-
## Develop against the Graph API
439
+
## Graph API FAQs
446
440
### How can I apply the functionality of Graph API to Azure Cosmos DB?
447
441
You can use an extension library to apply the functionality of Graph API. This library is called Microsoft Azure Graphs, and it is available on [NuGet](https://www.nuget.org/packages/Microsoft.Azure.Graphs).
448
442
@@ -453,7 +447,7 @@ Yes, we plan to add other mechanisms for query in the future.
453
447
To get started, complete the [Graph API](../cosmos-db/create-graph-dotnet.md) quick-start article.
454
448
455
449
<aid="cassandra"></a>
456
-
## Develop with the Apache Cassandra API (preview)
450
+
## Cassandra API FAQs
457
451
458
452
### What is the protocol version supported in the private preview? Is there a plan to support other protocols?
459
453
Apache Cassandra API for Azure Cosmos DB supports today CQL version 4. If you have feedback about supporting other protocols, let us know via [uservoice feedback](https://feedback.azure.com/forums/263030-azure-cosmos-db) or send an email to [[email protected]](mailto:[email protected]).
0 commit comments