Use dry run flag to get the estimated resource usage for the query that you are planning to run. You can also use validate option in the Browser SQL window.