{"id":13515050,"url":"https://github.com/microsoft/Azure_Synapse_Toolbox","last_synced_at":"2025-03-31T04:36:20.196Z","repository":{"id":37853326,"uuid":"151138178","full_name":"microsoft/Azure_Synapse_Toolbox","owner":"microsoft","description":"Repository of tools/queries for managing and monitoring Azure Synapse. ","archived":false,"fork":false,"pushed_at":"2023-06-21T15:18:00.000Z","size":14627,"stargazers_count":292,"open_issues_count":15,"forks_count":122,"subscribers_count":22,"default_branch":"master","last_synced_at":"2025-03-21T23:41:43.586Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TSQL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/microsoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-10-01T18:30:21.000Z","updated_at":"2025-02-28T08:09:24.000Z","dependencies_parsed_at":"2024-01-13T22:24:11.076Z","dependency_job_id":"bbf379e4-6cef-4983-8922-bc937b8cbd87","html_url":"https://github.com/microsoft/Azure_Synapse_Toolbox","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2FAzure_Synapse_Toolbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2FAzure_Synapse_Toolbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2FAzure_Synapse_Toolbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2FAzure_Synapse_Toolbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/microsoft","download_url":"https://codeload.github.com/microsoft/Azure_Synapse_Toolbox/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246193274,"owners_count":20738452,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T05:01:05.700Z","updated_at":"2025-03-31T04:36:20.144Z","avatar_url":"https://github.com/microsoft.png","language":"TSQL","funding_links":[],"categories":["Repositories","SQL Server Web Resources"],"sub_categories":["Tools \u0026 Samples"],"readme":"# Azure Synapse Toolbox     \n![CSELogo.png](https://github.com/microsoft/Azure_Synapse_Toolbox/blob/master/Collateral/CSELogo.png) \n\nThe Azure Synapse Toolbox is a place for useful tools and scripts to help you manage and monitor Azure Synapse Analytics.\n\u003cbr\u003e \n\u003cbr\u003e \n  \n# Training Resources\n### Blogs\n[Historical Dashboards for Dedicated Pool](https://techcommunity.microsoft.com/t5/azure-synapse-analytics-blog/historical-monitoring-dashboards-for-azure-synapse-dedicated-sql/ba-p/3725322)\u003cbr\u003e \n[Monitoring Serverless Query History](https://techcommunity.microsoft.com/t5/azure-synapse-analytics-blog/monitoring-synapse-serverless-sql-pool-query-history/ba-p/3710423) \u003cbr\u003e\n[Create Alerts for your Dedicated SQL Pool](https://techcommunity.microsoft.com/t5/azure-synapse-analytics-blog/create-alerts-for-your-synapse-dedicated-sql-pool/ba-p/3773256)\n\n### Videos\n[Azure Synapse Analytics Youtube Channel](https://www.youtube.com/@AzureSynapse/featured)\n\n\u003cbr\u003e \n\u003cbr\u003e \n\n# Overview\n### Azure Resource Graph Queries\n\nThe Azure Resource Graph queries assist with gathering Azure tenant inventory for Azure resources related to Azure Synapse Analytics. They are intended to aid cost optimization, general inventory needs, normalizing or standardization of configuration, and more.\n\n### Distribution Advisor\n\nThe Distribution Advisor (DA) feature of Azure Synapse SQL analyzes customer queries and recommends the best distribution strategies for tables to improve query performance. Queries to be considered by the advisor can be provided by the customer or pulled from historic queries available in DMV. See [Microsoft documentation](https://docs.microsoft.com/en-us/azure/synapse-analytics/sql/distribution-advisor) for more information\n\n![DistributionAdvisorRecommendations.png](Collateral/Screenshots/DistributionAdvisorRecommendations.png \"Distribution Advisor\")\n\n### Log Analytics Queries\n\nHelpful KQL queries for querying diagnostic data that has been sent to Log Analytics for your serverless and dedicated SQL pools.\n\n### Monitor Workbooks\n\nIn-depth, interactive workbooks for exploring monitoring data for your Serverless and Dedicated SQL Pools, Synapse Spark Pools, Synapse Pipelines, and ADLS storage. \n\n![SynapsePipelineWorkbook1](Collateral/Screenshots/SynapsePipelineWorkbook1.png)\n\n### PowerBI\n\nPowerBI templates to monitor your Synapse Dedicated SQL Pool. PowerBI has the ability to query the front-end of your SQL endpoint as well as the back-end Log Analytics data so you can build powerful reports. \n\n### Synapse Analyzer\n\nThe Azure Synapse Analyzer Report was created to help you identify common issues that may be present in your database that can lead to performance issues. This report focuses on known best practices that Microsoft has identified with SQL Dedicated Pools. Following these best practices will help to get the best performance out of your solution. The Azure Synapse Best Practice Analyzer Report should help give you insights into the health of your database. We will continue to update the report to call out defined best practices that Microsoft has defined.\n\n![Tables with Issues](Synapse_Analyzer/Synapse_BPA_Report/img/Tables-with-Issues.png \"Tables with Issues\")\n\n### Synapse Toolkit\n\nThe Synapse Toolkit is a set of stored procedures that help investigate\ncurrent activity on your Synapse Dedicated SQL Pool. sp_status is the overall\nsummary procedure that calls various other procedures to provide a picture\nof current activity. Use the detail_command columns to deep dive into a \nparticular session, query, or wait. \n\nList of SPs currently included:\n- sp_status\n- sp_concurrency\n- sp_requests\n- sp_reqeusts_detail\n- sp_sessions\n- sp_sessions_detail\n- sp_waits\n- sp_waits_detail\n- sp_datamovement\n\n![sp_status_screenshot.png](Collateral/Screenshots/SynapseToolkit/sp_status_screenshot.png \"Synapse Toolkit\")\n\n### TSQL Queries\n\nHelpful queries for managing and monitoring various aspects of your Dedicated SQL Pool. \n\n\n# Contributing\n\nThis project welcomes contributions and suggestions.  Most contributions require you to agree to a\nContributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us\nthe rights to use your contribution. For details, visit https://cla.microsoft.com.\n\nWhen you submit a pull request, a CLA-bot will automatically determine whether you need to provide\na CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions\nprovided by the bot. You will only need to do this once across all repos using our CLA.\n\nThis project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).\nFor more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or\ncontact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrosoft%2FAzure_Synapse_Toolbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmicrosoft%2FAzure_Synapse_Toolbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrosoft%2FAzure_Synapse_Toolbox/lists"}