arangodb - 查询后是否需要删除 arangodb 游标?

标签 arangodb

我想知道光标是否可以自动删除,还是应该手动删除。如果不删除,会不会造成内存泄漏?

最佳答案

当您检索所有请求的文件时,它将被自动删除。来自 docs :

The cursor will automatically be destroyed on the server when the client has retrieved all documents from it. The client can also explicitly destroy the cursor at any earlier time using an HTTP DELETE request. The cursor id must be included as part of the URL.

Note: the server will also destroy abandoned cursors automatically after a certain server-controlled timeout to avoid resource leakage.

关于arangodb - 查询后是否需要删除 arangodb 游标?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26033355/

相关文章:

Node.js + Arangodb 建立连接并获取查询

java - Arangodb Java 驱动程序 排序路径

Arangodb 更新查询失败,错误 1213

arangodb - 使用 ArangoDB AQL 从属性创建边

java - AQL-在 Arangodb 中可以实现预期连接以及如何实现?

visual-studio-2013 - 错误 MSB4057 : The target "v8" does not exist in the project

ArangoDB - 如何通过数组元素的子字符串查找集合中的元素?

arangodb - AQL 按 ID 数组过滤

database - 如何在一个查询中检索树中每个节点的前 n 个子节点

arangodb - 在ArangoDB中向上遍历