I've got simple JDO entity with two String attributes

1) If I load the entity from database, change one attribute and write
it back - how many writes to indexes I should expect? (2 for the
entity (key + key index) + 2 for changed attribute OR 2 for the entity
+ 4 for all attributes including those I didn't touch)?

2) if I use the entity for long time and then decide to change the
structure and I let say remove one attribute and keep only one, then I
delete/re-update all my entities in db. Can I expect that indexed data
for the removed entity will be deleted and do they stay in datastore
and have to be cleaned by admin/manually?

I could see some strange issues with my app for which I was changing
the db structure pretty regularly - I ended up with almost empty
database (went down from 100k entities to 2k entities) but the
datastore still shown 95% full (so my guess would be lost indexes?). I
had to move the app to different appname as actually my ticket in bug
track for gae is still after 30 days open and not resolved.

Thanks for explanation.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to