Pause Synapse Pool after a period of inactivity

WZIAFP 157 Reputation points
2022-01-12T16:34:26.407+00:00

I have setup runbooks to pause my synapse pool automatically at the end of the day.
I was wondering if anyone can give some pointers as to if it is possible to pause after a period of inactivity?

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,346 questions
0 comments No comments
{count} votes

Accepted answer
  1. AnnuKumari-MSFT 30,361 Reputation points Microsoft Employee
    2022-01-13T11:07:26.987+00:00

    Hi @WZIAFP ,
    Thankyou for using Microsoft Q&A platform.
    In order to automate pausing and resuming of dedicated SQL pool , these are the steps you need to follow:

    Note: In Case of pause same URL can be used , just replace 'resume' with 'pause'

    In order to make it dynamic for both the commands, i.e. Pause and Resume all SQLpools , you can create parameter to send the command during runtime: https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/Microsoft.Synapse/workspaces/{workspace-name}/sqlPools/@{item().name}/@{pipeline().parameters.Command}?api-version=2019-06-01-preview
    164801-image.png

    If you only have one ded sql pool in your Synapse workspace, you can skip bullet points 2 and 3 and directly use a Web activity to send the POST command.

    Please refer to the below provided document and video link in order to understand better:
    Pause and resume dedicated SQL pools with Synapse Pipelines
    https://www.youtube.com/watch?v=4Hoye3kPYlU&t=827s

    Hope this will help. Please let us know if any further queries.

    ------------------------------

    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you.
      Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators
    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful