×

Self-described query execution in a massively parallel SQL execution engine

  • US 9,626,411 B1
  • Filed: 03/29/2013
  • Issued: 04/18/2017
  • Est. Priority Date: 02/25/2013
  • Status: Active Grant
First Claim
Patent Images

1. A method of query execution in a massively parallel processing (MPP) data storage system comprising a master node and a cluster of multiple distributed segments that access data in distributed storage, comprising:

  • producing a self-described query plan at the master node that is responsive to a query for accessing data in the distributed storage to satisfy the query, said producing comprising incorporating, into a query plan at the master node, metadata and other information needed by the segments to execute the query plan to create said self-described query plan, wherein said metadata and other information comprise information as to locations of said data in said distributed storage that are accessed by said self-described query plan, and catalog information for functions and operators used in the self-described query plan for processing the data, and wherein said metadata and other information are stored in a store at said master node, wherein in the event that a part of such metadata or a part of such other information needed by the segments to execute the query plan is stored at the cluster of multiple distributed segments, the master node includes an identifier associated with the part of such metadata or the part of such other information that is stored at the cluster of multiple distributed segments and excludes the part of such metadata or the part of such other information that is stored at the cluster of multiple distributed segments from the query plan;

    broadcasting said self-described query plan to said segments for execution; and

    executing the self-described query plan to process said data.

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