0

I am evaluating databases for my new project where existing data is stored in cosmos SQL database.

For our use case graphDB seem to be a good solution. My Options are Gremlin API or TigerGraph.

I heard Gremlin API is built on top of document database so queries will be slower as Graph queries first gets converted to nosql queries, is that true statement? Any pointers here?

4

1 回答 1

1

Gremlin 查询语言是 Apache TinkerPop 的一部分。TinkerPop 没有规定如何构建后端存储和查询引擎。它附带了一个用 Java 编写的参考内存图,它实际上使用一个简单的 HashMap 来存储数据。TinkerPop 已被移植到许多不同的后端商店和存储模型。然而,作为文档存储并不常见,并且不需要将 Gremlin 查询转换为 SQL,除非您将 TinkerPop 移植到关系或其他存储之上并以这种方式实现它。我使用过的大多数支持 Apache TinkerPop 的图形数据库都使用自定义构建的图形引擎,并拥有自己的与 SQL 无关的查询优化器。我应该补充一点,我不熟悉 CosmosDB Gremlin 支持的实现方式。

于 2021-08-27T19:48:47.460 回答