What is the best way to implement progress bar for long-running migration? #864
Unanswered
alvassin
asked this question in
Usage Questions
Replies: 1 comment 1 reply
-
it looks like your progress bar is one that you can update synchronously in between statements, so that's not a very hard use case. looks fine to me? a more difficult use case is if you wanted a progress bar that would move along as the database is executing a very long blocking call of some kind. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe your question
I have long runnning migration, that selects data from database using server-side cursor, modifies data and updates values in the database. I want to display progress for colleagues to make them understand how long migration would take. What is the best way for that? I tried to use tqdm, it works, perhaps there is better option?
Example (if applicable)
Beta Was this translation helpful? Give feedback.
All reactions