Skip to main content
idle · azure

Synapse dedicated SQL pools with zero active queries that could be paused

resource types
1
rule IDs covered
1
severity
medium

What does ZopNight detect here?

ZopNight flags an Azure Synapse dedicated SQL pool when `ActiveQueries` reads zero on average and at peak over at least 7 days of data, with DWU used percentage at or below 5% when reported. Pausing stops the Data Warehouse Unit compute charge while storage keeps billing, so ZopNight counts only the compute share as the saving.

Signal and threshold

How ZopNight evaluates Synapse dedicated SQL pools with zero active queries that could be paused.
Field Value
Rule IDsRC-260
Categoryidle
Severitymedium
MetricActiveQueries, DWU used percentage
ThresholdActiveQueries = 0, DWU used <= 5%
Evaluation window30d
SourceZopNight
Permissions usedMicrosoft.Synapse/workspaces/sqlPools/read · Microsoft.Insights/Metrics/Read

Compute and storage are billed apart in a dedicated pool

A Synapse dedicated SQL pool separates compute from storage, and Microsoft’s compute management guide spells out the billing consequence: pricing for compute and storage is separate. When you pause a pool, Data Warehouse Unit costs are zero during the pause, while data storage is not affected and keeps its data. Resuming brings the DWU charge back.

An idle pool left running is therefore paying for its full DWU level for nothing. Pausing it is safe for the data, but it is not free: storage continues to bill.

Checking query activity on a pool

Terminal window
az synapse sql pool list --workspace-name my-workspace --resource-group my-rg \
--query "[].{name:name, sku:sku.name, status:status}" -o table
az monitor metrics list --resource <sql-pool-resource-id> \
--metric ActiveQueries DWUUsedPercent --offset 30d --interval PT24H --aggregation Average Maximum

The DWU used percentage metric is the higher of CPU and data IO percentage, a good cross-check that nothing is running in the background.

Gates on query and DWU activity

  1. The pool is online (Succeeded).
  2. The ActiveQueries series is present and covers at least 7 days, so a pool created this week is not paused on an empty chart.
  3. ActiveQueries is zero on both average and peak over the full history available, not only the last few days.
  4. When the DWU used percentage metric is reported, it is at or below 5%. Higher DWU use with no visible queries points at background or maintenance work and cancels the finding.
  5. The pool has a known monthly cost above zero.

Pipeline run counts from the workspace, when present, appear in the description as extra context but never decide the result.

Pools that keep running

Without the ActiveQueries series there is no finding. Any query, or DWU use above 5%, also clears the pool. Tags describing pipeline runs or Spark jobs are no longer read, since nothing guaranteed they were accurate.

Saving covers compute only

Terminal window
saving = current monthly pool cost x compute share
cost after fix = current monthly pool cost - saving (storage keeps billing)

The cost after the fix is never zero, because pausing leaves storage charges in place.

Pausing the idle pool

  1. Confirm no scheduled loads or reports are due; pausing cancels any running or queued operations.
  2. Pause it: az synapse sql pool pause --name my-pool --workspace-name my-workspace --resource-group my-rg.
  3. Resume with az synapse sql pool resume when needed, then restart workload queries.
  4. If the pool must stay reachable, Microsoft suggests scaling it to the smallest size instead, for example with az synapse sql pool update --name my-pool --workspace-name my-workspace --resource-group my-rg --performance-level DW100c.

See it fire on your bill.

Connect an account read-only. The first findings land in minutes.

472 rule families across 353 resource types on 22 platforms. Every threshold, metric, and IAM action is documented on these pages before you grant anything.

472 rule families documented
353 resource types covered
read-only default access level
Multi-cloud automation· Production-ready in 30 min· SOC 2 · ISO 27001· 20–60% off the bill, first month· 4 platforms · 1 console· Multi-cloud automation· Production-ready in 30 min· SOC 2 · ISO 27001· 20–60% off the bill, first month· 4 platforms · 1 console·