Thanks very much Nicholas, very helpful. I would say the 16 digit rules apply to the auto generated ids as I dont see any larger on our entities.
On Thursday, 7 July 2016 04:57:57 UTC+10, Nicholas (Google Cloud Support) wrote: > > According to *How Entities and Indexes are Stored* > <https://cloud.google.com/appengine/articles/storage_breakdown#anc-idsequencestable> > > under *Id sequences table*, generated numerical datastore IDs are 64-bit > integers (signed is the assumption as it is not stated otherwise). This > would suggest the maximum value would be 9,223,372,036,854,775,807. The > *Entities, > Properties, and Keys* > <https://cloud.google.com/appengine/docs/python/datastore/entities#Python_Assigning_identifiers> > > article however, suggests under *Assigning identifiers* that generated > IDs can be up to 16 decimal digits long. Thus, the limit would be slightly > smaller at 9,999,999,999,999,999. > > Hope this helps make informed decisions about the use/reuse of IDs in your > entities. > > On Tuesday, July 5, 2016 at 7:41:36 PM UTC-4, Jay Kyburz wrote: >> >> Hey all, >> >> Today I'm integrating our app into the Steam store and I would like to >> use an entity's key.id() as an "orderid" which must be less than a >> uint64. >> >> Anybody know what the maximum number an entity's id can be when >> automatically generated? >> > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/d987bf65-6dd9-4cf7-8d4e-b5bbeb9a3f48%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
