> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lambdadb.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Query limits

> Review LambdaDB query constraints including maximum result size, execution timeout, boolean clause limits, and sparse vector value caps per request.

| Metric                                      | Limit |
| :------------------------------------------ | :---- |
| Max `size` value                            | 100   |
| Max result size                             | 6MB   |
| Max execution time                          | 30s   |
| Max boolean clauses                         | 4,096 |
| Max non-zero values for sparse vector query | 4,096 |
| Value range for sparse vector query         | 0-64  |

The query result size is affected by the dimension of the vectors and
whether vector values are included in the result.

<Tip>
  If a query fails due to exceeding the 6MB result size limit, choose a lower `size` value,
  or `includeVectors=false` (Python: `include_vectors=False`) to exclude vector values from the result.
</Tip>
