Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bundle the runtime with SQLQueryStress

See original GitHub issue

It took me some time to get SQLQueryStress running on our servers. Nothing to do with the program itself but with the runtime. When opening the program on the server it offered the following

To run this application, you must install .NET Core.

Would you like to download it now?
Yes   No   

However, pressing Yes did nothing. It could be that we are on a somewhat lockdowned server but it had internet access nonetheless.

After that I download the following as I though .NET 7 would be a suitable runtime. Since that wasn’t the case I downloaded the latest .NET Core 3.1 which reached end of life, meaning it is no longer supported

  1. dotnet-sdk-7.0.302-win-x64
  2. dotnet-sdk-3.1.426-win-x64

The last one worked. A further complication on a server is that all these downloads are blocked so had to get the installers with a workaround (copy past via remote desktop) at their destination. Installing something on a server is also for some shops, especially a new runtime, a showstopper.

I now read in the Github readme (should have checked that first of course) that .NET 6 Desktop Runtime also suffices.

Bottom line, would it benefit if we pack the runtime with the tool so it is self contained and starts up immediately? That’s natively possibly these days with .NET without a hack as we did for .NET Framework. it will increase the package size, not sure by how much. Haven’t tried the feature and don’t know if it does tree shaking.

Okay if I do a spike on this or are there reasons not to pursue this?

Issue Analytics

  • State:closed
  • Created 3 months ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

buckleyGIcommented, Jun 13, 2023

Created PR #148 Can you take a look please?

ErikEJcommented, Jun 14, 2023

There should be a link to it in the pull request - it is hosted on appveyor but no yaml file in the repo, sorry.

Read more comments on GitHub >

github_iconTop Results From Across the Web

SqlQueryStress. SQL query stress simulator created by Adam Machanic. Getting started guide. Introduction to SQL Query Stress. Download.
Read more >
Home · ErikEJ/SqlQueryStress Wiki
SQL query stress simulator created by Adam Machanic ... The Client Seconds/Iteration box displays the average runtime over all iterations, as recorded on ......
Read more >
SQLQueryStress is a simple, lightweight performance testing tool, designed to load test individual queries. It includes support for randomization of input ...
Read more >
Microsoft SQL Server Utilities and Tools
Name/Description Cross Database Platform Official/Download page Release Author SSMS No No SSMS 2018‑11‑21 Microsoft bcp Utility No No bcp Utility 2012‑02‑11 Microsoft sqlcmd Utility No No...
Read more >
Heaps in SQL Server: Part 3 Nonclustered Indexes
The query parallelizes and consumes the CPUs configured for MAXDOP! A [SCH-S] lock is kept on the table during the runtime! (See this...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found