Azure DocumentDb storage limits - what exactly do they mean?

Azure DocumentDb has some weird storage restrictions :

--------------------------------------------------------------------
| Entity                           | Default quota (Standard Offer)|
-------------------------------------------------------------------|
| Document storage per collection  | 250 GB*                       |
-------------------------------------------------------------------|
| Throughput per collection,       | 250,000 RU/s*                 |
| measured in Request Units per    |                               |
| second per collection            |                               |
-------------------------------------------------------------------|
| Request document size            | 512 KB*                       |
-------------------------------------------------------------------|
| Response document size           | 1MB                           |
-------------------------------------------------------------------|

The size of the requested document. Does this mean that the size of the json payload sent for storage in documentdb cannot exceed 512 KB without a support request?

Also, if a support request is made for a larger request document, what are the limits of this? May I ask for 1MB? 2MB?

The size of the response document. Does this mean that the size of the json response cannot exceed 1 MB? It hardly seems useful for anything but the simplest entities.

+4
source share
1 answer

: 2016 DocumentDB 2 4

DocumentDB . , "" ... , :

( : 2 )

2 . , JSON = 2 , . : https://docs.microsoft.com/en-us/azure/cosmos-db/documentdb-resources#documents

, . , DocumentDB .

- ( ), > 2 , - .

( : 4 )

- DocumentDB (, 1 , 1 , 1 ..).

DocumentDB , ( 4 ).

:

- ( DocumentDB), , , ... , - , vs hours vs, ?

DocumentDB , , . :

  • : 4
  • : 5
  • ( , )

, , .

, #.NET SDK:

var query = client.CreateDocumentQuery<Family>(collectionUri, "SELECT * FROM Families", options).AsDocumentQuery();
while (query.HasMoreResults)
{
    foreach (Family family in await query.ExecuteNextAsync())
    {
        families.Add(family);
    }
}

, SDK paginates :

var families= client.CreateDocumentQuery<Family>(collectionUri, "SELECT * FROM Families", options).toList();
+17

Source: https://habr.com/ru/post/1658277/


All Articles