Re: [appengine-java] Re: Put (insert) data store operations use increasingly high amount of CPU as the number of entities increases

2010-01-20 Thread Ikai L (Google)
How many child entities does a model have? Is it in a transaction? Index updates are synchronous, though a simple update to the index should not dramatically increase the insert time. In addition to reducing the indexed properties, you may also want to look at inserting entities asynchronously

[appengine-java] Re: Put (insert) data store operations use increasingly high amount of CPU as the number of entities increases

2010-01-20 Thread Lucian Baciu
In total my model has about 4000 entities. The shape of my model is like this: a root entity that has many owned one to many relationships (about 10), and each children collection can have hundreds or thousands of child entities in them, something like: public class Account{

Re: [appengine-java] Re: Put (insert) data store operations use increasingly high amount of CPU as the number of entities increases

2010-01-20 Thread Ikai L (Google)
How much does the CPU time increase by? On Wed, Jan 20, 2010 at 1:59 PM, Lucian Baciu lucianba...@gmail.com wrote: In total my model has about 4000 entities. The shape of my model is like this: a root entity that has many owned one to many relationships (about 10), and each children

[appengine-java] Re: Put (insert) data store operations use increasingly high amount of CPU as the number of entities increases

2010-01-20 Thread Lucian Baciu
This is what an insert request looks like now: 10659ms 44687cpu_ms 40040api_cpu_ms for about 4000 entities in the model. I would say its increases by 10 seconds per 1000 entities. On Jan 21, 12:01 am, Ikai L (Google) ika...@google.com wrote: How much does the CPU time increase by? On Wed,

Re: [appengine-java] Re: Put (insert) data store operations use increasingly high amount of CPU as the number of entities increases

2010-01-20 Thread Ikai L (Google)
Do you have 4000 entities total? Or 4000 child entities for the model? On Wed, Jan 20, 2010 at 2:04 PM, Lucian Baciu lucianba...@gmail.com wrote: This is what an insert request looks like now: 10659ms 44687cpu_ms 40040api_cpu_ms for about 4000 entities in the model. I would say its increases

[appengine-java] Re: Put (insert) data store operations use increasingly high amount of CPU as the number of entities increases

2010-01-20 Thread Lucian Baciu
Sorry, I have 4000 entities in the entity group (child entities). On Jan 21, 12:21 am, Ikai L (Google) ika...@google.com wrote: Do you have 4000 entities total? Or 4000 child entities for the model? On Wed, Jan 20, 2010 at 2:04 PM, Lucian Baciu lucianba...@gmail.com wrote: This is what

[appengine-java] Re: Put (insert) data store operations use increasingly high amount of CPU as the number of entities increases

2010-01-18 Thread Lucian Baciu
That's a great video, but I don't think it can help me. I think my model is right, it is basically 1 to many owned relationship and as the number of child entities grows so does the insert operations time. I can't figure out why! Any idea why??? Thanks, Lucian On Jan 15, 8:55 pm, Ikai L (Google)