I want to upscale dedicated sql pools in synapse workspace using powershell but cant find commands.can anyone provide any link or code?
Azure Synapse Analytics dedicated sql pool scaling using powershell
In dedicated SQL pool (formerly SQL DW), you can increase or decrease compute resources by adjusting data warehouse units. The Create and Connect - portal created mySampleDataWarehouse
and initialized it with 400 DWUs. The following steps adjust the DWUs for mySampleDataWarehouse
.
To change data warehouse units, use the Set-AzSqlDatabase PowerShell cmdlet. The following example sets the data warehouse units to DW300c for the database mySampleDataWarehouse
, which is hosted in the Resource group resourcegroupname
on server sqlpoolservername
.
Set-AzSqlDatabase -ResourceGroupName "resourcegroupname" -DatabaseName "mySampleDataWarehouse" -ServerName "sqlpoolservername" -RequestedServiceObjectiveName "DW300c"
You can refer to Scale compute for dedicated SQL pool (formerly SQL DW) with Azure PowerShell
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.