Add protections to limit the impact of rogue queries
Open
- Dominant language
- Java
- Stars
- 6.1k
- Forks
- 1.5k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 195
Description
When a rogue query does an expensive/resource intensive operations (full table scan on a very large table), it may consume more resources and affect the health of the servers (out of memory, high cpu etc). The effects are more pronounced when multiple bad queries land around the same time window.
We could add some protection at table level to limit the max segments (count / %) scanned per query.
Contributor guide
Assessment
This issue has not been assessed yet.