App Engine数据存储 - devserver限制 [英] App Engine Datastore - devserver limits

查看:80
本文介绍了App Engine数据存储 - devserver限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图测试Google App Engine数据存储库的效率。我想知道它将以多快的速度查询大型数据集。就我而言,我的意思是说,就像同样类型的5-10万个实体。

devserver只允许我输入1000个相同类型的实体。有没有办法提高这个限制?谢谢

解决方案

我假设您正在讨论 http:// localhost:8080 / _ah / admin / ?如果您想插入多个条目,则应使用代码或散装加载程序。对于可以使用这些方法插入的条目数量没有限制。

但这并不是特别说明:dev_appserver数据存储的性能不代表生产数据存储的性能。 dev_appserver当前将数据存储在内存中,因此一旦超出了物理RAM中的数据量,它将显着减速。显然,生产数据存储没有任何相似之处!


I'm trying to test the efficiency of the Google App Engine Datastore database. I want to know how fast it will query over a large dataset. And by large, I mean like 5-10mil entities of the same kind.

The devserver only lets me input 1000 entities of the same kind. Is there a way to up this limit? Thanks

解决方案

I presume you're talking about the admin interface on http://localhost:8080/_ah/admin/? If you want to insert many entries, you should be using code, or the bulkloader. There's no limit on the number of entries you can insert using those methods.

This won't be particularly illustrative, though: The performance of the dev_appserver datastore is not representative of the performance of the production datastore. dev_appserver currently stores data in memory, so once you exceed what can be held in your physical RAM, it will slow down dramatically. Obviously, nothing similar applies to the production datastore!

这篇关于App Engine数据存储 - devserver限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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