User:Renamshah/sandbox

Microsoft Azure DocumentDB is a managed Document-oriented Database NoSQL service on Microsoft Azure with query and indexing capabilities over a schema-free JSON data model. It supports native JavaScript transactional processing, and is built for the cloud with elastic scale. DocumentDB is a document NoSQL database service. Different from the traditional database, document database is truly schema-free. In a short, you can save anything in the same database and collection if it could be serialized to JSON. When you query the document database, all sub documents will be retrieved at the same time. This means you don't need to join other tables when using a traditional database. Document database is very useful when we build some high performance system with hierarchical data structure.

Main features

 * Fully Managed Cloud Service With Elastically Scalable throughput and storage
 * DocumentDB is a Fully Managed Cloud Service with elastically scalable throughput and storage. Size units are in increments of 10 GB.


 * Indexing And SQL Query On Heterogeneous Documents
 * DocumentDB supports SQL queries over arbitrary documents without forcing the developer to create explicit schema or secondary indices or views which gives developers the freedom to rapidly iterate on application schema while preserving the ability to execute ad hoc queries yielding consistent results when write rates are high.


 * Tunable Consistency
 * DocumentDB offers four distinct consistency levels for reads and queries - Strong, Bounded Staleness, Session, and Eventual.These well-defined consistency levels allow you to make sound tradeoffs between consistency, availability and latency. Bounded staleness guarantees both total ordering of writes as well as maximum staleness, a consistency level that is useful for applications dealing with time and ordered operations. Session consistency provides read your own write guarantees and can be a good match for user centric apps. These consistency levels are backed by predictable performance levels ensuring you can achieve consistent results for your application.


 * JavaScript execution within the database
 * DocumentDB has integrated JavaScript execution directly into the database engine. All execution of application JavaScript logic is sandboxed, resourced governed and fully isolated. Stored procedures and triggers can be natively written in JavaScript. JSON can be materialized as JavaScript objects and transactions can be aborted by throwing an exception. It support REST API, Node.js SDK and Python SDK.

Availability
DocumentDB is available for preview in West US, North Europe and West Europe at Microsoft Azure

Language support
DocumentDB provides a number of different ways to program against it. You can use the REST API directly over HTTPS, or you can choose from either the .NET, Node.js, JavaScript or Python client SDKs.