0

We want to perform bulk (millions of low-cost) query/read operations on a graph that we have in Cosmos DB using the Gremlin API in .NET C#. What is the best way to do so?

We know about BulkExecutor Library which only supports Bulk Import and Bulk Update operations. Is there something similar for Bulk Query/Read operations?

Currently, I am using a Gremlin.Net.Driver, GremlinClient (https://learn.microsoft.com/en-us/azure/cosmos-db/create-graph-dotnet) to fire queries. However, this driver is very slow compared to the BulkExecutor libraries BulkImport operations.

user2662833
  • 1,005
  • 1
  • 10
  • 20

1 Answers1

0

Currently the only support using Bulk is using Bulk V3 for point read operations (not queries).

So if you know the Id and Partition key value of your documents, you can leverage Bulk mode with ReadItem operations.

Matias Quaranta
  • 13,907
  • 1
  • 22
  • 47