jcborras commented on issue #8907: URL: https://github.com/apache/airflow/issues/8907#issuecomment-1203650853
FWIW: I encountered a similar issue lately which could be traced to slow HTTP responses when requesting resources `/dag_stats` and `/task_stats`. The culprit is the database query which under certain circumstances (namely large number of rows and large number of active DAGs) it shows a) long response time and b) low susceptibility to optimization. This situation has a bad fix though: DB query ops are done through the ORM which in turn makes a poor job writing SQL code under the circumstances above. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
