Progress feedback for the platform sql command
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.