Azure cosmosdb 更改Cosmos DB图形API超时
在Cosmos DB Gremlin API中,查询超时似乎设置为30秒。有没有一个已知的方法来增加它Azure cosmosdb 更改Cosmos DB图形API超时,azure-cosmosdb,gremlin,azure-cosmosdb-gremlinapi,Azure Cosmosdb,Gremlin,Azure Cosmosdb Gremlinapi,在Cosmos DB Gremlin API中,查询超时似乎设置为30秒。有没有一个已知的方法来增加它 在gremlin驱动程序中忽略超时3.4.3 与Gremlin Console中的:远程配置超时行为相同3.4.3 从中增加吞吐量也没有帮助 //图形的顶点数超过200000个 字符串superSlowQuery=“g.V().repeat(identity()).times(32)”; 时间(()->client.submit(superSlowQuery.all().get()); /
- 在
gremlin驱动程序中忽略超时
3.4.3
- 与Gremlin Console中的
:远程配置超时
行为相同
3.4.3
- 从中增加吞吐量也没有帮助
//图形的顶点数超过200000个
字符串superSlowQuery=“g.V().repeat(identity()).times(32)”;
时间(()->client.submit(superSlowQuery.all().get());
//31560ms后操作取消异常
时间(()->client.submit(superSlowQuery.all().get());
//35081ms后操作取消异常
RequestOptions RequestOptions=RequestOptions.build().timeout(120*1000.create();
时间(()->client.submit(superSlowQuery,requestOptions).all().get());
//31656ms后操作取消异常
如30秒超时中所述,是预定义的,没有迹象表明它是可配置的:
遍历超时-30秒-超过此时间时将取消遍历。Cosmos DB Graph是一个OLTP数据库,绝大多数遍历都在毫秒内完成。要在Cosmos DB Graph上运行OLAP查询,请使用带有Graph数据帧的Apache Spark和Cosmos DB Spark连接器
您是否找到了此问题的答案,在3.4.3中无法看到,在寻找此问题的答案时,该问题被忽略