[google-appengine] Re: Size of int in datastore

2015-03-05 Thread Layo
Hi Ashley,

Cloud Datastore uses 8 bytes to store signed integers, this independent 
from the machine. More info about Datastore types 
https://cloud.google.com/appengine/docs/python/ndb/properties#types.



On Tuesday, March 3, 2015 at 11:09:47 AM UTC+1, Ashley Finney wrote:

 Hi all,

 If the size of int is machine dependant, how many bytes are used when int 
 is specified as a datastore field?
 Will this change depending on the machine that stored the entity?  Or are 
 int fields stored as size independent type?

 Specifically I'm using Go if that matters.

 Many thanks,
 Ash.


-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/36afc44f-184a-4814-a31a-a135a6fb91fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Managing Auto Generated Indexes

2015-02-05 Thread Layo
Hi Chris,

 As announced 
https://groups.google.com/forum/#!topic/google-appengine/Z6XN_64cA7w 
before community support is moving to Stack Overflow. I will advise you to 
post this specific question on Stack Overflow. Simply post your questions 
on Stack Overflow with the tag google-app-engine, and a member of our 
support team or a member of our global developer community will respond 
shortly after. Look here 
http://stackoverflow.com/questions/tagged/google-app-engine at the 
current App Engine questions.

Happy coding!

On Thursday, February 5, 2015 at 5:14:26 PM UTC+1, Chris Burnham wrote:

 I'm doing an advanced search like the one detailed in 
 https://cloud.google.com/appengine/articles/indexselection

 I'm increasing the number of filters from 2 to 4, with 4 sort orders. If I 
 create a perfect index on this search, I'll need 64 indexes in my 
 index.yaml. I followed the advice in the Advanced Search article and 
 created basic indexes for each filter and sort order resulting in 20 
 indexes. I tested that these indexes satisfy my search by running my 
 development server with dev_appserver.py --require_indexes

 If I go back to my regular development workflow and run just the 
 dev_appserver.py, accessing my search page creates the perfect indexes. I 
 don't want to give up the ability to generate indexes for other aspects of 
 development by always running with --require_indexes. I also don't want the 
 dev server to create these extra indexes either. Is there a way to have the 
 server only create new indexes if it would otherwise raise a NeedIndexError?




-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/3a0f2afe-626b-48e8-b82b-af6aee6808a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.