AWS › Amazon Redshift & Data Warehousing

What is Redshift's Workload Management, and how does it help manage multiple concurrent queries?

Intermediate

Answer

Workload Management, commonly called WLM, lets you create separate query queues with defined memory and concurrency limits for different types of workloads, such as giving fast, high priority dashboard queries their own dedicated queue separate from long running batch reporting jobs, preventing a single heavy query from monopolizing cluster resources and slowing down every other user running queries at the same time.
-- Example WLM configuration concept: separate queues for dashboard vs batch queries
-- Dashboard queue: high priority, low concurrency limit per query
-- Batch queue: lower priority, higher memory allocation
Real-world example A company separates its daily automated reporting queries into a dedicated low priority WLM queue, ensuring that when analysts run interactive dashboard queries during business hours, those quick queries are never delayed by the heavier background reporting jobs.

Common follow-ups: What is the difference between manual WLM and automatic WLM?;How do you monitor which queue a specific query executed in?