GitHub user DjVinnii added a comment to the discussion: Massive metadata table even after clean with CLI
Hi @joaofernandes5! The `airflow db clean` command will archive the data instead of directly deleting it. After running `airflow db clean` you could run `airflow db drop-archived`. It is also possible to use the --skip-archive flag with the `airflow db clean` command to skip archival and immediately remove the data. I'd suggest having a look at the [Airflow CLI documentation](https://airflow.apache.org/docs/apache-airflow/stable/cli-and-env-variables-ref.html#db) to see all the possibilities. GitHub link: https://github.com/apache/airflow/discussions/52889#discussioncomment-13666345 ---- This is an automatically sent email for commits@airflow.apache.org. To unsubscribe, please send an email to: commits-unsubscr...@airflow.apache.org