airflow db clean
Purge old records in metastore tables
Options
Name | Description |
---|---|
-h, --help | Show this help message and exit |
--clean-before-timestamp <clean_before_timestamp> |
|
--dry-run | Perform a dry run |
--skip-archive | Don't preserve purged records in an archive table |
-t, --tables <tables> | Table names to perform maintenance on (use comma-separated list). Options: ['callback_request', 'celery_taskmeta', 'celery_tasksetmeta', 'dag', 'dag_run', 'dataset_event', 'import_error', 'job', 'log', 'rendered_task_instance_fields', 'sla_miss', 'task_fail', 'task_instance', 'task_reschedule', 'xcom'] |
-v, --verbose | Make logging output more verbose |
-y, --yes | Do not prompt to confirm. Use with care! |