×

Task scheduling for highly concurrent analytical and transaction workloads

  • US 10,545,789 B2
  • Filed: 04/25/2018
  • Issued: 01/28/2020
  • Est. Priority Date: 06/24/2013
  • Status: Active Grant
First Claim
Patent Images

1. A method, executable by a computer system, comprising:

  • processing, by a database management system (DBMS) operating on the computer system, a query in a first thread in a plurality of worker threads to generate a parsing task associated with the query;

    parsing, by a parser of the DBMS operating on the computer system, the query based on the parsing task to generate an execution plan comprising a plurality of ordered operations for answering the query;

    generating, by the parser of the DBMS operating on the computer system, a task graph based on the execution plan, the task graph comprising a plurality of task nodes corresponding to the plurality of ordered operations;

    identifying, by the DBMS operating on the computer system, a first task node in the plurality of task nodes corresponding to a first ordered operation in the plurality of ordered operations determined to be partitionable into sub operations for execution in parallel; and

    generating, by an optimizer of the DBMS operating on the computer system, a plurality of partitioned tasks for execution in parallel based on the first task node and a number of available worker threads in the plurality of worker threads.

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