LIGHTDASH_QUERY_MAX_LIMIT and LIGHTDASH_CSV_CELLS_LIMIT.
Use this panel when a specific team needs to run wider or longer queries than the rest of the instance β for example, a single org on shared Cloud infrastructure that needs to export an 8M-cell CSV while keeping other orgs at the default.
The panel is gated behind the
pro-limits feature flag. Enforcement of any stored override is always active β only writing the limits requires the flag. Contact Lightdash to enable it for your organization, or self-hosters can set LIGHTDASH_ENABLE_FEATURE_FLAGS=pro-limits.What you can configure
Both fields accept a positive integer. Leave a field empty to inherit the instance default.
The CSV/Excel cells value is capped server-side at the higher of
LIGHTDASH_CSV_MAX_LIMIT (default 5,000,000) and the current LIGHTDASH_CSV_CELLS_LIMIT. The query rows value cannot exceed LIGHTDASH_QUERY_MAX_LIMIT. The panel shows the active ceiling next to each input.
The two limits are independent β raising the query-row limit does not change CSV export size, and vice versa.
Set per-organization limits
- Go to Settings β Organization β Export limits.
- Enter a value for Maximum query rows, Maximum CSV/Excel cells, or both.
- Click Save.
How limits are enforced
Related
- Environment variables β the instance defaults that act as fallbacks.
- Scheduled deliveries β affected by the CSV/Excel cell limit.