Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QOLSVC-4446] backport dashboard performance fix from EricSoroos #140

Merged
merged 1 commit into from
Jan 8, 2024

Conversation

ThrawnCA
Copy link

@ThrawnCA ThrawnCA commented Jan 8, 2024

  • Replace unions with in(list) in activity queries. Replace activity outer join to packages with subselect to allow for a fully indexed query.

Testing suggests an improvement of about 30% on large dashboards.

based from https://github.com/ckan/ckan/pull/7903/files

- Replace unions with in(list) in activity queries. Replace activity outer join to packages with subselect to allow for a fully indexed query.
@ThrawnCA ThrawnCA force-pushed the QOLSVC-4446-dashboard-performance branch from a6e3048 to 6aab5e2 Compare January 8, 2024 01:56
@ThrawnCA ThrawnCA merged commit 0a77c66 into qgov-master-2.10.1 Jan 8, 2024
5 checks passed
@duttonw
Copy link
Member

duttonw commented Mar 15, 2024

This was also improved by https://github.com/qld-gov-au/ckan/pull/152/files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants