jedcunningham opened a new pull request #19166: URL: https://github.com/apache/airflow/pull/19166
Bigger Airflow databases can take a long time to migrate the database, particularly if they have a lot of task instances. Dropping indexes before setting `run_id` from `dag_run` allows the update to complete faster. With my test database containing 2.28 million task instances, this resulted in a ~30 second improvement (~145s to ~115s). -- 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]
