What does it mean that Azure Cosmos DB is multi-model?

Looking at the new Azure cosmos database, I got a little confused about the multimode nature of it. In particular, does this mean:

a) The same base database / storage can be requested in several ways at the same time so that I can use both grmlin graphs and mongodb api for the same collections.

  • or -

b) Does this mean that you can choose a different model (graph, key value, column, document) while submitting your Cosmos database, and that is how the data will be saved from now on.

The brochure makes it sound a), but using the Azure panel to create an instance of space, it looks like b), because you need to choose the type of model to create.

In addition, the literature contains a reference to columnar data, but I do not see the possibility for it at creation time.

+6
source share
3 answers

Cosmos Database is a single NoSQL data processing engine, an evolution of Document DB. When you create a container ("database instance"), you select the most appropriate API for your use case, which optimizes the way you interact with the underling data warehouse and how the data is stored in this warehouse.

Thus, depending on the selected API, he designs the desired model (graph, column, key value or document) in the main store.

API , - , . API - , , .., .

@Jesse Carter, , , , API- DocumentSQL.

:

, API

Azure Cosmos DB , , -, . Cosmos (ARS). , string, bool number. - , . , , . ARS. Cosmos DB - JSON.

API . Cosmos DocumentDB SQL, MongoDB, Azure Tables ( ) Gremlin ( ). , API OSS, . [/P >

+3

Cosmos DB - Atom-Record-Sequence. - SQL, , SQL API, Mongo, Cassandra, Gremlin, Azure Table ..

(, , ..) -. , SQL API. . Cosmos ( , ) "" . , Table API Mongo .

X API Y. , SQL API API . . API , . , - API SQL API, , , .

, , , , , , .

, API-, " ", "" API . , , API- SQL API API , API , SQL API.

+4

.

Cosmos DB - NoSQL, , Atom-Record-Sequence.

? , JSON , , Cosmos JSON, . Cosmos: , , , , .

@JesseCarter , API API. Table API , , API .

The guys at Spectologic wrote a good blog post about using Cosmos Cross-API, and also noted that multimodeling is more about cosmetics than internal, the only real exception is Mongo. An interesting part is indicated in the chapter "Switching the portal experience" here: https://blog.spectologic.com/2017/06/30/digging-into-cosmosdb-storage/

So perhaps in the end it comes down to GlobalDocumentDbvs.MongoDb

0
source

All Articles