Patent ID: 8612989

Claim:
A computer-implemented method, comprising: receiving a query to be run on a database system running on a computer, the database system servicing a plurality of collections, each collection comprising a plurality of workload groups, each collection being assigned a percentage of a resource for its use; a donor collection, C donor , not using its assigned percentage of the resource during a time slice tJ, the length in time of time slice tJ being less than a time in which the query is expected to execute; assigning the query to a workload group, the assignment being determined by the computer applying a workload classification and an exception criteria to parameters of the query, the workload group being part of a donee collection, C donee , different from the donor collection; the donor collection donating, through the computer, use of a boost percentage of the resource to the donee collection during the time slice tJ, the boost percentage being proportional to the percentage of the resource assigned to the donee collection, the percentage of the resource assigned to the donor collection, and a Greediness Value related to the amount of the donor collection's allocated percentage of the resource available to be donated; and executing the query by the computer during time slice tJ, with the donee collection using its allocated percentage of the resource plus the boost percentage of the resource to execute the query.