-
[OPIK-7144] [BE] perf: read project last_updated_trace_at from MySQL and bound the last-trace scan (#7275)
发布于
2026-06-29 15:08:49 +00:00 Read last_updated_trace_at from the projects MySQL column on the project
list/get/retrieve paths instead of querying ClickHouse on every request,
and sort by last trace in SQL (COALESCE(last_updated_trace_at,
last_updated_at)), removing the bespoke in-memory sorting path.Bound the remaining ClickHouse population query (SELECT_TRACE_LAST_UPDATED_AT,
triggered on trace events) with the project's previously recorded timestamp so
the minmax skip index prunes old granules instead of scanning the project's
full trace history.Implements OPIK-7144
下载附件