Azure DocumentDB is officially released. azuredocumentdb
About DocumentDB
A NoSQL JSON Database
Azure DocumentDB provides fully-hosted NoSQL database services, featuring high availability, automatic scaling, simple development, and accelerated and predictable performance. It is suitable for applications that require seamless scaling, such as Web, Mobile, Gaming, and IoT.
This article discusses the following issues:
What is DocumentDB?
How does DocumentDB manage data?
How to Use DocumentDB for development?
What are the subsequent steps?
What is Azure DocumentDB?
DocumentDB is a truly unstructured NoSQL database service. As a JSON database, DocumentDB supports JSON documents that can be iterated in a simple application architecture and applications that require key/value, document, or table data models. DocumentDB uses a widely used JSON and JavaScript language to avoid mismatch between application-defined objects and database architecture.
Features and advantages of Azure DocumentDB are as follows:
• Throughput and storage that can be flexibly increased or decreased
• Ad hoc queries using familiar SQL syntax
• Execute JavaScript in the database
• Adjustable consistency level
• Fully managed
• Open Design
DocumentDB is suitable for large-scale applications running on the Internet.
How to manage data in Azure DocumentDB
Azure DocumentDB manages data through well-defined database resources. The copied resource has high availability and allows its logical URI to be accessed separately and uniquely. DocumentDB provides an HTTP-based RESTful programming model for all resources.
The DocumentDB database account is the only way to access Azure Document DB. Before creating an account, you must subscribe to Azure to access its services.
All resources in DocumentDB are modeled and stored as JSON documents. These resources can be managed as items (a JSON document containing metadata) or as sources (item sets. The item set is included in their respective sources.
Use Azure DocumentDB for development
Azure DocumentDB can publish resources through the rest api and call this API in any language that sends HTTP/HTTPS requests. In addition, DocumentDB provides programming libraries for multiple mainstream languages. This library can be used in the following languages and platforms:
Download |
Document |
. NET SDK |
. NET Library |
Node. js SDK |
Node. js Library |
Java SDK |
Java Library |
JavaScript SDK |
JavaScript Library |
Not applicable |
Server-side JavaScript SDK |
Python SDK |
Python Library |
In addition to basic operations, the SQL query interface provided by DocumentDB can also be used to retrieve JSON documents and support JavaScript applications to execute transactions. The query and script execution interfaces are applicable to all platform libraries and REST APIs.
SQL query
Azure DocumentDB uses the SQL language and expressions that support relational, hierarchical, and spatial queries to query documents. For. NET developers, DocumentDB also provides the LINQ query provider (as part of the. net sdk ).
Subsequent steps
If you already have an Azure account, use DocumentDB in Azure portal preview.
If you do not have an Azure account, register for a trial of Azure 1 RMB and use the Azure service worth RMB 1,500.