You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 7, 2026. It is now read-only.
Imagine we have an entity Order with customer_id (str, uuid4), created_at (datetime) and other fields. I want to get all orders for specified customer and time range.
The query returns about 1500 records.
The problem: it takes about 7-8 seconds!
Hi, team!
Imagine we have an entity Order with
customer_id(str, uuid4),created_at(datetime) and other fields. I want to get all orders for specified customer and time range.The query returns about 1500 records.
The problem: it takes about 7-8 seconds!
Environment details
python:3.8-slimgoogle-cloud-datastoreversion: 2.0.1Datastore indexes:
kind: Order
properties:
direction: asc
kind: Order
properties:
direction: desc
Code example
What I do wrong or can you suggest how to speed up this query?
Thanks!