What is indexed

When executing the following query:

SELECT mean(“speed”) AS “mean_speed” FROM “mydb”.“car” WHERE time > x AND time < y GROUP BY time(1d)

Is only data between the two time ranges loaded into memory?

I don’t know if anyone on the community will be able to answer this.

Your best bet is to go look into the InfluxDB codebase and do some investigation