You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-29Lines changed: 19 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,9 +9,21 @@ Provides sample SQL Scripts and PowerShell scripts to automate the generation of
9
9
Current supported versions are:
10
10
- SQL 2008 / R2
11
11
- SQL 2012
12
-
- SQL 2014 (via 2012 script)
12
+
- SQL 2014
13
+
- SQL 2016
14
+
- SQL 2017
13
15
- SQL Azure
14
16
17
+
This tool is currently only supported on Windows and PowerShell. It has not yet been tested on PowerShell Core. It will though work remotely against SQL Server on Linux.
18
+
19
+
NOTE: For SQL Server 2014 and higher, use the non-version specific scripts.
20
+
21
+
## Installation
22
+
To install and use this toolset follow these steps.
23
+
1. Create a folder *C:\Workload* or other suitable location
24
+
2. Download the project source or one of the releases to that location you just created
25
+
3. Create a wrapper script or start the RunWorkload.ps1 script from the console depending on your needs. Refer to the examples for various ways to execute this workload.
26
+
15
27
## Example
16
28
17
29
This example runs a single workload session against a database running in SQL Azure with a fast frequency between batches
For an example see the file [.\Examples\LoadTestExample.cmd](Examples\LoadTestExample.cmd)
46
+
31
47
## PowerShell Execution Policies
32
48
33
49
As this workload is generated through a PowerShell script, it is not excempt from PowerShell Execution Policies. The default policy is Restricted which will stop you from executing the workload script. In production environments it is **not** recommended to set this to Unrestricted, instead you should use `RemoteSigned` or `AllSigned` and then code sign the script files with your organisations certificate.
@@ -67,32 +83,6 @@ The frequency of which to run the statements at (Fast, Normal, or Slow)
67
83
### Duration
68
84
The duration to run the workload for (seconds). 0 is unlimited, otherwise maximum allowed is 172800 (48hrs)
69
85
70
-
## Versions
71
-
72
-
### 0.1.2
73
-
74
-
* Moved functions to a module for better code coverage
75
-
* Improved test coverage through AppVeyor
76
-
77
-
### 0.1.1
78
-
79
-
* Added Duration parameter and better error verbatim (Issue4)
0 commit comments