Cost Limits
Prevent expensive queries with per-query byte limits.
How It Works
Before running, Querylab.io estimates bytes to be processed. If it exceeds your limit, a warning appears.
Default limit: 100 GB
Warning Modal
Query would process 500 GB (estimated $3.13),
exceeding your limit of 100 GB.
[Cancel] [Run Once] [Update Once] [Update Permanently]
- Cancel: Return to editor
- Run Once: Run without changing limit
- Update Once: Use new limit this time only
- Update Permanently: Change limit for all future queries
Configuration
Found in the editor's configuration panel:
- Docked Panel (wide screen): Right side of editor
- Floating Panel (split view): Click floating config button
Set "Maximum GB Processed" to your desired limit.
Recommended Limits
| Use Case | Limit |
|---|---|
| Development | 10 GB |
| Analytics | 100 GB |
| Data Engineering | 1 TB |
When Limit is Exceeded
Options to reduce cost:
- Add
-- querylab:tablesample=1for 99% savings during development - Add WHERE filters (dates, partitions)
- Select fewer columns (avoid SELECT *)