다음을 통해 공유


Get-AzDataMigrationSkuRecommendation

Azure SQL 제품에 대한 SKU 권장 사항 제공

Syntax

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>]

Description

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%인 vCore CPU 요구 사항이 4개인 것으로 확인되면 실제 CPU 요구 사항은 6개 vCore가 됩니다. (기본값: 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. Any를 선택하면 세 가지 대상 플랫폼 모두에 대한 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

출력

Boolean