簡體   English   中英

arangodb AQL限值> 1000

[英]arangodb AQL Limit > 1000

在AQL中使用LIMIT > 1000時發現問題:

  • 查詢快速達到LIMIT 1000 ,持續時間不到一秒。
  • LIMIT 1001開始,查詢變得非常慢......我在20秒后中止它。

以下是示例:

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.

有沒有人觀察相同或暗示我?

我在Windows上使用ArangoDB 2.3.0和aardvark AQL編輯器。

謝謝,這是網絡界面中的一個錯誤。 我在此提交中修復了它: https//github.com/triAGENS/ArangoDB/commit/7656efd82fcbb31160d2ca4842f72190491101b8

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM