0

I have been thinking about what are the pros and cons of SQL Graph Database and Cosmos Graph Database, as far as I understand, SQL graph database is using nodes and vertex, but it still stores all of the information in tables.

So my question would be if the graph data can be handled by graph Db, what are the advantages of using SQL graph database? What is the added value of it compared with the original graph Database ?

1 Answer 1

0

SQL Graph Database and Cosmos Graph Database both are almost same kind of services, just the structure of handling the data is different. As such there are no advantages and disadvantages, but choosing the right service based on your use-case is the key factor.

Azure Cosmos DB's Gremlin API combines the power of graph database algorithms with highly scalable, managed infrastructure to provide a unique, flexible solution to most common data problems associated with lack of flexibility and relational approaches.

So, by using Azure Cosmos DB Gremlin API, you will get more leverage on the datasets with additional features. On the top of that, all the prerequisites will be taken care by CosmosDB while creating the database using Gremlin API.

In SQL Graph DB, nodes and edges are in tabular form, whereas in Cosmos DB it is in JSON like format.

I would highly encourage you to analyze how these databases support graph database models and the mechanism to exploit the maximum potential of these database systems for the right use-cases.

Please refer below articles to get the better understanding of both the services.

SQL Graph Architecture

Introduction to Gremlin API in Azure Cosmos DB

3
  • We set up graph DB for storing the RDF sets. The scenario is we want to be able to edit the data and node in a very flexible way. Meanwhile, User Management is also required. I looked into lots documents, still can't decide what is better in our case
    – amy cai
    Feb 9, 2022 at 8:50
  • for RDF, CosmosDB Gremlin API is the better option. You won't need to manage the configurations like scalability, indexing, etc. Feb 9, 2022 at 9:24
  • Good point! Thanks for sharing your opinion.
    – amy cai
    Feb 9, 2022 at 9:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.