microsoft / go-sqlcmd

The new sqlcmd, CLI for SQL Server and Azure SQL (winget install sqlcmd / sqlcmd create mssql / sqlcmd open ads)
https://learn.microsoft.com/sql/tools/sqlcmd/go-sqlcmd-utility
MIT License
337 stars 59 forks source link

Add progress bar to the `sqlcmd create mssql` "downloading" part #255

Open stuartpa opened 1 year ago

stuartpa commented 1 year ago

Feedback:

The downloading step was taking forever for me, and without a progress bar I had no idea of how much was still remaining. I restarted the process twice as I thought it was stuck when in reality, it was my connection.

anthonyfourie commented 8 months ago

Same challenge here. Waiting over 15 minutes with no indication as to the progress. A status message and/or progress bar would be hugely appreciated from a user experience perspective. image

A bit rusty with the tooling but even struggled a little to see progress in Docker Desktop, Procmon, Procexp, etc. specifically for the sqlcmd.exe process. image

I did get a few file/thread events which seem more related to diagnostic Application Insight Diagnostics.

anthonyfourie commented 8 months ago

Just to follow up on this after trying another round of trying. I noticed that the Docker Engine on my machine was running in "Resource Saver Mode" which I had a visual nudge from in the Docker Desktop Client: image

After bringing the Docker Engine back to a "Running" mode, then trying again it seems everything started up just fine and messages started to print out to the console. image

What I haven't yet figured out is if/why sqlcmd create didn't bring the Docker Engine out of Resource Saver Mode. Would love to know if others had a similar experience to validate the hypothesis.

stuartpa commented 8 months ago