Hi,

I don't have any complex properties. 12 String type and two Date type.
I reupload the app with another name. This time I only did the data
uploading task.
Now I can upload 2000 records before my quota limit expires.
I am using JDO and locally I can store all 60000 data without any trouble.



On 1 February 2012 03:42, Simon Knott <knott.si...@gmail.com> wrote:

> Hi,
>
> The calculation for datastore writes for new entities is:
> 2 Writes + 2 Writes per indexed property value + 1 Write per composite
> index value  (see
> http://code.google.com/appengine/docs/billing.html#Billable_Resource_Unit_Cost
>  for
> more information).
>
> If you have 14 simple properties, then storing each entity will currently
> consume 30 datastore writes, since per-property indexes are on by default.
>  If you turn off all of the per-property indexes each entity will take 2
> datastore writes, so you will still have to batch your upload over a few
> days (you'll be able to upload ~25,000 entities per day, with no other
> traffic to your app).  I'm a little confused though, as you say that you're
> only able to upload ~200 a day at the moment - are all of those properties
> simple, or do you have some list properties?
>
> What framework are you using for persisting your data?  Each persistence
> framework has a different way of turning off the per-property indexes.  It
> should be noted that if you remove a per-property index, you can no longer
> query on that property.
>
> Cheers,
> Simon
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine-java/-/yrK37ElTl2YJ.
>
> To post to this group, send email to
> google-appengine-java@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine-java+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>

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

Reply via email to