Robin Edwards created AIRFLOW-6239:
--------------------------------------

             Summary: Last_dagruns endpoint incredibly slow
                 Key: AIRFLOW-6239
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6239
             Project: Apache Airflow
          Issue Type: Improvement
          Components: api, ui
    Affects Versions: 1.10.6, 2.0.0
            Reporter: Robin Edwards


The last_dagruns endpoint returns all dags by default. This can be incredibly 
slow when running are large amount of dags (1500+ in our case)

The accompanying pull request adds a dag_ids get parameter to the dag_stats end 
point which is populated by the dags present on the page.

Please see previous issue for task_stats AIRFLOW-6095 which has already been 
merged with a similar solution



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to