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: docs/dma/dma-commandline.md
+42-71Lines changed: 42 additions & 71 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -274,7 +274,7 @@ DmaCmd.exe
274
274
```
275
275
## Azure SQL Database / Azure SQL Managed Instance / SQL Server on Azure VM SKU recommendations using the CLI
276
276
277
-
With version 5.4 and above, when you install Data Migration Assistant, it will also install SqlAssessment.exe in %ProgramFiles%\Microsoft Data Migration Assistant\SQLAssessmentConsole\. Use SqlAssessment.exe to collect performance data for your SQL instance over an extended period of time, and output the result to JSON or CSV file. This method is especially useful when assessing several databases or huge databases
277
+
With version 5.4 and above, when you install Data Migration Assistant, it will also install SqlAssessment.exe in %ProgramFiles%\Microsoft Data Migration Assistant\SQLAssessmentConsole\. Use SqlAssessment.exe to collect performance data for your SQL instance over an extended period of time, and output the result to JSON or CSV file.
278
278
279
279
These commands support recommendations for both Azure SQL Database single database, Azure SQL Managed Instance and SQL Server on Azure VM deployment options.
280
280
@@ -286,91 +286,62 @@ These commands support recommendations for both Azure SQL Database single databa
286
286
287
287
|Argument |Description | Required (Y/N)
288
288
|---------|---------|---------------|
289
-
|`PerfDataCollection` | Starts collection of performance data | Y
290
-
|`GetSkuRecommendation` | Performs aggregation and analysis of the collected performance data and determines SKU recommendations| Y
291
-
|`Assess` | Performs an assessment of the target SQL instance(s) | Y
292
-
|`--outputFolder` | Folder which performance data, reports, and logs will be written to/read from. <br> (Default: current directory)| N
293
-
|`/SkuRecommendationHtmlResultsFilePath` | Full path to the HTML result file | Y <br> (Requires either TSV or JSON or HTML file path)
294
-
|`/SkuRecommendationPreventPriceRefresh` | Prevents the price refresh from occurring. Use if running in offline mode (e.g., true). | Y <br> (Select either this argument for static prices or all arguments below need to be selected to get the latest prices)
295
-
|`/SkuRecommendationCurrencyCode` | The currency in which to display prices (e.g. "USD") | Y <br> (For the latest prices)
296
-
|`/SkuRecommendationOfferName` | The offer name (e.g. "MS-AZR-0003P"). For more information, see the [Microsoft Azure Offer Details](https://azure.microsoft.com/support/legal/offer-details/) page. | Y <br> (For the latest prices)
297
-
|`/SkuRecommendationRegionName` | The region name (e.g. "WestUS") | Y <br> (For the latest prices)
298
-
|`/SkuRecommendationSubscriptionId` | The subscription ID. | Y <br> (For the latest prices)
299
-
|`/SkuRecommendationDatabasesToRecommend` | Space-separated list of databases to recommend for (e.g. “Database1” “Database2” “Database3”). Names are case-sensitive and must be surrounded by double-quotes. If omitted, recommendations are provided for all databases. | N
300
-
|`/AzureAuthenticationTenantId` | The authentication tenant. | Y <br> (For the latest prices)
301
-
|`/AzureAuthenticationClientId` | The client ID of the Azure AD app used for authentication. | Y <br> (For the latest prices)
302
-
|`/AzureAuthenticationInteractiveAuthentication` | Set to true to pop up the window. | Y <br> (For the latest prices) <br>(Pick one of the 3 authentication options - option 1)
303
-
|`/AzureAuthenticationCertificateStoreLocation` | Set to the certificate store location (e.g. "CurrentUser"). | Y <br>(For the latest prices) <br> (Pick one of the 3 authentication options - option 2)
304
-
|`/AzureAuthenticationCertificateThumbprint` | Set to the cert thumbprint. | Y <br> (For the latest prices) <br>(Pick one of the 3 authentication options - option 2)
305
-
|`/AzureAuthenticationToken` | Set to the certificate token. | Y <br> (For the latest prices) <br>(Pick one of the 3 authentication options - option 3)
289
+
|`PerfDataCollection` | Starts collection of performance data. | Y
290
+
|`GetSkuRecommendation` | Performs aggregation and analysis of the collected performance data and determines SKU recommendations. | Y
291
+
|`Assess` | Performs an assessment of the target SQL instance(s). | Y
292
+
|`--outputFolder` | Folder which performance data, reports, and logs will be written to/read from. | N <br> (Default: current directory)
293
+
|`--sqlConnectionStrings` | Quote-enclosed formal connection string(s) for the target SQL instance(s). | Y
294
+
|`--overwrite` | Whether or not to overwrite any existing assessment or SKU recommendations reports. | N <br> ( Default: `true`)
295
+
|`--perfQueryIntervalInSec` | Interval at which to query performance data, in seconds. | N <br> (Specific for `PerfDataCollection` action. Default `30`)
296
+
|`--staticQueryIntervalInSec` | Interval at which to query and persist static configuration data, in seconds. | N <br> (Specific for `PerfDataCollection` action. Default `30`)
297
+
|`--numberOfIterations` | Number of iterations of performance data collection to perform before persisting to file. | N <br> (Specific for `PerfDataCollection` action. Default `20`)
298
+
|`--perfQueryIntervalInSec` | Interval at which performance data was queried, in seconds. | N <br> (Specific for `GetSkuRecommendation`action. This must match the value that was originally used during the performance data collection. Default: `30`)
299
+
|`--targetPlatform` | Target platform for SKU recommendation: either `AzureSqlDatabase`, `AzureSqlManagedInstance`, `AzureSqlVirtualMachine`, or `Any`. | N <br> (Specific for `GetSkuRecommendation`action. Default: `Any`)
300
+
|`--targetSqlInstance` | Name of the SQL instance that SKU recommendation will be targeting. | N <br> (Specific for `GetSkuRecommendation`action)
301
+
|`--targetPercentile` | Percentile of data points to be used during aggregation of the performance data. | N <br> (Specific for `GetSkuRecommendation`action, Default `95`)
302
+
|`--scalingFactor` | Scaling (comfort) factor used during SKU recommendation. | N <br> (Specific for `GetSkuRecommendation`action. Default `100`)
303
+
|`--startTime` | UTC start time of performance data points to consider during aggregation, in `"YYYY-MM-DD HH:MM"` format. | N <br> (Specific for `GetSkuRecommendation`action)
304
+
|`--endTime` | UTC end time of performance data points to consider during aggregation, in `"YYYY-MM-DD HH:MM"` format | N <br> (Specific for `GetSkuRecommendation`action)
305
+
|`--displayResult` | Whether or not to print the SKU recommendation results to the console | N <br> (Specific for `GetSkuRecommendation`action.Default: `true`)
0 commit comments