DocumentDB

Azure DocumentDB [1] is Microsoft’s multi-tenant distributed database service for managing JSON documents at Internet scale.

By default, every field in each document is automatically indexed generally providing good performance without tuning to specific query patterns. These defaults can be modified by setting an indexing policy which can vary per field.

With the current recommended option of "partitioned collection" type, DocumentDB is dynamically tunable along three dimensions:

  1. Throughput. Developers configure the throughput of the service according to the application's load. Behind the scenes, DocumentDB will scale up resources (memory, processor, partitions, replicas, etc.) to achieve that requested throughput while keeping constant the 99.99th percentile of latency to under 10ms. Throughput is specified in request units (RUs) per second. RU costs vary based upon a number of factors, but the fetching of a single 1KB document by id spends roughly 1 RU. Delete, update, and insert operations consume roughly 5 RUs assuming 1KB documents. Big queries and stored procedure executions can consume 100s or 1000s of RUs based upon the complexity of the operations needed.[2]
  2. Space. Similarly, Developers can specify how much storage they will need. Both space and throughput directly effect how much the user is charged but either can be tuned up dynamically to handle peak load and down to save costs when more lightly loaded.
  3. Consistency. DocumentDB provides four consistency levels: strong, bounded-staleness, session, and eventual. The further to the left in this list, the greater the consistency but the higher the RU cost which essentially lowers available throughput for the same RU setting. Session level consistency is the default.[3] Even when set to less restrictive consistency level, any arbitrary set of operations can be executed in an ACID compliant transaction by performing those operations from within a stored procedure.

Use within Azure

Azure data lake access to DocumentDB

Querying DocumentDB repositories

SQL-like language over JSON

References

  1. http://azure.microsoft.com/en-us/services/documentdb/
  2. syamkmsft. "DocumentDB storage and performance". docs.microsoft.com. Retrieved 2016-12-01.
  3. syamkmsft. "Consistency levels in DocumentDB". docs.microsoft.com. Microsoft. Retrieved 2016-12-01.
This article is issued from Wikipedia - version of the 12/2/2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.