Console

  1. In the Query editor, click More, click Query settings, and then click Advanced options.
  2. In the Maximum bytes billed field, enter an integer.
  3. Click Save.

It blocks queryes greater than Maximum bytes billed field