×

Fair scheduling for mixed-query loads

  • US 9,092,482 B2
  • Filed: 03/14/2013
  • Issued: 07/28/2015
  • Est. Priority Date: 03/14/2013
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method, comprising:

  • obtaining a computer-executable query job and a cost estimate to execute the query job;

    based on the cost estimate exceeding a threshold cost, determining to divide the query job into a plurality of computer-executable sub-query tasks;

    causing each of the plurality of sub-query tasks to be separately executed by a database management system;

    wherein causing each of the plurality of sub-query tasks to be separately executed by the database management system includes;

    causing the database management system to initiate execution of a first sub-query task of the plurality sub-query tasks, the first sub-query task including rate limiter that limits the number of results returned by the first sub-query task;

    after the database management system has finished executing the first sub-query task, determining a value of a last result returned by the database management system for the first sub-query task;

    causing the database management system to initiate execution of a next sub-query task of the plurality of sub-query tasks, the next sub-query task including the determined value of the last result returned by the database management system for the first sub-query task;

    wherein the method is performed using one or more processors.

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