Google Appengine Ndb GQL查询最大限额是多少? [英] What is the Google Appengine Ndb GQL query max limit?

查看:124
本文介绍了Google Appengine Ndb GQL查询最大限额是多少?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在四处寻找以获得答案Google AppEngine上Ndb上的GQL查询可获得的最大结果限制是多少。我正在使用带有游标的实现,但如果一次检索它们,速度会更快。

I am looking around in order to get an answer what is the max limit of results I can have from a GQL query on Ndb on Google AppEngine. I am using an implementation with cursors but it will be much faster if I retrieve them all at once.

推荐答案

基本上,您不再有每个查询1000个实体的旧限制,但考虑使用合理的限制,因为您可以打出超时错误,最好让他们分批处理,这样用户就不会在加载时间内等待。

Basically you don't have the old limit of 1000 entities per query anymore, but consider using a reasonable limit, because you can hit the time out error and it's better to get them in batches so users won't wait during load time.

这篇关于Google Appengine Ndb GQL查询最大限额是多少?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆