[英]arangodb AQL Limit > 1000
I observe a problem when using LIMIT > 1000
in AQL: 在AQL中使用
LIMIT > 1000
时发现问题:
LIMIT 1000
, lasting less then a second. LIMIT 1000
,持续时间不到一秒。 LIMIT 1001
, the query becomes terribly slow... I abort it after 20 seconds. LIMIT 1001
开始,查询变得非常慢......我在20秒后中止它。 Here are the examples: 以下是示例:
FOR e IN subcategoryOf
LIMIT 1000
RETURN { "id": e._id, "text": e.text }
--> Fast, below a second
FOR e IN subcategoryOf
LIMIT 1, 1000
RETURN { "id": e._id, "text": e.text }
--> Fast, below a second
FOR e IN subcategoryOf
LIMIT 1, 1001
RETURN { "id": e._id, "text": e.text }
--> not answering after 20 seconds, manually aborted then.
Does anybody observe the same or have a hint for me? 有没有人观察相同或暗示我?
I'm using ArangoDB 2.3.0 on Windows, and the aardvark AQL editor. 我在Windows上使用ArangoDB 2.3.0和aardvark AQL编辑器。
Thanks, this was a bug in the web interface. 谢谢,这是网络界面中的一个错误。 I have fixed it in this commit: https://github.com/triAGENS/ArangoDB/commit/7656efd82fcbb31160d2ca4842f72190491101b8
我在此提交中修复了它: https : //github.com/triAGENS/ArangoDB/commit/7656efd82fcbb31160d2ca4842f72190491101b8
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.