> Actually, I'm it take about 1500 mcycle to update one entity and then
> an about an additional 1000 mcycle per additional entity (each a
> different kind in this case) that is updated via the same db.put call.
Is this in production? What size is the entity? Is it in a large
entity group? How much contention do you think is involved?
Dave.
I'm sure not every property of an entity is used in a query to retrieve objects.
To reduce the number of index updates it could be useful to have a
non-index version of every property type. Just like we have for the
StringProperty. The TextProperty does not have an index to be updated.
A possible syntax to tell AppEngine NOT to create and update an index for a
property would be to add an attribute to the Property constructor.
The default value of the attribute is True.
def MyModel(db.Model):
id = db.IntegerProperty(required=True)
num1 = db.IntegerProperty(need_index=False)
This would also help not to often hit the entity-index-update-limit
('exploding' index).
Are the index updates counted in the mcycles used?
2008/10/15 Josh Heitzman <JoshHe...@hotmail.com>: