Limits and Performance
Set Redshift resource, concurrency, and performance guardrails.
Set practical resource and concurrency limits before production demand grows. These guardrails protect cluster stability as workloads, API traffic, and BI usage increase.
Operational boundaries
Compute sizing
Dev / small fixture
Small node or Serverless low RPU
Full backfill
Scale up temporarily; watch disk / sort skew
Daily incrementals
Right-size WLM; avoid table scans without predicates
Semantic API + BI
Dedicated queue or concurrency scaling
Concurrency and API replicas
Align Vulcan concurrent_tasks with WLM queue slots. Raise API replicas before maxing out cluster concurrency.
api:
replicas: 2
resources:
limits:
cpu: "4000m"
memory: "3Gi"Scheduling and latency floor
Schedule after upstream ETL completes
Avoid partial reads
timezone: UTC in production
Avoid DST shifts
endOn ≥ 1 to 2 years out
An expired endOn halts the workflow silently
concurrencyPolicy: Forbid
Prevents overlapping incrementals
WLM queue wait dominates under load; monitor STL_WLM_QUERY. The semantic API adds roughly 1.5 to 3 seconds of overhead (validate in your stack). A first query after idle is usually faster than a cold Databricks warehouse, but it's cluster-dependent.
Performance reference
Measure plan/run duration (WLM + table size), queue time (concurrency saturation), semantic query wall time (API + Redshift execution), and rows merged per incremental (CPU + I/O driver).
Cost guardrails
Redshift bills for provisioned cluster hours or Serverless RPUs, plus storage. Set limits by environment before workloads grow. Review usage after backfills, new BI workloads, and changes to query concurrency.
WLM and concurrency scaling
Keep development workloads in a capped WLM queue. Reserve production capacity for scheduled incrementals and API traffic.
Enable concurrency scaling only for approved production queues. Set a usage limit and alert threshold first. Review scaled-query usage against the workload it protects.
Query timeouts
Set statement_timeout in before_all to bound runaway queries. Choose a value that permits the largest expected backfill. Reset the setting in after_all so it does not affect later workloads.
Cost attribution
Tag DataOS resources with the environment, team, and workload. Use separate depots or schemas for development, staging, and production. This makes usage reviews and chargeback reports actionable.
Table design
Use a sort key on the incremental time column. Filter incrementals on that same column to reduce scanned blocks. Run ANALYZE after significant loads, typically in after_all, so the optimizer has current statistics.
Last updated
Was this helpful?