visualize-admin / visualization-tool

The tool for visualizing Swiss Open Government Data. Project ownership: Federal Office for the Environment FOEN
https://visualize.admin.ch
BSD 3-Clause "New" or "Revised" License
29 stars 3 forks source link

Rework Components query to query multiple dimensions at once #1470

Closed sosiology closed 1 month ago

sosiology commented 3 months ago

Situation

Motivation

DoD

bprusinowski commented 1 month ago

Hi @Rdataflow, I merged the #1487 a while ago to be able to compare the performance after the latest query improvements on the same infrastructure (INT data source on Visualize TEST and Visualize INT, with server-side cache disabled).

After a bit of testing, these are the rough results (times for the longest components query from the debug panel):

It looks that for some of the cubes the benefit is obvious (bigger cubes), but for smaller ones the regression is also clear. Let me know what you think about this 👀

cc @adintegra

Rdataflow commented 2 weeks ago

the long time it takes for BLW cubes is related to https://github.com/visualize-admin/visualization-tool/issues/1658