fleet/changes/41540-host-details-reports-db-optimizations
Juan Fernandez 9dc573fb17
Performance improvements for Host Reports (41540)
Resolves #41540

* Added new computed column to determinate whether query_result has
data.
* Added new index to query_results to to cover all query patterns.
* Refactored queries used in host report page to improve performance.
* Fixed various bugs with around query filtering for host reports.
2026-03-26 07:04:18 -04:00

2 lines
No EOL
219 B
Text

* Improved database query performance for the Host Details > Reports page by adding a `has_data` virtual generated column to `query_results`.
* Added `(query_id, has_data, host_id, last_fetched)` index on query_results.