vespa-engine / vespa

AI + Data, online. https://vespa.ai
https://vespa.ai
Apache License 2.0
5.49k stars 586 forks source link

Better safeguarding for grouping requests over many unique values #18645

Closed jobergum closed 2 years ago

jobergum commented 2 years ago

Grouping over a large result set with many unique values might cause out of memory situations on both stateless and content layer. I think we should do a better job at safeguarding and fail queries early.

baldersheim commented 2 years ago

This is solved on Vespa 8 where we require that max is specified. If not the default of 10 is use.