Get-AzDataMigrationSkuRecommendation
Azure SQL オファリングの SKU に関する推奨事項を示します
構文
Get-AzDataMigrationSkuRecommendation
[-OutputFolder <String>]
[-TargetPlatform <String>]
[-TargetSqlInstance <String>]
[-TargetPercentile <String>]
[-ScalingFactor <String>]
[-StartTime <String>]
[-EndTime <String>]
[-Overwrite]
[-DisplayResult]
[-ElasticStrategy]
[-DatabaseAllowList <String>]
[-DatabaseDenyList <String>]
[-PassThru]
[<CommonParameters>]
Get-AzDataMigrationSkuRecommendation
-ConfigFilePath <String>
[-PassThru]
[<CommonParameters>]
説明
Azure SQL オファリングの SKU に関する推奨事項を示します
例
例 1: 接続文字列を使用して特定の SQL Server で SKU の推奨事項を実行する
Get-AzDataMigrationSkuRecommendation -DisplayResult
Starting SKU recommendation...
Performing aggregation for instance AALAB03-2K8...
Aggregation complete. Calculating SKU recommendations...
Instance name: AALAB03-2K8
SKU recommendation: Azure SQL Managed Instance:
Compute: Gen5 - GeneralPurpose - 4 cores
Storage: 64 GB
Recommendation reasons:
According to the performance data collected, we estimate that your SQL server instance has a requirement for 0.16 vCores of CPU. For greater flexibility, based on your scaling factor of 100.00%, we are making a recommendation based on 0.16 vCores. Based on all the other factors, including memory, storage, and IO, this is the smallest compute sizing that will satisfy all of your needs.
This SQL Server instance requires 0.44 GB of memory, which is within this SKU's limit of 20.40 GB.
This SQL Server instance requires 32.37 GB of storage for data files. We recommend provisioning 64 GB of storage, which is the closest valid amount that can be provisioned that meets your requirement.
This SQL Server instance requires 0.00 MB/second of combined read/write IO throughput. This is a relatively idle instance, so IO latency is not considered.
Assuming the database uses the Full Recovery Model, this SQL Server instance requires 1 IOPS for data and log files.
This is the most cost-efficient offering among all the performance eligible SKUs.
Finishing SKU recommendations...
Event and Error Logs Folder Path: C:\Users\vmanhas\AppData\Local\Microsoft\SqlAssessment\Logs
このコマンドは、接続文字列を使用して、特定の SQL Server で実行 SKU の推奨事項を実行します。
例 2: 評価構成ファイルを使用して特定の SQL Server で実行 SKU の推奨事項を実行する
Get-AzDataMigrationSkuRecommendation -ConfigFilePath "C:\Users\user\document\config.json"
Starting SKU recommendation...
Performing aggregation for instance AALAB03-2K8...
Aggregation complete. Calculating SKU recommendations...
Instance name: AALAB03-2K8
SKU recommendation: Azure SQL Managed Instance:
Compute: Gen5 - GeneralPurpose - 4 cores
Storage: 64 GB
Recommendation reasons:
According to the performance data collected, we estimate that your SQL server instance has a requirement for 0.16 vCores of CPU. For greater flexibility, based on your scaling factor of 100.00%, we are making a recommendation based on 0.16 vCores. Based on all the other factors, including memory, storage, and IO, this is the smallest compute sizing that will satisfy all of your needs.
This SQL Server instance requires 0.44 GB of memory, which is within this SKU's limit of 20.40 GB.
This SQL Server instance requires 32.37 GB of storage for data files. We recommend provisioning 64 GB of storage, which is the closest valid amount that can be provisioned that meets your requirement.
This SQL Server instance requires 0.00 MB/second of combined read/write IO throughput. This is a relatively idle instance, so IO latency is not considered.
Assuming the database uses the Full Recovery Model, this SQL Server instance requires 1 IOPS for data and log files.
This is the most cost-efficient offering among all the performance eligible SKUs.
Finishing SKU recommendations...
Event and Error Logs Folder Path: C:\Users\vmanhas\AppData\Local\Microsoft\SqlAssessment\Logs
このコマンドは、構成ファイルを使用して、特定の SQL Server で実行 SKU の推奨事項を実行します。
パラメーター
-ConfigFilePath
ConfigFile のパス
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DatabaseAllowList
省略可能。 SKU に関する推奨事項の検討に使用できるデータベースの名前のスペース区切りの一覧。それ以外はすべて除外します。 databaseAllowList と databaseDenyList のどちらかを設定するか、またはどちらも設定しません。 渡す方法 - "Database1 Database2" (既定値: null)
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DatabaseDenyList
省略可能。 SKU の推奨事項では考慮されないデータベースの名前のスペース区切りリスト。 databaseAllowList と databaseDenyList のどちらかを設定するか、またはどちらも設定しません。 渡す方法 - "Database1 Database2" (既定値: null)
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DisplayResult
省略可能。 SKU 推奨結果をコンソールに出力するかどうか。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ElasticStrategy
省略可能。 リソース使用量プロファイルに基づく SKU の推奨事項に対してエラスティック戦略を使用するかどうか。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-EndTime
省略可能。 集計中に考慮するパフォーマンス データの UTC 終了時刻 (YYYY-MM-DD HH:MM 形式)。 ベースライン (非エラスティック) 戦略にのみ使われます。 (既定値: 収集されたすべてのデータ ポイントが考慮されます)
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-OutputFolder
データレポートと結果レポートの書き込み先/読み取り元のフォルダー。 ここでの値は、PerfDataCollection で使用される値と同じである必要があります
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Overwrite
省略可能。 既存の SKU レコメンデーション レポートを上書きするかどうか。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PassThru
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ScalingFactor
省略可能。 SKU 推奨の間に使用されるスケーリング (快適性) 係数。 たとえば、スケーリング計数 150% で 4 仮想コア CPU の要件があると判断された場合、実際の CPU 要件は 6 仮想コアになります。 (既定値: 100)
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-StartTime
省略可能。 集計中に考慮するパフォーマンス データポイントの UTC 開始時刻 (YYYY-MM-DD HH:MM 形式)。 ベースライン (非エラスティック) 戦略にのみ使われます。 (既定値: 収集されたすべてのデータ ポイントが考慮されます)
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-TargetPercentile
省略可能。 パフォーマンス データの集計中に使用されるデータ ポイントのパーセンタイル。 ベースライン (非エラスティック) 戦略にのみ使われます。 (既定値: 95)
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-TargetPlatform
省略可能。 SKU の推奨事項のターゲット プラットフォーム: AzureSqlDatabase、AzureSqlManagedInstance、AzureSqlVirtualMachine、または Any。 [いずれか] が選択されている場合、3 つのターゲット プラットフォームすべてに対する SKU の推奨事項が評価され、最適な値が返されます。 (既定値: Any)
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-TargetSqlInstance
省略可能。 SKU 推奨が対象となる SQL インスタンスの名前。 (既定値: PerfDataCollection アクションによって作成されたファイルの outputFolder がスキャンされ、見つかったすべてのインスタンスに対して推奨事項が提供されます)
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
出力
Azure PowerShell
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示