When extracting values for the WMS GetCapabilities document for a dimension with "Interval and resolution" presentation all values are loaded but the application only needs min/max values. This could be calculated faster in the database.
We are preparing/updating a merge request with a proposed fix.