Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Suggestion: Add a way to show progress of export #91

Open
andres-lowrie opened this issue May 12, 2022 · 4 comments · Fixed by #141
Open

Feature Suggestion: Add a way to show progress of export #91

andres-lowrie opened this issue May 12, 2022 · 4 comments · Fixed by #141
Labels
enhancement New feature or request
Milestone

Comments

@andres-lowrie
Copy link

Hello 👋

Some sort of --progress flag that shows a progress bar would be really cool; could help show info with long running exports

@StoneDot StoneDot added the enhancement New feature or request label May 26, 2022
@StoneDot
Copy link
Contributor

Hi, thank you for reaching out. I think it is a fascinating function. But unfortunately, DynamoDB does not provide an exact table size. Please see API reference.

TableSizeBytes
The total size of the specified table, in bytes. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.

So, even if we implement a progress bar, it is not correct information. I have a concern it may be frustrating the user. Theoretically, there are cases in which the export cannot finish even if the progress bar reaches 100%.

In my humble opinion, an infinite 100% progress bar but not completion is stressful more than no information. Do you have any good ideas to address this problem or your opinion regarding this?

@StoneDot
Copy link
Contributor

I think a progress bar may confuse the user, but showing information on current status like (number of processed items)/sec, (item size)/sec, (total processed items), and (total processed item size) may be useful.

@andres-lowrie
Copy link
Author

that's a good idea, the (item size)/sec would be very useful. Would let the user calculate the progress in a way.

@StoneDot
Copy link
Contributor

Thank you for your comment. We have concluded a way to mitigate the pain. The rest of the work is implementing this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants