×

Method for serial and condition-based execution of operators by parallel processes

  • US 8,954,419 B2
  • Filed: 05/22/2012
  • Issued: 02/10/2015
  • Est. Priority Date: 05/22/2012
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • a query coordinator and a plurality of slave processes executing a query execution plan that comprises (a) a parallel row source executed as multiple subtasks by multiple slave processes of said plurality of slave processes and (b) one or more serial row sources, wherein each serial row source of the one or more serial row sources is executed by only one slave process;

    wherein executing said query execution plan comprises;

    the query coordinator assigning a first subtask of said multiple subtasks to a first slave process of said multiple slave processes and assigning a second subtask of said multiple subtasks to a second slave process;

    said first slave process executing said first subtask and said second slave process executing said second subtask;

    a particular slave process of said plurality of slave processes sending, to said query coordinator, a request to execute a particular serial row source of said one or more serial row sources;

    in response to receiving said request to execute said particular serial row source, said query coordinator determining that said particular row source is not assigned to a slave process of said plurality of slave processes; and

    based on determining that said particular serial row source is not assigned to a slave process of said plurality of slave processes, said query coordinator assigning the particular serial row source of said one or more serial row sources to said particular slave process of said plurality of slave processes;

    wherein the method is performed by one or more computing devices.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×