20. The computer system of claim 15 wherein data against which the query is to be executed is organized into a plurality of buckets, each bucket including a subset of the data that corresponds to a range within a data dimension.
15. A computer system comprising: a processor; and a non-transitory computer readable medium having stored thereon program code that causes the processor to, upon being executed: receive a query to be executed; assign a priority to the query, the priority being identical to priorities assigned to one or more previously received queries; divide the query into a plurality of sub-queries; assign a sub-priority to each sub-query in the plurality of sub-queries, wherein the sub-priority for each sub-query of the query is identical to each other, and wherein the sub-priority is based on a resource consumption metric of the query that reflects an amount of computing resources consumed due to execution of the query; select, from a plurality of sub-query pools, a sub-query pool that is associated with the priority of the query, the selected sub-query pool including sub-queries of the one or more previously received queries; and add the plurality of sub-queries to the selected sub-query pool.