Virtual Cluster Isolation: Separate Lakehouse Workloads
Virtual Cluster Isolation separates lakehouse ETL, BI and ingestion. Check SQL routing and learn how compute isolation differs from access control.
Virtual Cluster Isolation lets you put lakehouse batch ETL, BI and ad-hoc queries, and ingestion on separate compute clusters, prove with SQL which cluster a session is actually running on, and validate the split against a repeatable evidence matrix. Two boundaries frame everything below: isolating compute does not grant, revoke or alter any data access right, and it reduces contention without guaranteeing its absolute absence. Deployment-version behaviour and Studio session selection must be confirmed in your own instance, not assumed from documentation.
Which Lakehouse Workloads Need Their Own Virtual Cluster?
Split where the workload's burst profile, latency sensitivity and queue tolerance differ enough that sharing would degrade one of them. Isolation is one lever on an AI lakehouse platform that already separates storage from compute; this guide covers only the compute-scheduling layer. Singdata documents three cluster types with distinct elasticity: General Purpose scales vertically in 1 CRU steps, Analytics scales horizontally across replicas and requires a power-of-two specification, and Integration scales vertically in 0.025 CRU steps from a 0.05 CRU minimum (managing compute clusters, virtual cluster specifications). The table maps each workload class to a starting configuration and the evidence that tells you the split worked.
Workload class | Recommended cluster type | Elasticity behaviour | Auto-suspend posture to start from | Primary evidence after the split |
|---|---|---|---|---|
Batch ETL / offline jobs | General Purpose | Vertical: MIN_VCLUSTER_SIZE / MAX_VCLUSTER_SIZE, 1 CRU steps | Short window (documentation suggests 60 seconds) to release resources between runs | Job appears only under the ETL cluster in SHOW JOBS IN VCLUSTER; BI latency unchanged during the ETL window |
BI reports / ad-hoc queries | Analytics | Horizontal: MIN_REPLICAS / MAX_REPLICAS; specification must be a power of 2 | Long window (documentation suggests 1800 seconds) to keep result cache warm | Concurrency adds replicas instead of queueing; repeated queries served from cache |
Ingestion / sync jobs | Integration | Fine-grained vertical from 0.05 CRU in 0.025 CRU steps | Match to sync cadence; short windows are viable because runs are frequent | Sync jobs listed on the Integration cluster; ETL and BI queues unaffected while sync runs |
Dynamic Table refresh | General Purpose | Vertical, same as ETL | Align with refresh frequency | Small-file count stays stable; refresh completes without file growth |
Choosing a cluster type decides where work runs. It never decides who may read which table.
What Should Stay on the Same Cluster?
Over-isolation is the opposite failure: one cluster per job multiplies cold starts, fragments cache, and makes consumption hard to attribute. Deliberately share compute when workloads have a similar burst profile, tolerate the same queueing, are operated by the same team, and have no latency-sensitive consumer downstream. General Purpose clusters are documented to share resources through fair scheduling and elastic scaling, which is exactly the behaviour you want when two batch jobs can wait for each other. Dynamic Table refresh is the exception: the cluster type is constrained by the refresh mechanism, and the documentation recommends General Purpose because Analytics clusters do not perform automatic small-file compaction during refresh.
What Must Be True Before You Split Compute?
Clear this checklist before touching production. Each item is something to confirm in your own workspace, not something the documentation settles for you.
A role that can manage clusters. You need permission to create, alter and suspend virtual clusters in the target workspace.
A job inventory with schedules and SLAs. Record each job's cadence, expected runtime and the deadline it must meet, so you can tell afterwards whether the split helped or hurt.
A named governance owner. That person confirms catalog grants, roles and any row or column policies before and after the change, because the compute split must leave them identical.
An evidence location. Decide now where you will store job listings, query output and billing records for the validation matrix.
Version and Studio confirmation. Documented SQL and UI behaviour can differ by deployment version. Confirm the syntax you intend to use against your instance.
One Studio caveat deserves emphasis: the cluster is normally switched from the page-level selector, and a USE VCLUSTER statement typed in the SQL editor must be selected together with the statements that follow it, or it will not govern them (managing compute clusters).
How Do You Create and Route Each Workload to Its Own Virtual Cluster?
Work through the steps in order and record the checkpoint output at each one. The DDL syntax below follows the documented CREATE VCLUSTER / ALTER VCLUSTER forms; verify it against your deployment version before running it in production.
List existing clusters before you create anything. Run
SHOW VCLUSTERS;, thenSHOW VCLUSTERS WHERE state = 'RUNNING';to see which clusters are already active. Checkpoint: the listing matches the clusters you expected to find in this workspace.Create the batch ETL cluster as General Purpose, with a short auto-suspend window.
CREATE VCLUSTER etl_cluster VCLUSTER_SIZE = 1 VCLUSTER_TYPE = GENERAL AUTO_SUSPEND_IN_SECOND = 60;Checkpoint: the cluster lists with typeGENERAL.Create the BI cluster as Analytics, sized to a power of two, with a replica range and a long auto-suspend window that preserves result caching.
CREATE VCLUSTER bi_cluster VCLUSTER_SIZE = 2 VCLUSTER_TYPE = ANALYTICS MIN_REPLICAS = 1 MAX_REPLICAS = 2 AUTO_SUSPEND_IN_SECOND = 1800;Analytics specifications must be a power of 2 (1, 2, 4, 8, 16, …), and any other value errors. Checkpoint: the cluster lists asANALYTICSwith the replica bounds you set.Create the ingestion/sync cluster as Integration. Integration clusters take finer specification steps — 0.05 CRU minimum in 0.025 CRU increments — so size to the sync load rather than to a round number. Checkpoint: sync jobs run on the Integration cluster.
Route the session with
USE VCLUSTER <name>;. In Studio, prefer the page-level cluster selector; aUSE VCLUSTERstatement typed in the SQL editor must be selected together with the SQL it should govern, or it will not apply to those queries. Checkpoint: the next statement you run executes on the cluster you named.Prove the routing with
SELECT CURRENT_VCLUSTER();, then re-list withSHOW VCLUSTERS;to confirm state. Checkpoint: the returned name is the cluster you intended. If it is not, stop and investigate before you run production work.Repeat the switch and the confirmation in Studio. The session's effective cluster is what matters, not the last statement issued. Checkpoint:
SELECT CURRENT_VCLUSTER();returns the intended cluster again. If it does not, stop and investigate.
How Do You Confirm Which Cluster a Session Is Actually Using?
Three different facts get conflated: the cluster named in the session, the cluster a job was routed to, and the cluster listed as running. Record all three. Run SELECT CURRENT_VCLUSTER() from inside the session, cross-check with SHOW VCLUSTERS WHERE state = 'RUNNING', and pull the job record with SHOW JOBS IN VCLUSTER <name>. Re-verify after any reconnect, after opening a new editor tab, and after a scheduled job is resubmitted, because the effective cluster is a property of the session, not of the last statement you issued. Cluster names are stored in uppercase and references are case-insensitive, so a case difference in your evidence records is not itself an error (virtual cluster reference).
How Do You Prove Isolation With an ETL, BI and Ingestion Validation Matrix?
Treat the matrix below as a template: substitute your own job names, SLAs and idle windows, then record the artefact that proves each check. Every evidence cell should be something you can pull from the platform, not an impression. The matrix demonstrates separation of compute; it does not test access control, which is covered separately below.
Workload class | Check performed | Evidence that passes | Evidence that fails |
|---|---|---|---|
ETL | Job placement | Job appears only under the ETL cluster in SHOW JOBS IN VCLUSTER etl_cluster | Job listed under the BI cluster or a shared cluster |
ETL | Cross-workload latency | BI query duration during the ETL window matches the pre-split baseline | BI latency rises while the batch job runs |
ETL | Dynamic Table file health | Small-file count stays stable across refreshes | File count grows and queries slow progressively |
BI | Concurrency handling | Concurrent queries queue or trigger additional replicas rather than saturating one instance | Queries stall with no replica change |
BI | Result cache | Repeated identical queries return faster within the cache window | Every repeat pays full execution time |
BI | Idle suspension | Cluster state shows SUSPENDED after the configured idle window | Cluster stays RUNNING while idle |
Ingestion | Sync placement | Sync jobs run on the Integration cluster | Sync jobs consume the ETL or BI cluster |
Ingestion | Cross-workload impact | ETL and BI queues are unaffected while sync runs | Sync start correlates with queue growth elsewhere |
Cross-cutting | Cost attribution | Each workload's consumption appears against its own cluster in billing records | Consumption is pooled and unattributable |
Cross-cutting | Suspend/resume events | Events match the configured idle windows per cluster | Start/stop cycles repeat far more often than the configured window implies |
What Does Compute Isolation Not Change?
Two things stay exactly as they were, and conflating them with isolation is the most consequential mistake in this design.
Isolation is not authorization. Moving a workload onto its own cluster leaves catalog grants, roles and any row or column policies untouched. A user who could read a table before can still read it after; a user who could not still cannot. Access enforcement is a control family in its own right, catalogued separately from resource management in NIST SP 800-53 Rev. 5, and nothing about choosing a cluster type satisfies it. Verify the grant state before and after the split rather than inferring it.
Isolation reduces contention; it does not eliminate it. Clusters share the same object storage, catalog and metadata path, and processes inside a single cluster still compete with each other. The Linux kernel's CPU isolation documentation makes the same point in a different domain: it describes leaving a CPU exclusive to a workload "without any undesired code interference from the kernel," and still documents residual activity such as an offloaded scheduler tick that must be accounted for. Partitioning is an operational technique, not a security boundary.
Before you accept the design, confirm in your own deployment: the version-specific syntax and behaviour you relied on, how Studio selects the session's cluster, and whether any workload still shares a cluster with a latency-sensitive consumer.
How Do You Keep Costs Predictable When You Isolate Compute?
Isolation changes the shape of your bill before it changes its size. CRU is the same billing unit that governs free-tier consumption and the overages charged after your free CRU expires, and a new cluster adds a separate consumption line rather than splitting one existing line. Singdata meters compute by the second and bills it in CRU*hour against actual runtime, and a cluster in the stopping state stops generating compute usage (lakehouse pricing). Those mechanics make the auto-suspend window a cost decision, not a housekeeping detail.
Singdata's compute documentation offers two example settings: 60 seconds idle for an ETL cluster and 1800 seconds (30 minutes) for a BI query cluster, the longer window chosen so the result cache survives between queries (managing compute clusters). Treat them as configuration examples rather than defaults, measured averages or benchmarks, and assume each one only pays off if the cluster genuinely goes idle between runs. Confirm the values your deployment applies before adopting either.
A short window on an ETL cluster releases resources between scheduled runs, which suits a workload whose reuse is low. The same window on an interactive cluster is counterproductive for a different reason: every query pays a cold start, and the result cache empties between queries. Because billing follows actual runtime rather than a fixed increment, a tighter window doesn't hand you a hidden credit — it simply trades idle compute for cold-start latency and repeated cache misses. The documented examples above are the starting point; adjust them once you can see your own job cadence.
Analytics clusters add a variable component: replicas scale out as concurrency rises, so peak cost tracks query pressure and should be monitored rather than assumed. Take actual rates from the published lakehouse pricing and the billing documentation; this article deliberately quotes no figures.
Which Mistakes Undo Virtual Cluster Isolation?
Each of these is visible in the validation matrix, which is why the matrix exists.
Dynamic Table refresh on an Analytics cluster. The refresh path does not perform the automatic small-file compaction a General Purpose cluster provides. Symptom: file count grows and queries slow progressively. Correction: move refresh to General Purpose.
Batch ETL and BI sharing one cluster. Large jobs consume the resources queries need. Symptom: reports queue behind batch work while the batch job itself slows. Correction: give each its own cluster.
Auto-suspend set too short on an interactive cluster. Symptom: every query waits through a cold start and the repeated queries no longer hit the result cache, so they cost as much as the first run. Correction: lengthen the window so result cache survives between queries.
Assuming
USE VCLUSTERtook effect in Studio. If the statement was not selected and run together with the following SQL, it did not govern those queries. Symptom:SELECT CURRENT_VCLUSTER()returns an unexpected name. Correction: switch via the page-level selector, or run the statement and its queries as one selection.Treating the split as a governance control. Symptom: an access review assumes isolation changed who can read what. Correction: test authorization separately, every time.
What Should You Verify Before You Accept the Isolation Setup?
Run these as pass/fail items in one evaluation window:
Each workload class resolves to its intended cluster when checked from inside the session with
SELECT CURRENT_VCLUSTER().No latency-sensitive consumer shares a cluster with a batch job.
Dynamic Table refresh runs on a cluster type that supports compaction during refresh.
Auto-suspend windows match each workload's reuse pattern and are reflected in observed suspend events.
Consumption is attributable per cluster in billing records.
Access-control behaviour is unchanged, confirmed by the governance owner against pre-split grants.
The deployment version's documented behaviour matches what you actually observed.
This checklist verifies separation of compute resources. Authorization and interference boundaries must be tested separately, because neither is established by a clean cluster split.
What Do Teams Commonly Ask About Virtual Cluster Isolation?
Short answers to the questions that come up most often during an isolation rollout.
Does isolating a virtual cluster change which data a user can query?
No. The cluster decides where a query executes; catalog grants and roles decide which tables and columns it may read. Moving a workload to its own cluster can change performance and scheduling behaviour, which some users perceive as a change in access, but the permission model is untouched. Confirm the grant state before and after the split rather than inferring it from query results.
Can two virtual clusters read and write the same table at the same time?
Yes. Storage and compute are decoupled, and multiple clusters can read from and write to the same data concurrently. Concurrency correctness comes from the table format's commit protocol, not from the cluster split, so validate your write paths under concurrent load rather than assuming the split alone makes them safe.
Which cluster type should refresh a Dynamic Table?
General Purpose, because the refresh path needs the automatic small-file compaction that Analytics clusters do not perform during refresh. The diagnostic for getting this wrong is a growing small-file count alongside progressively slower queries on the refreshed table. If you see that pattern, check the cluster type before tuning anything else.
How long should auto-suspend be for ETL and BI clusters?
Treat them as different problems rather than one setting: the documented examples are 60 seconds idle for an ETL cluster, because reuse is low and idle capacity is pure cost, and 30 minutes or more for a BI cluster, so the result cache stays warm and users avoid a cold start. Compute is metered by the second and billed in CRU*hour, so there's no minimum-minute penalty to plan around; the real cost of a too-short window on an interactive cluster is repeated cold starts and cache misses. Those example values are documented recommendations, not universal settings, so confirm them against your own reuse pattern.
How do I confirm which cluster my Studio session is using?
Run SELECT CURRENT_VCLUSTER() inside the session and compare the result with the SHOW VCLUSTERS listing. Re-check after reconnecting, opening a new editor tab, or resubmitting a scheduled job. In Studio, switch clusters with the page-level selector; a USE VCLUSTER statement applies only when you run it together with the queries it should govern.