Sqlpackage.exe 部署到 Azure:我可以指定性能层吗?
Sqlpackage.exe Deploy to Azure: Can I specify performance tier?
使用SQLPackage.exe将DACPAC部署到AzureSQL数据库时,是否可以指定要创建的数据库的性能层?或者我是否需要创建数据库,然后向 downgrade/upgrade 发出单独的命令?
我已经在 https://msdn.microsoft.com/en-us/hh550080(v=vs.103).aspx 查看了(冗长的)文档,但我没有看到我要找的东西。但这似乎是一个不错的 obvious/desirable 选项,所以也许我遗漏了什么,或者它在其他地方有记录?
SqlPackage.exe 支持设置版本、性能级别、最大尺寸 for Azure SQL 数据库作为将 dacpac 发布到新数据库的一部分。
/p:DatabaseEdition = ({Basic | Standard | Permium | Default} 'Default') //Defines the edition of Azure SQL Database
/p:DatabaseServiceObjective = (STRING) // Defines the performance level of Azure SQL Database e.g. S0, S1, S2, S3, P1, P2, P4, P6, P11
/p:DatabaseMaximumSize = (INT32) // Defines the maximum size in GB
使用SQLPackage.exe将DACPAC部署到AzureSQL数据库时,是否可以指定要创建的数据库的性能层?或者我是否需要创建数据库,然后向 downgrade/upgrade 发出单独的命令?
我已经在 https://msdn.microsoft.com/en-us/hh550080(v=vs.103).aspx 查看了(冗长的)文档,但我没有看到我要找的东西。但这似乎是一个不错的 obvious/desirable 选项,所以也许我遗漏了什么,或者它在其他地方有记录?
SqlPackage.exe 支持设置版本、性能级别、最大尺寸 for Azure SQL 数据库作为将 dacpac 发布到新数据库的一部分。
/p:DatabaseEdition = ({Basic | Standard | Permium | Default} 'Default') //Defines the edition of Azure SQL Database
/p:DatabaseServiceObjective = (STRING) // Defines the performance level of Azure SQL Database e.g. S0, S1, S2, S3, P1, P2, P4, P6, P11
/p:DatabaseMaximumSize = (INT32) // Defines the maximum size in GB