[google-appengine] Re: Transactionally updating multiple entities over 1MB

2009-08-16 Thread Stakka
Wierd, I just hit a limit on the size of a transaction when commiting: java.lang.IllegalArgumentException: datastore transaction or write too big. All (23) entities in the transaction where in the same entity group, not using batch put and ~990k in size. On 23 Juli, 12:30, Nick Johnson

[google-appengine] Re: Transactionally updating multiple entities over 1MB

2009-07-23 Thread Nick Johnson (Google)
Hi Juraj, No, there's no limit to the size of an entity group - only on the maximum rate at which you can update entities in a single entity group. -Nick Johnson On Fri, Jul 17, 2009 at 4:03 PM, Juraj Vitko juraj.vi...@gmail.com wrote: Nick, just one clarification (I can't find in docs) - is

[google-appengine] Re: Transactionally updating multiple entities over 1MB

2009-07-17 Thread Juraj Vitko
Nick, just one clarification (I can't find in docs) - is there a limit on the total size of an entity group? On Jun 29, 12:28 pm, Nick Johnson (Google) nick.john...@google.com wrote: On Sat, Jun 27, 2009 at 4:14 PM, Andy Freemanana...@earthlink.net wrote: Does that mean that db.put((e1,

[google-appengine] Re: Transactionally updating multiple entities over 1MB

2009-06-29 Thread Nick Johnson (Google)
On Sat, Jun 27, 2009 at 4:14 PM, Andy Freemanana...@earthlink.net wrote: Does that mean that db.put((e1, e2, e3,)) where all of the entities are 500kb will fail? Yes. Thanks. I'll take this opportunity to promote a couple of related feature requests. (1) We need a way to estimate

[google-appengine] Re: Transactionally updating multiple entities over 1MB

2009-06-27 Thread Andy Freeman
Does that mean that db.put((e1, e2, e3,)) where all of the entities are 500kb will fail? Yes. Thanks. I'll take this opportunity to promote a couple of related feature requests. (1) We need a way to estimate entity sizes http://code.google.com/p/googleappengine/issues/detail?id=1084 (2)

[google-appengine] Re: Transactionally updating multiple entities over 1MB

2009-06-26 Thread Nick Johnson (Google)
Hi tav, Batch puts aren't transactional unless all the entities are in the same entity group. Transactions, however, _are_ transactional, and the 1MB limit applies only to single API calls, so you can make multiple puts to the same entity group in a transaction. -Nick Johnson On Fri, Jun 26,

[google-appengine] Re: Transactionally updating multiple entities over 1MB

2009-06-26 Thread Andy Freeman
the 1MB limit applies only to single API calls Does that mean that db.put((e1, e2, e3,)) where all of the entities are 500kb will fail? Where are limits on the total size per call documented? http://code.google.com/appengine/docs/python/datastore/overview.html#Quotas_and_Limits only mentions

[google-appengine] Re: Transactionally updating multiple entities over 1MB

2009-06-26 Thread Nick Johnson (Google)
On Fri, Jun 26, 2009 at 4:42 PM, Andy Freeman ana...@earthlink.net wrote: the 1MB limit applies only to single API calls Does that mean that db.put((e1, e2, e3,)) where all of the entities are 500kb will fail? Yes. Where are limits on the total size per call documented?