[google-appengine] Index building CPU time

2010-01-03 Thread jd
Hi,

I am in the process of importing data into my application and notice
about 10x clock time CPU usage - that is each 30 second task uses
about 300 seconds of CPU quota.  I assume that this is mainly used
indexing my entities - each has about 70 properties indexed (a
geospatial "map block" index).

Now I have modified my custom indexes and they are still building.
But I don't see the CPU time accounted for anywhere.  Is this _free_
CPU time?

If so, is it cheaper to remove all indexes before importing data by
setting properties as unindexed and removing custom indexes, import
the data and then add the indexes again?

If I modify an Entity to set a property from unindexed to indexed will
a new "implicit index" be created?  Will I have to re-put the entities
to include them in the index?

Thanks,

John

--

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-appeng...@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.




Re: [google-appengine] Index building CPU time

2010-01-03 Thread Barry Hunter
2010/1/3 jd :

>
> If I modify an Entity to set a property from unindexed to indexed will
> a new "implicit index" be created?  Will I have to re-put the entities
> to include them in the index?
>

Yes you will. Only when perform the put, will the the Entity be added
to that single property index.

Think of it you are only changing the entity definiton (model) - which
inlcudes index definiton - for new Entites, it doesnt change it ones
already in the datastore.

--

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-appeng...@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.