App Engine Datastore - devserver limits

旧城冷巷雨未停 提交于 2019-12-13 12:11:54

问题


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


回答1:


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!



来源:https://stackoverflow.com/questions/2352688/app-engine-datastore-devserver-limits

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!