如何根据CPU/DWU利用率等指标而不是根据时间表自动缩放ASQL DWH? [英] How to Auto scale or scale down ASQL DWH based on Metrics like CPU / DWU utilization and not based on a time schedule?

查看:96
本文介绍了如何根据CPU/DWU利用率等指标而不是根据时间表自动缩放ASQL DWH?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我计划在基于CPU/DWU利用率的自动扩展Azure数据仓库上实现POC

浏览了下面的链接,并填写了基于模板的部署中的详细信息,并成功部署了.

https://azure.microsoft.com/zh-CN/blog/azuresqldw-cost-savings-with-autoscaler-part-2/

在我部署模板后创建的ScaleUpSQLDW警报规则中,有一个自动化脚本"选项.我点击了它,然后脚本中出现了几种设置,如
CPU利用率,DWU利用率以及相应的值,例如80%等...
我想根据自己的选择更改阈值,以便在DWH上运行查询时满足那些阈值条件.
但是,我无法修改该脚本中的任何设置..

ScaleDownSQLDW警报规则也是如此.
请提出前进的方向..在此先感谢
建议的其他替代方法也很好

Surya

Hi All,

I am planning to implement a POC on Auto scaling the Azure Data warehouse based on CPU / DWU utilization

Went through the link below and filled the details in Template based deployment and deployed successfully.

https://azure.microsoft.com/en-us/blog/azuresqldw-cost-savings-with-autoscaler-part-2/

In the ScaleUpSQLDW Alert rule which got created after i deployed the template, there is an option for "Automation script ". I clicked on it and a script apeared with several settings like 
CPU Utilization , DWU Utilization with corresponding values like 80% etc...
I want to change the threshold values according to my choice so that those threshold conditions satisfy when i run a query on DWH.
However, i am not able to modify any settings in that script..

Same is the case with ScaleDownSQLDW alert rule as well.
Please suggest the way forward.. Thanks in advance
Any alternate method suggested is also fine

Surya

推荐答案

您好Surya,

Hi Surya,

您所参考的教程支持两种警报方法,但是您需要配置所需的功能. GitHub项目还有其他详细信息可以帮助您.

The tutorial you are referring to supports two alerting methodologies but you need to configure the functionality you desire. The GitHub project had additional details to help you.

要部署模板,您需要以下信息:

To deploy the template, you need the following information:

  • SQL DW实例所在的资源组的名称
  • SQL DW实例所在的逻辑服务器的名称
  • SQL DW实例的名称
  • Azure Active Directory的租户ID(目录ID)
  • 订阅ID
  • 服务主体应用程序ID
  • 服务主体密钥
  • 以上教程的GitHub存储库: SQL数据仓库自动扩展模板

    GitHub Repo for the above tutorial: SQL Data Warehouse Automatic Scaling Template

    Azure博客文章讨论了上述集成方案和GitHub存储库,以将Azure Functions用于Azure数据仓库: #AzureSQLDW通过Autoscaler节省的成本–第2部分(您在最初的问题中提供了此功能,但我将其包含在此处以将其全部串在一起).

    Azure Blog Post discussing the above integration scenario and GitHub repo for using Azure Functions for Azure Data Warehouse: #AzureSQLDW cost savings with Autoscaler – part 2 (You provided this in your initial question but I am including it here to string it all together).

    我强烈建议您使用Visual Studio克隆GitHub存储库,并研究两种自动扩展方案.一个基于时间,另一个基于利用率.您需要基于利用率的功能.

    I highly suggest that you use Visual Studio to clone the GitHub repo and look into the two auto scaling scenarios. One is time based and the other is utilization based. You want the utilization based functionality. 

    基于DWU使用监视器的定标器和基于计时器的定标器."

    "The EDU Data Service team’s Autoscaler is comprised of two primary components including a DWU-usage monitor based scaler and a timer-based scaler."

    sqlDwAutoScaler/alert-template.json 包括两种警报类型的语法.您将需要配置 该项目可以满足您的运营需求.

    The sqlDwAutoScaler/alert-template.json includes the syntax for both alert types. You will need to configure the project to meet you operational needs.

    如果您需要其他信息,请告诉我们.

    Please let us know if you require additional information.

    此致

    迈克


    这篇关于如何根据CPU/DWU利用率等指标而不是根据时间表自动缩放ASQL DWH?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆