PRAGMA threads in DuckDB lacks a per-query limit for concurrent workloads
DuckDB parallelizes query execution through a process-wide thread pool governed by PRAGMA threads or the DUCKDB_THREADS environment variable. In an embedded deployment where a latency-sensitive workload and a heavy analytical query run in the same process, the goal is to cap the analytical query's parallelism while preserving global parallelism for other ses