Why the primary key of dag_run from metadata database use int instead of bigint? #15084
Unanswered
houyingkun
asked this question in
Q&A
Replies: 1 comment 5 replies
-
@houyingkun I think having a custom migration would be a good idea. But if I were you I would open a PR with this change so others don't face this issue in future. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Our use case is to trigger 70000 dag runs per minute, each run is for a specific customer's data extract from the authorized third party platform.
We've calculated that the type of int would use up in about one month. ( 4294967295 / 60 / 24 / 365 / 70000 ≈ 0.117 )
Is there any advice for our use case? Should we modify the column data type from int to bigint directly?
Beta Was this translation helpful? Give feedback.
All reactions