-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optimize count returns #3
Comments
I do not know of a way to get counts efficiently AND accurately with GAE. However, for the case in question of small record sets, I believe the estimated count is a good enough estimate and could be used to make a determination. |
You are right, @tucotuco , I was not familiar with Google's Actually, given this difficulty and the current structure, I have been thinking on omitting this whole issue, and here is why:
Again, just thinking out loud here... |
I agree with all of these observations. On Tue, May 24, 2016 at 8:01 AM, Javier Otegui [email protected]
|
Currently, the way counts are calculated imply retrieving the full list of records and then returning just the length of the array. This is highly inefficient (e.g. it took more than 2h to get the volume of records mentioning
mvz
)The text was updated successfully, but these errors were encountered: