# Databricks and Cloud SQL: checking before production

Two ways to test before touching production. Databricks swapped fixed request-rate limits on cluster creation for adaptive concurrency limits and reports a 7.5 times higher default limit in its scope. Google Cloud's Database Center assessments \(preview\) try Cloud SQL recommendations on a clone.

- Language: en
- Published: 2026-11-19
- Tags: dev, databricks, cloud-sql, reliability, operations
- URL: https://devs7ud.io/en/trends/change-safety-databricks-cloud-sql-assessments-en
- Translation (ko): https://devs7ud.io/trends/change-safety-databricks-cloud-sql-assessments.md

## A test before production

Databricks makes a data and AI platform. On November 18 its Compute Platform team published an engineering post on how it raised cluster-creation request-rate limits 7.5 times. The next day, November 19, Google Cloud announced a preview of assessments in Database Center for Cloud SQL for PostgreSQL. The companies and the targets differ, but both put a check or a measurement in front of the production system.

- Databricks controls how many operations are in progress at once, not how fast requests arrive.
- Google Cloud applies a recommended change to a cloned instance instead of the production one and measures the difference.
- Both aim to cut down on people adjusting numbers by hand or applying changes straight to production.

![A card with the Databricks and Google Cloud logos and the words test first, then ship](/blog-img/change-safety-databricks-cloud-sql-assessments/thumb.png)

_Illustration: devs7udio, summarizing the topic of both posts_

## Request count and amount of work

The Databricks Compute Platform team turns cloud infrastructure on AWS, Azure and Google Cloud into clusters customers can use. The cluster-creation API validates a request, records a work item and returns in milliseconds. The background workflow that follows provisions virtual machines and updates state, and it takes minutes.

A fixed request-rate limit fits that poorly. One request may provision a few virtual machines and another many more, so the same request rate does not mean the same amount of work. When a cloud provider slows down, provisioning takes longer and the same rate leaves more work in flight. The post explains that conservative limits turned requests away despite spare capacity, yet kept accepting requests when the services or their dependencies slowed down.

Retries from work that has already been accepted never pass through the API rate limiter. When a dependency struggles, those retries pile up and can sustain the overload. During incidents, engineers lowered the limits by hand and raised them again after recovery.

![A fixed request-rate limit turning orders away in a healthy kitchen and still accepting orders when an oven breaks](https://www.databricks.com/sites/default/files/blog_images/how-we-raised-databricks-cluster-rate-limits-blog-img-1.png "zoom")

_Illustration: [Databricks engineering blog](https://www.databricks.com/blog/how-we-raised-databricks-cluster-rate-limits-75)_

## Concurrency counted in slots

The Databricks answer is to count how many operations are in progress, not how many requests arrived. Each cluster-creation workflow gets one slot. After a request is accepted, the workflow waits for a slot, holds it while it provisions virtual machines and waits on dependencies, and releases it when it finishes. A cluster that then runs customer workloads for hours does not occupy a slot. The controller counts workflows that are still provisioning, not running clusters, virtual machines or vCPUs.

The slot limit itself also moves. For cluster creation, the useful signals are how long provisioning takes and whether critical thread pools are saturated. When the signals point to congestion, the controller reduces the number of concurrent workflows, and when conditions recover it cautiously allows more. Lowering the limit only stops new work from starting, because active work still has to finish. When capacity runs short, accepted requests wait in the queue, and request-rate limit rejections are kept for exceptionally high incoming rates.

**How a cluster-creation request gets started**

- Request accepted → Bounded queue
- Bounded queue → Slot acquired (When a slot is free)
- Slot acquired → Limit adjusted (Signals)

_Source: summarized from the Databricks engineering blog post._

Queues and fairness need design too. The post says to bound the queue size and each request's waiting time, and to reject or expire work that can no longer finish usefully. Fair scheduling means deciding which work goes first and what share each tenant gets under contention, while letting tenants use otherwise idle capacity where the policy allows it. The request-rate limit stays as the last safety guardrail that can be communicated to customers.

![Six slots with four in use and pills on the right standing for the queue](/blog-img/change-safety-databricks-cloud-sql-assessments/1.png)

_Illustration: devs7udio, summarizing the post's description_

## The scope of 7.5 times

The post says the initial rollout analysis reported three outcomes.

| 항목 | 값 | 설명 |
| --- | --- | --- |
| Default request-rate limit | 7.5times | Default cluster-creation request-rate limit |
| Rate-limit errors | 99.99% or more (fewer) | Cluster-creation rate-limit errors in the reported scope |
| Customer-specific overrides | 100or more (removed) | Customer-specific rate-limit exceptions in scope |

_Source: Databricks engineering blog, initial rollout analysis \(figures reported by the company\)_

These numbers come with conditions. The 7.5 times is a figure the company reports, and the post does not say what scope it covers, what the earlier value was or how it was measured. The drop in errors and the removed overrides are also limited to the reported scope. Since the increase, few customers have hit the higher limits, and no new manual overrides have been added for them, according to the post.

A successful API response does not mean the cluster starts immediately. When capacity is short, accepted requests wait in the queue. The post states that a successful response does not guarantee an immediate launch or completion within a fixed time.

## Measured first on a clone

In their November 19 post, Google Cloud's Isabella Lubin and Apoorv Shrivastava explain why applying a recommendation to a production database feels risky: the performance benefit is hard to quantify and the extra cost is hard to justify. Database Center already flags fleet-level health issues and recommendations, but testing a change meant building a staging environment that mirrors production and running benchmarks by hand.

Assessments is an agentic workflow that runs that test automatically, and it is a preview. When you click "Assess impact" on a supported recommendation, it works through the steps in order. It first builds a test plan for your instance, and you can change client connections, transaction counts, query mode or duration in plain language (for example, "Change the benchmark duration to 60 seconds"). It then clones your primary instance into a temporary instance, called the clone below, so production resources and live traffic are left alone.

**The order Assess impact runs in**

- Pick a recommendation → Test plan
- Test plan → Create the clone
- Create the clone → Baseline run
- Baseline run → Apply the change
- Apply the change → Measure again and compare
- Measure again and compare → Delete the clone

_Source: summarized from the Google Cloud blog post and the Cloud SQL documentation._

The Cloud SQL documentation adds the test conditions. The clone uses synthetic data in the form of pgbench tables, and the example setting is 10 client connections, 1,000 transactions per client and simple query mode. Applying configuration changes can take 45 minutes or longer, depending on instance capacity and the type of change. The plan and results are deleted after 48 hours, and the clone is deleted as soon as the workflow completes. If you cancel or interrupt the run, you must delete the clone yourself, and resources accrue charges until they are deleted.

![A pair of equal-height bars for the baseline and the changed run, with the words Assess impact](/blog-img/change-safety-databricks-cloud-sql-assessments/2.png)

_Illustration: devs7udio, summarizing the post's description_

## Three changes you can test

During the preview, assessments tests three kinds of Cloud SQL for PostgreSQL changes.

| Recommendation | Change tested | Effect it checks |
| --- | --- | --- |
| Machine upgrade | Increase vCPU and memory allocation | Whether query throughput rises and compute contention falls under load |
| Edition upgrade | Compare Cloud SQL Enterprise and Enterprise Plus metrics | Whether throughput rises and latency falls |
| Enable data cache | Turn on data cache on an Enterprise Plus instance | Whether read latency drops and I/O bottlenecks ease |

_Source: Google Cloud blog_

The report compares before and after. The documentation says it shows transaction counts and average latency in a table and CPU utilization and memory usage in charts. The feature works only for Cloud SQL for PostgreSQL instances.

## What the two have in common

Side by side, the first thing that stands out is that the place of the test and the signals differ.

| Comparison | Databricks cluster creation | Cloud SQL assessments |
| --- | --- | --- |
| What it protects | The cluster-creation service and customer waiting time | The production database and live traffic |
| Where the test happens | Concurrency and the queue on the way in | An isolated clone |
| Signals used | Provisioning time and thread pool saturation | Throughput, average latency, CPU utilization, memory usage |
| What people do | Define fairness and keep the request-rate limit as the last guardrail | Review the results, then apply the recommendation to production themselves |

_Source: summarized from the Databricks engineering blog, the Google Cloud blog and the Cloud SQL documentation._

Reduced to the overlap in the table, both are devices that move a check of signals or measurements in front of the production user.

## Scope and assumptions unknown

From the Databricks post, it is not possible to tell what scope the 7.5 times covers, what earlier value it is compared against or how it was measured. It describes one application, cluster creation, and the post itself notes that counting every operation as one slot may be too coarse when operations cost very different amounts. Weighted slots and separate limits are mentioned as possible extensions.

Assessments from Google Cloud is a preview, and the blog post does not list regions or pricing. The test runs on synthetic data and a synthetic load, so how close the results are to a real workload cannot be told from the post or the documentation. As the documentation says, the clone's resources accrue charges while the test runs.

## Sources

- [How we raised Databricks cluster rate limits by 7.5×](https://www.databricks.com/blog/how-we-raised-databricks-cluster-rate-limits-75) — Databricks engineering blog, November 18
- [Testing changes, fast: Introducing agentic assessments in Database Center](https://cloud.google.com/blog/products/databases/database-center-assessments-for-cloud-sql-for-postgresql) — Google Cloud blog, November 19
- [Cloud SQL assessments overview](https://docs.cloud.google.com/sql/docs/postgres/assessments-overview) — How the preview works and its limits
- [Create an assessment in Database Center](https://docs.cloud.google.com/database-center/docs/assessments) — The step-by-step guide the blog points to
