[google-appengine] Re: Datastore queries are unpredictably slow when a limit is applied

2017-03-09 Thread Arjunkumar Udainath
Thanks for your help. Adding the index worked out for us. Thank you for providing the other suggestions as well. -- 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 em

[google-appengine] Re: Datastore queries are unpredictably slow when a limit is applied

2017-03-06 Thread 'Adam (Cloud Platform Support)' via Google App Engine
Datastore query times are not guaranteed to be consistent, as Datastore is a shared, distributed service. Since you're performing 4 equality filters this can add to the variation. The question of how to optimize for speed is a bit broad and depends on your data model. With that being said I can

[google-appengine] Re: Datastore queries are unpredictably slow when a limit is applied

2017-03-05 Thread Arjunkumar Udainath
My replies take a long time to get posted here since I'm new. My application is written in Java and instance class of my app is F4. There are a total of 922,758 entities of that Kind in the Datastore. Here's the function: public static Map getEntitiesUsingQueryCursor( String kind , int limit

[google-appengine] Re: Datastore queries are unpredictably slow when a limit is applied

2017-03-04 Thread Arjunkumar Udainath
Additional info: The query has 4 "equals" filters on 4 different properties (3 strings and 1 Boolean). It does not have a sort order applied. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving

[google-appengine] Re: Datastore queries are unpredictably slow when a limit is applied

2017-03-04 Thread 'Adam (Cloud Platform Support)' via Google App Engine
Can you let us know what language runtime you're using, preferably with a sample of code which shows your query and fetch options? On Saturday, March 4, 2017 at 12:01:57 PM UTC-5, Arjunkumar Udainath wrote: > > I have an app that's sort of like a to-do application. Any given user > would have "T