Skip to content

Databricks Databricks Compute

Every query Qualytics sends to Databricks runs on the compute resource whose Http Path is in the connection: a SQL warehouse or an all-purpose cluster. The choice affects how fast operations start, how often connections time out, and what they cost.

SQL Warehouses (Serverless)

Serverless SQL warehouses run SQL queries on serverless endpoints.

Attribute Description
Cost You pay only for the queries you run, with no dedicated infrastructure to provision or manage, which suits ad-hoc or occasional queries.
Scalability Resources scale with demand, so performance holds across varying workloads.
Simpler management There are no clusters or infrastructure to manage.
Minimum requirements Access to a Databricks workspace and permission to create and run SQL queries.

All-Purpose Compute

All-purpose clusters are not tuned for a specific task. They are flexible, but may not give the best performance or cost for every workload.

Attribute Description
Slow start An all-purpose cluster can take longer to start than a specialized one, which delays the start of processing.
Connection timeouts Because of the longer start, connections that expect a quick response can time out.

Node Pools

A node pool is a set of identical, idle virtual machines that clusters draw from. Keeping instances ready for a cluster gives it consistent performance and isolates it from other workloads.

Attribute Description
Resource isolation Different workloads run without affecting each other's performance.
Optimized performance Dedicating nodes to a task lets you tune performance for that workload.
Cost A pool can cost less than plain all-purpose compute for some workloads, since you size it for each task.

Improving All-Purpose Compute with Node Pools

Step Description
Define workload-specific node pools Identify the workloads that need better performance and create a dedicated node pool for each.
Set minimum requirements Decide the minimum CPU, memory and disk each workload needs, and configure the pool to match.
Monitor and adjust Watch the pool's performance and adjust its resources as needed.

To create a pool for Qualytics and attach a cluster to it, see Configure a Node Pool.