zhuiyi1 commented on issue #586: URL: https://github.com/apache/incubator-hugegraph/issues/586#issuecomment-2058639457
> >  gremlin 超过 80W 这问题治不了了是嘛 > > @megodlike 方法有不少, 首先你的写法可以改一下. `g.V().limit(1000).out()` 提前限制, 因为你扫一遍所有点其实也没有多少意义, 当然后续这种语法我们也可以做优化, 把它提前限制. 然后包括当前 issue 里写到的, 使用 page 分页也可以查询, 跟 mysql 类似, 一般 db 也不会让你扫全表的 (不过后续我们可以让用户自行决定) > > 另外, 80w 的限制也可以代码里调整一下, 我们后续可以提供一个参数供大家自己选择. @imbajin 大佬zai在启动服务时报错 Too many records(must <= 800000) for the query: `Query * from VERTEX`  -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
