You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by as...@apache.org on 2020/12/11 16:21:53 UTC
[airflow] branch master updated: Added database upgrade information
to upgrade doc (#13005)
This is an automated email from the ASF dual-hosted git repository.
ash pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/master by this push:
new 0ffd5fa Added database upgrade information to upgrade doc (#13005)
0ffd5fa is described below
commit 0ffd5fa3d87e78126807e6cdb4b1b29154047153
Author: Vikram Koka <vi...@astronomer.io>
AuthorDate: Fri Dec 11 08:20:35 2020 -0800
Added database upgrade information to upgrade doc (#13005)
Added information about db upgrade sample time to the
database upgrade section.
---
docs/apache-airflow/upgrading-to-2.rst | 3 +++
1 file changed, 3 insertions(+)
diff --git a/docs/apache-airflow/upgrading-to-2.rst b/docs/apache-airflow/upgrading-to-2.rst
index 9f64102..27a731e 100644
--- a/docs/apache-airflow/upgrading-to-2.rst
+++ b/docs/apache-airflow/upgrading-to-2.rst
@@ -508,6 +508,9 @@ At this point, just follow the standard Airflow version upgrade process:
The database upgrade may take a while depending on the number of DAGs in the database and the volume of history
stored in the database for task history, xcom variables, etc.
+ In our testing, we saw that performing the Airflow database upgrade from Airflow 1.10.14 to Airflow 2.0
+ took between two to three minutes on an Airflow database on PostgreSQL with around 35,000 task instances and
+ 500 DAGs.
For a faster database upgrade and for better overall performance, it is recommended that you periodically archive
the old historical elements which are no longer of value.