Progress feedback for the platform sql command
The information in this post is accurate as of the published date . Please make sure to check any linked documentation within the post for changes/updates.
Hi, when using some of the platform utility commands, there is little to no feedback with regards to progress.
If I am loading a database, for example:
platform sql -p PROJECTID -e main < dbsqldump.sql
I have no idea how fast the load is working, or when it is estimated to complete.
I have taken to using console.platform.sh and looking at the disk usage metrics of the database, and then guessed at how things were going, just by looking at the curve.
My guess is the platform utility simply pipes the input to the native sql command for the database. I know mysql has the --show-progress-size. Perhaps other sql clients have similar flags and the output could be piped back through the utility to me, the user, while running commands?
Please sign in to leave a comment.
Comments
0 comments