×

Processing batch database workload while avoiding overload

  • US 9,069,613 B2
  • Filed: 09/30/2008
  • Issued: 06/30/2015
  • Est. Priority Date: 09/30/2008
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for efficiently processing a database warehouse workload in a computer system, said method comprising:

  • receiving said workload, which comprises a batch of queries directed toward said database warehouse;

    assigning a priority to each query within said batch of queries, wherein said priority is unique within said batch of queries such that no two queries are assigned a same priority, whereby resources of said computer system are assigned in accordance with said priority;

    executing said batch of queries in unison within said computer system, using preemptive priority scheduling such that higher priority queries of the batch receive more computing resources for execution thereof than lower priority queries of the batch, in accordance with said priority of said each query, thereby resolving a conflict within said batch of queries for said resources of said computer system, hence efficiently processing said database workload and avoiding overload of said computer system;

    upon completion of execution of a first query of the batch having higher priority than a second query of the batch that is still executing and that has a next highest priority, reassigning the priority of the first query to the second query to heighten the priority of the second query, such that the second query receives additional computing resources for remaining execution thereof than the execution thereof prior to heightening of the priority of the second query.

View all claims
  • 8 Assignments
Timeline View
Assignment View
    ×
    ×