Delen via


Get-AzDataMigrationSkuRecommendation

Geeft SKU-aanbevelingen voor Azure SQL-aanbiedingen

Syntaxis

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

Geeft SKU-aanbevelingen voor Azure SQL-aanbiedingen

Voorbeelden

Voorbeeld 1: SKU-aanbeveling uitvoeren op opgegeven SQL Server met behulp van verbindingsreeks

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

Met deze opdracht wordt aanbeveling voor uitvoeren van de SKU uitgevoerd op sql Server met behulp van de verbindingsreeks.

Voorbeeld 2: Run SKU Recommendation on given SQL Server using assessment config file

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

Met deze opdracht voert u aanbeveling voor uitvoeren van de SKU uit op de opgegeven SQL Server met behulp van het configuratiebestand.

Parameters

-ConfigFilePath

Pad van het ConfigFile

Type:String
Position:Named
Default value:None
Vereist:True
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-DatabaseAllowList

Facultatief. Ruimte gescheiden lijst met namen van databases die moeten worden toegestaan voor overweging van SKU-aanbevelingen, terwijl alle andere worden uitgesloten. Stel slechts een van de volgende of geen van beide in: databaseAllowList, databaseDenyList. Hoe door te geven - 'Database1 Database2' (standaard: null)

Type:String
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-DatabaseDenyList

Facultatief. Door ruimte gescheiden lijst met namen van databases die niet in aanmerking komen voor SKU-aanbevelingen. Stel slechts een van de volgende of geen van beide in: databaseAllowList, databaseDenyList. Hoe door te geven - 'Database1 Database2' (standaard: null)

Type:String
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-DisplayResult

Facultatief. Of de SKU-aanbevelingsresultaten al dan niet naar de console moeten worden afgedrukt.

Type:SwitchParameter
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-ElasticStrategy

Facultatief. Of u de elastische strategie voor SKU-aanbevelingen al dan niet wilt gebruiken op basis van profilering van resourcegebruik.

Type:SwitchParameter
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-EndTime

Facultatief. UTC-eindtijd van prestatiegegevenspunten die moeten worden overwogen tijdens de aggregatie, in JJJJ-MM-DD UU:MM-indeling. Alleen gebruikt voor basislijnstrategie (niet-elastisch). (Standaard: alle verzamelde gegevenspunten worden overwogen)

Type:String
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-OutputFolder

Map waaruit gegevens- en resultaatrapporten worden geschreven/gelezen. De waarde hier moet hetzelfde zijn als de waarde die wordt gebruikt in PerfDataCollection

Type:String
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-Overwrite

Facultatief. Of u bestaande SKU-aanbevelingsrapporten al dan niet wilt overschrijven.

Type:SwitchParameter
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-PassThru

Type:SwitchParameter
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-ScalingFactor

Facultatief. Schaalfactor (comfort) die wordt gebruikt tijdens de SKU-aanbeveling. Als bijvoorbeeld wordt vastgesteld dat er een CPU-vereiste van 4 vCores is met een schaalfactor van 150%, is de werkelijke CPU-vereiste 6 vCores. (Standaard: 100)

Type:String
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-StartTime

Facultatief. UTC-begintijd van prestatiegegevenspunten die moeten worden overwogen tijdens de aggregatie, in JJJJ-MM-DD UU:MM-indeling. Alleen gebruikt voor basislijnstrategie (niet-elastisch). (Standaard: alle verzamelde gegevenspunten worden overwogen)

Type:String
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-TargetPercentile

Facultatief. Percentiel van gegevenspunten die moeten worden gebruikt tijdens het samenvoegen van de prestatiegegevens. Alleen gebruikt voor basislijnstrategie (niet-elastisch). (Standaard: 95)

Type:String
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-TargetPlatform

Facultatief. Doelplatform voor SKU-aanbeveling: AzureSqlDatabase, AzureSqlManagedInstance, AzureSqlVirtualMachine of Any. Als Any is geselecteerd, worden de SKU-aanbevelingen voor alle drie de doelplatforms geƫvalueerd en wordt de beste pasvorm geretourneerd. (Standaard: alle)

Type:String
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-TargetSqlInstance

Facultatief. De naam van het SQL-exemplaar waarop de SKU-aanbeveling wordt gericht. (Standaard: outputFolder wordt gescand op bestanden die zijn gemaakt door de actie PerfDataCollection en aanbevelingen worden gegeven voor elk gevonden exemplaar)

Type:String
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

Uitvoerwaarden

Boolean