env: Windows Server 2016
SQL Server 2016 SP2
RML Utilities is a simple easy to use pressure measurement tool, which has a bit of history, this look like in the new security environment test.
1. The version used is CU4
RML Utilities for SQL Server (x64) CU4
Download link:
https://www.microsoft.com/en-us/download/details.aspx?id=4511
Supported Operating System
Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2
2. Install the RML Utilities for SQL Server (x64) CU4
The omitted. Attach screen mounting step
Can be successfully installed in Windows Server 2016
3. Check the installation program and start using RML
Installer list
Click "RML Cmd Prompt"
In "RML Cmd" input "ostress /?", Displays the command parameter
4. "RML Utilities" stress test
Enter the following command in the command window RML: do inquire Server Name of test
command:
ostress.exe -Q"Select @@VERSION"
One thing to note here, to produce two files in the RML, is a LOG file, a file is OUT.
LOG files record the results. SCRIPT OUT file record results. With our test case, the output is the result of SELECT @@ VERSION.
Save the file directory:
C:\Users\Administrator\AppData\Local\Temp\output\
5. Test Example Two
command:
ostress.exe -Q"SELECT @@VERSION" -r10
-r 10 representatives executed 10 times
6. Test example three
command:
ostress.exe -Q"SELECT @@VERSION" -r10 -q
-q: does not export query results to a file with dos
7. four test cases
command:
ostress.exe -dTBTEST03 -Q"SELECT * FROM dbo.test01" -r20 -n40
ostress.exe -SWIN-LON676ITMD5 -Usa -Ppa$$w0rd -dTBTEST03 -Q"EXECUTE dbo.TESTQUERY" -r20 -n40
RML with the sqlcmd very close, connections can also be used for distal pressure measurement, to pay attention to the instruction format.
-N representatives were using multiple Thread
The following is the execution command, query the number of connections
There is a connection query connection, so there are 41
The installation verification test this paragraph !!!