mirror of
https://github.com/Microsoft/sql-server-samples.git
synced 2025-12-08 14:58:54 +00:00
30 lines
2.5 KiB
XML
30 lines
2.5 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<configuration>
|
|
<startup>
|
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
|
|
</startup>
|
|
<connectionStrings>
|
|
<clear />
|
|
<!--<add name="Db" connectionString="Server=tcp:(YOUR_SQLSERVERNAME).database.windows.net,1433;Database=(YOUR_DATABASE_NAME);User ID=(YOUR_USERNAME);Password=(YOUR_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="numberOfDataLoadTasks" value="70"/> <!--Number of concurrent async tasks that the Data Generator will use (per SQL Connection)-->
|
|
<add key="dataLoadCommandDelay" value="2000"/> <!--Delay between sql commands. You can set this to 0 for max high volume workload-->
|
|
<add key="batchSize" value="70000"/> <!--Insert: Row Batch Size that every task produces-->
|
|
<add key="deleteSPName" value="InsertMeterMeasurementHistory"/> <!--Stored Procedure Name-->
|
|
<add key="numberOfOffLoadTasks" value="50"/> <!--Number of concurrent async tasks that the Data Generator will use (per SQL Connection)-->
|
|
<add key="offLoadCommandDelay" value="0"/> <!--Delay between sql commands. You can set this to 0 for max high volume workload-->
|
|
<add key="deleteBatchSize" value="1000000"/> <!--Delete: Row Batch Size that every task produces-->
|
|
<add key="numberOfMeters" value="75000000"/> <!--Number of unique meters-->
|
|
<add key="commandTimeout" value="600"/> <!--SQL Command Timeout-->
|
|
<add key="rpsFrequency" value="500"/> <!--How frequently the Data Generator Rows Per Second(RPS) is polled-->
|
|
<add key="logFileName" value="log.txt"/> <!--Log File Path-->
|
|
<add key="delayStart" value="0"/> <!--Delay Graph Interval-->
|
|
<add key="appRunDuration" value="1800000"/> <!--Run App Time: 30 mins-->
|
|
<add key="numberOfRowsOfloadLimit" value="1400000"/> <!--Number Of Rows Ofload Limit-->
|
|
<add key="powerBIDesktopPath" value="C:\Program Files\Microsoft Power BI Desktop\bin\PBIDesktop.exe"/> <!--PowerBIDesktop.exe path-->
|
|
</appSettings>
|
|
</configuration>
|