Share via

Azure SQL databases not pausing

Paul Hart 0 Reputation points
2025-11-04T13:55:29.65+00:00

We operate a number of serverless SQL databases on Azure. Every few months one or two of them fails to pause. I'm on top of it now but early on it could be weeks before the guy who pays the bill noticed.

Sometimes provisioning the database then switching it back to serverless helps the database pause. But recently I've had to rename two before they would pause

IP addresses are restricted, usage is controlled. Its a small group so easy to confirm its not user access doing this. The db's are small (<1gb), identical structure and rules, and many have existed for months or years before they decide to stop pausing. Twice this has happened when i've been on holiday so I know they've not been connected to via most access routes.

What I have noticed is these failures to pause often (almost always) coincide with failed Power BI Service refreshes. Could it be holding open a connection, failing to close it properly?

Is there any way to find out who / what / where is keeping my database awake to confirm /deny this theory?

Azure SQL Database

1 answer

Sort by: Most helpful
  1. Erland Sommarskog 134.7K Reputation points MVP Volunteer Moderator
    2025-11-04T22:35:06.9+00:00

    If a connection from somewhere is left open, but remains in active that does not prevent the database to be paused. But if the connection keep pecking with a query, it's a different matter.

    Why not set up an extended-events session that captures batches submitted to the database?

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.