diff --git a/crates/store/re_query/src/latest_at.rs b/crates/store/re_query/src/latest_at.rs index 374af3dcde87..25c350cb16aa 100644 --- a/crates/store/re_query/src/latest_at.rs +++ b/crates/store/re_query/src/latest_at.rs @@ -683,7 +683,9 @@ impl LatestAtCache { }) .clone(); - if query.at() != data_time { + // NOTE: Queries that return static data are much cheaper to run, and polluting the query-time cache + // just to point to the static tables again and again is very wasteful. + if query.at() != data_time && !data_time.is_static() { per_query_time .entry(query.at()) .or_insert_with(|| LatestAtCachedChunk {