Indexes and logs also consume data storage.
Most of the datastore APIs (python db, ndb, java low-level, jdo/jpa,
etc) default to creating two indexes (asc and desc) on every property.
Each of these index entries represents another row in a BigTable
tablet; for small entities, each of these rows are only slightly
smaller than the master blob. So 5 indexed properties could easily
cause a 5-10X expansion in your total stored data volume.
You can't vacuum these indexes; unlike multi-property indexes defined
in datastore-indexes.xml/yaml, single-property indexes are established
when you save an entity and are only deleted by resaving the entity.
If you are concerned about space (or datastore write operations), you
should go through your data model and flag any properties you aren't
querying on as unindexed. Then you will need to resave your entities
to reclaim index space.
Jeff
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/s00-DD85r4cJ.
>
> To post to this group, send email to google-a...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengi...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
Is it really two indexes for both asc and desc for each simple
property that is indexed? If so, then it would be great if we could
specify if we only wanted ASC or only DESC to sames some unwanted
writes.
With HRD and indexing, the writes add up real quick (especially using
the Pipeline library[1])
rock on,
-hardwick
[1] - http://code.google.com/p/appengine-pipeline/
On Mar 23, 12:45 pm, Jeff Schnitzer wrote:
Jeff
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/OKEYKwowuZUJ.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to