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 のパス
型: | String |
配置: | Named |
規定値: | None |
必須: | True |
パイプライン入力を受け取る: | False |
ワイルドカード文字を受け取る: | False |
-DatabaseAllowList
随意。 SKU に関する推奨事項の検討に使用できるデータベースの名前のスペース区切りの一覧。それ以外はすべて除外します。 databaseAllowList、databaseDenyList のいずれか、またはどちらも設定しないでください。 渡す方法 - "Database1 Database2" (既定値: null)
型: | String |
配置: | Named |
規定値: | None |
必須: | False |
パイプライン入力を受け取る: | False |
ワイルドカード文字を受け取る: | False |
-DatabaseDenyList
随意。 SKU の推奨事項では考慮されないデータベースの名前のスペース区切りリスト。 databaseAllowList、databaseDenyList のいずれか、またはどちらも設定しないでください。 渡す方法 - "Database1 Database2" (既定値: null)
型: | String |
配置: | Named |
規定値: | None |
必須: | False |
パイプライン入力を受け取る: | False |
ワイルドカード文字を受け取る: | False |
-DisplayResult
随意。 SKU の推奨事項の結果をコンソールに出力するかどうか。
型: | SwitchParameter |
配置: | Named |
規定値: | None |
必須: | False |
パイプライン入力を受け取る: | False |
ワイルドカード文字を受け取る: | False |
-ElasticStrategy
随意。 リソース使用量プロファイルに基づく SKU の推奨事項に対してエラスティック戦略を使用するかどうか。
型: | SwitchParameter |
配置: | Named |
規定値: | None |
必須: | False |
パイプライン入力を受け取る: | False |
ワイルドカード文字を受け取る: | False |
-EndTime
随意。 集計中に考慮するパフォーマンス データの UTC 終了時刻 (YYYY-MM-DD HH:MM 形式)。 ベースライン (非エラスティック) 戦略にのみ使用されます。 (既定値: 収集されたすべてのデータ ポイントが考慮されます)
型: | String |
配置: | Named |
規定値: | None |
必須: | False |
パイプライン入力を受け取る: | False |
ワイルドカード文字を受け取る: | False |
-OutputFolder
データレポートと結果レポートの書き込み先/読み取り元のフォルダー。 ここでの値は、PerfDataCollection で使用される値と同じである必要があります
型: | String |
配置: | Named |
規定値: | None |
必須: | False |
パイプライン入力を受け取る: | False |
ワイルドカード文字を受け取る: | False |
-Overwrite
随意。 既存の SKU レコメンデーション レポートを上書きするかどうか。
型: | SwitchParameter |
配置: | Named |
規定値: | None |
必須: | False |
パイプライン入力を受け取る: | False |
ワイルドカード文字を受け取る: | False |
-PassThru
型: | SwitchParameter |
配置: | Named |
規定値: | None |
必須: | False |
パイプライン入力を受け取る: | False |
ワイルドカード文字を受け取る: | False |
-ScalingFactor
随意。 SKU の推奨事項中に使用されるスケーリング (快適性) 要因。 たとえば、スケール ファクターが 150%の仮想コア CPU 要件が 4 つあると判断された場合、真の CPU 要件は 6 仮想コアになります。 (既定値: 100)
型: | String |
配置: | Named |
規定値: | None |
必須: | False |
パイプライン入力を受け取る: | False |
ワイルドカード文字を受け取る: | False |
-StartTime
随意。 集計中に考慮するパフォーマンス データポイントの UTC 開始時刻 (YYYY-MM-DD HH:MM 形式)。 ベースライン (非エラスティック) 戦略にのみ使用されます。 (既定値: 収集されたすべてのデータ ポイントが考慮されます)
型: | String |
配置: | Named |
規定値: | None |
必須: | False |
パイプライン入力を受け取る: | False |
ワイルドカード文字を受け取る: | False |
-TargetPercentile
随意。 パフォーマンス データの集計中に使用されるデータ ポイントのパーセンタイル。 ベースライン (非エラスティック) 戦略にのみ使用されます。 (既定値: 95)
型: | String |
配置: | Named |
規定値: | None |
必須: | False |
パイプライン入力を受け取る: | False |
ワイルドカード文字を受け取る: | False |
-TargetPlatform
随意。 SKU の推奨事項のターゲット プラットフォーム: AzureSqlDatabase、AzureSqlManagedInstance、AzureSqlVirtualMachine、または Any。 [いずれか] が選択されている場合、3 つのターゲット プラットフォームすべてに対する SKU の推奨事項が評価され、最適な値が返されます。 (既定値: 任意)
型: | String |
配置: | Named |
規定値: | None |
必須: | False |
パイプライン入力を受け取る: | False |
ワイルドカード文字を受け取る: | False |
-TargetSqlInstance
随意。 SKU の推奨事項の対象となる SQL インスタンスの名前。 (既定値: PerfDataCollection アクションによって作成されたファイルの outputFolder がスキャンされ、見つかったすべてのインスタンスに対して推奨事項が提供されます)
型: | String |
配置: | Named |
規定値: | None |
必須: | False |
パイプライン入力を受け取る: | False |
ワイルドカード文字を受け取る: | False |
出力
Azure PowerShell