1
0
mirror of https://github.com/Microsoft/sql-server-samples.git synced 2025-12-08 14:58:54 +00:00
Files
sql-server-samples/samples/applications/iot-smart-grid/App.config
Perry Skountrianos - MSFT 724269090c Update App.config
2016-06-13 12:47:02 -07:00

25 lines
2.0 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
</startup>
<connectionStrings>
<!--<add name="Db" connectionString="Server=tcp:<server>.database.windows.net,1433;Database=PowerConsumption;User ID=<user>;Password=<password>;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;"/>-->
<add name="Db" connectionString="Server=.;Database=PowerConsumption;Integrated Security=True"/>
</connectionStrings>
<appSettings>
<add key="insertSPName" value="InsertMeterMeasurement"/> <!--Stored Procedure Name-->
<add key="numberOfTasks" value="50"/> <!--Number of concurrent async tasks that the Data Generator will use-->
<add key="numberOfMeters" value="1000000"/> <!--Number of unique meter Ids-->
<add key="batchSize" value="1000"/> <!--Row Batch Size that every task produces-->
<add key="commandDelay" value="1500"/> <!--Delay between sql commands. You can set this to 0 for max high volume workload-->
<add key="commandTimeout" value="600"/> <!--SQL Command Timeout-->
<add key="enableShock" value="1"/> <!--Flag that turns on/off the data shock. This should be set to 0 for max high volume workload-->
<add key="shockFrequency" value="35000"/> <!--The Frequency that the code sets the commandDelay to 0-->
<add key="shockDuration" value="4000"/> <!--The Duration that the code keeps the commandDelay to 0-->
<add key="rpsFrequency" value="2000"/> <!--How frequently the Data Generator Rows Per Second(RPS) is polled-->
<add key="logFileName" value="log.txt"/> <!--Log File Path-->
<add key="powerBIDesktopPath" value="C:\Program Files\Microsoft Power BI Desktop\bin\PBIDesktop.exe"/><!--PowerBIDesktop.exe path-->
</appSettings>
</configuration>