16. A non-transitory machine-readable medium comprising a plurality of machine-readable instructions which when executed by one or more processors associated with an application server are adapted to cause the one or more processors to perform a method comprising: accumulating data queries in a query holding area until an accumulation threshold is reached, the accumulation threshold being based on a combination of one or more criteria selected from a group consisting of a number of data queries that are accumulated in the query holding area, a predetermined period of time, and whether a first-in first-out (FIFO) queue containing previously accumulated data queries is empty; separating the data queries into a plurality of partitions, each of the partitions including data queries with a respective from-type, each respective from-type being associated with a combination of tables accessed by each of the data source queries in a corresponding partition; ordering the partitions; ordering the data queries within each of the partitions; inserting the accumulated data queries into the FIFO queue based on the ordering of the partitions and the ordering of the data queries within each of the partitions; removing the data queries in order from the FIFO queue; and processing the data queries; wherein ordering the data queries within each of the partitions comprises: generating a data set pseudo-randomly based on a first from-type associated with a first partition; generating a first query result by processing a first data query in the first partition against the data set; generating a second query result by processing a second data query in the first partition against the data set; determining a first ordering metric based on the first query result; determining a second ordering metric based on the second query result; and ordering the first data query and the second data query based on the first ordering metric and the second ordering metric.
16. A non-transitory machine-readable medium comprising a plurality of machine-readable instructions which when executed by one or more processors associated with an application server are adapted to cause the one or more processors to perform a method comprising: accumulating data queries in a query holding area until an accumulation threshold is reached, the accumulation threshold being based on a combination of one or more criteria selected from a group consisting of a number of data queries that are accumulated in the query holding area, a predetermined period of time, and whether a first-in first-out (FIFO) queue containing previously accumulated data queries is empty; separating the data queries into a plurality of partitions, each of the partitions including data queries with a respective from-type, each respective from-type being associated with a combination of tables accessed by each of the data source queries in a corresponding partition; ordering the partitions; ordering the data queries within each of the partitions; inserting the accumulated data queries into the FIFO queue based on the ordering of the partitions and the ordering of the data queries within each of the partitions; removing the data queries in order from the FIFO queue; and processing the data queries; wherein ordering the data queries within each of the partitions comprises: generating a data set pseudo-randomly based on a first from-type associated with a first partition; generating a first query result by processing a first data query in the first partition against the data set; generating a second query result by processing a second data query in the first partition against the data set; determining a first ordering metric based on the first query result; determining a second ordering metric based on the second query result; and ordering the first data query and the second data query based on the first ordering metric and the second ordering metric. 17. The non-transitory machine-readable medium of claim 16 , wherein the first ordering metric is based on one or more criteria selected from a group consisting of a number of entries in the first query result and a number of entries included in the first query result that are also included in the second query result.