Google Appengine大量索引数据(python)
我们刚刚超过了 AppEngine 中的免费数据使用配额,这很棒,但看看我们的数据分解,1G 中只有 200M 是实际数据/元数据(仍然不敢相信他们会为您锁定该数据),其余的我认为是阅读帮助论坛的索引。有谁知道这是否正常,如果不正常,有什么好的技巧可以减少索引数据的大小吗?
干杯, 理查德
We've just outgrown our free data usage quota in AppEngine which is great but looking at our data breakup, only 200M of the 1G is actual data / meta-data (still can't believe they pin you for that one) and the rest I assume is indexes from reading the help forums. Does anyone know if this is normal and if not are there any good tips to reduce the size of the indexed data?
Cheers,
Richard
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
取决于您存储在其中的内容。我们有 32GB 的字符串/整数/文本数据、181GB 的索引/元数据和 812GB 的 blob(我们存储了大量的小图像)。所以这实际上取决于您的查询和设置。
您可以运行
真空索引(删除未使用的内容)。
GAE 自动为所有属性创建简单索引,但您可以通过添加
属性来禁用它们。请参阅 http://code.google.com/appengine/docs/python/数据存储/propertyclass.html
Depends on what you are storing in it. We've got 32GB of String/Integer/Text data, 181GB of indexes/meta-data and 812GB of blobs (we are storing a lot of small images). So it really depends on your queries and settings.
You can run
to vacum indexes (remove unused stuff).
GAE automatically creates simple indexes for all properties, but you can disable them by adding
on the property. See http://code.google.com/appengine/docs/python/datastore/propertyclass.html