【问题标题】:AzureSQL: What is the automation/script name for PremiumRS service tiers?Azure SQL:高级服务层的自动化/脚本名称是什么?
【发布时间】:2017-03-16 03:08:33
【问题描述】:

在 AzureSQL 中,PremiumRS 服务层的名称是什么? 我的自动化脚本每天早上 6 点将我的数据库从 Standard S3 升级到 Premium P1,但我希望将其更改为升级到 PremiumRS PS1。

这是我正在使用的脚本: https://gallery.technet.microsoft.com/scriptcenter/Azure-SQL-Database-e957354f

【问题讨论】:

  • 新的 PremiumRS 层似乎还不能自动化。 webhook 不起作用,昨晚我将数据库设置为 PRS2,并且该数据库的自动化脚本已经完美运行了几个月,但未能将其降至 S0。我想,因为它是 PRS 层级。
  • 昨晚自动化脚本报错:Set-AzureSqlDatabase : Cannot validate argument on parameter 'Database'. The argument is null. Provide a valid value for the argument, and then try running the command again. At AzureSQLScaling:71 char:71 + + CategoryInfo : InvalidData: (:) [Set-AzureSqlDatabase], ParameterBindingValidationException + FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.WindowsAzure.Commands.SqlDatabase.Database.Cmdlet.SetAzureSqlDatabase

标签: azure azure-sql-database azure-automation


【解决方案1】:

服务层级为 PRS1、PRS2、PRS4 和 PRS6。我还建议您仔细检查可用性区域。

对于服务层: http://blog.nilayparikh.com/azure/sql/update-microsoft-azure-sql-database-increase-storage-up-to-4tb/

对于地区: https://azure.microsoft.com/en-us/blog/sql-database-4tb-premium-and-premium-rs-preview/

【讨论】:

  • 谢谢,但是类别名称是什么?即:Standard、Premium、Basic...我认为它是 PremiumRS,但那不起作用。
【解决方案2】:

有关创建语法,请参阅https://msdn.microsoft.com/en-us/library/dn268335.aspx 上的创建数据库(Azure SQL 数据库)主题。 同样,请参阅 https://msdn.microsoft.com/en-us/library/mt574871.aspx 上的 Alter Database(Azure SQL 数据库)主题

【讨论】:

  • 谢谢,我在 webhook 中使用了 premiumrs 和 PRS4,但它不起作用。 -- 如果我使用高级版和 P2 就可以了
  • 类别为“Premium RS”。再试一次,包括空格。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2014-12-28
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多