Skip to content

[25.0] Improve performance of job cache query #20319

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

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
8e7c73d
Improve performance of job cache query
mvdbeek May 21, 2025
015a01f
Fix where clause
mvdbeek May 21, 2025
904a23e
Restore not exists logic but runs against inner subquery
mvdbeek May 21, 2025
fad9c91
Limit jobs based on input datasets in inner subquery
mvdbeek May 23, 2025
283c854
JobParmeter is now always fully prefixed
mvdbeek May 23, 2025
a43b4f9
Use inner join for leaf HDAs inside HDCA / DCE search
mvdbeek May 23, 2025
d22afc8
Improve performance of dataset_id comparisons in job search
mvdbeek May 23, 2025
d9e2dd5
Improve performance of equivalent collection matching
mvdbeek May 24, 2025
6f2d620
Implement candidate signature logic for DCEs as well
mvdbeek May 26, 2025
e756983
Join to hdca / hda history to limit candidate search space
mvdbeek May 28, 2025
e62691a
Add pre-filtering step that narrows DCEs
mvdbeek May 30, 2025
d4982f4
Add pre-filtering step for search by hdca
mvdbeek May 30, 2025
27cbd67
Force job_id materialization
mvdbeek Jun 1, 2025
575e7f7
Replace history_dataset_association_history subquery with outer join
mvdbeek Jun 1, 2025
8e8d899
Materialize unordered results, then order by job id
mvdbeek Jun 1, 2025
9d3268e
Ensure query columns are unique
mvdbeek Jun 2, 2025
2d98fbf
Limit materialized hint to postgresql
mvdbeek Jun 2, 2025
615d1c7
Make search work on sqlite and postgres
mvdbeek Jun 2, 2025
829f566
Drop unnecessary materialize hint
mvdbeek Jun 2, 2025
7fb58fd
Restore compatibility with postgresql < 12
mvdbeek Jun 2, 2025
32914f2
Add test that confirms element sorting must match
mvdbeek Jun 11, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Loading