AutomationDev85 opened a new pull request, #30827: URL: https://github.com/apache/airflow/pull/30827
Hi airflow community, this is my third PR and be happy to work on the scheduler runtime again. We faced an issue with slow scheduler execution time by having millions of queued dag_runs for one DAG. I found out that the query next_dagruns_to_examine needs many seconds to be executed with huge amount of dag_runs. I was able to drop the execution time to some ms by using this Index. This was really a big jump in the performance of the scheduler. Can someone support me how to get this into the migration scripts? What are you thinking about this Index? -- 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]
