Service quotas
The following quotas apply to every query on a DuckDB workgroup.
| Quota | Value |
|---|---|
| DPU Concurrency | 60 |
| Query string length | 262,144 bytes (UTF-8) |
| Nested parentheses in one expression | Up to 45 levels |
| Nested subqueries | Up to 20 levels |
| Nested views | Up to 8 levels |
OR
terms in one condition
|
Up to 1,000 |
Query timeouts
Every query that you run on DuckDB is subject to the following two timeouts.
| Timeout | Limit | What it measures |
|---|---|---|
| Queue timeout | 30 minutes | How long a query can wait before it starts to run. For example, a query waits while compute capacity is not available or while other queries in your account finish. The time is counted from when you submit the query. |
| Run time per query | 60 minutes | How long a query can run after it starts. |
If a query exceeds either timeout, it fails with a timeout error. You can submit the query again.
The two timeouts are separate. Time spent in the queue doesn't count toward the run time. For example, a query that starts after 29 minutes in the queue can still run for the full 60 minutes.
During the Preview, these timeouts apply to all DuckDB workgroups, and you can't change them.