Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[AIRFLOW-6869] Bulk fetch DAGRuns for _process_task_instances #7489
Another performance optimization.
I ran the following code:
I got the following values.
If I didn't make a mistake, when we combine the following changes:
we get only... 5 queries per file instead of ....1792
Thanks for support to @evgenyshulman from Databand!
Issue link: AIRFLOW-6869
Make sure to mark the boxes below before creating PR: [x]
* For document-only changes commit message can start with
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
@@ Coverage Diff @@ ## master #7489 +/- ## ========================================== - Coverage 86.79% 86.54% -0.26% ========================================== Files 887 891 +4 Lines 41976 42110 +134 ========================================== + Hits 36432 36442 +10 - Misses 5544 5668 +124