×

Apparatus and method for operating a distributed database with foreign tables

  • US 10,579,634 B2
  • Filed: 08/30/2012
  • Issued: 03/03/2020
  • Est. Priority Date: 08/30/2012
  • Status: Active Grant
First Claim
Patent Images

1. A system, comprising:

  • a coordinator node;

    a plurality of worker nodes in communication with the coordinator node, wherein each worker node stores a plurality of data blocks, wherein each data block has data in a same semi-structured format, each data block is a partition of a same distributed database, each data block has a same foreign table declaration, and the foreign table declaration includes command(s) for converting the data in the semi-structured format into converted data in a tabular format; and

    a query processor executed by the coordinator node to produce a distributed query plan in response to a query in a structured query language,wherein the distributed query plan is partitioned into a plurality of sub-queries, each of which corresponds to a particular data block;

    wherein for each sub-query corresponding to the particular data block;

    a worker node is selected, the selected worker node contains the corresponding particular data block;

    the corresponding sub-query is executed by the selected corresponding worker node of the plurality of worker nodes;

    the selected worker node uses a local version of the same foreign table declaration to convert data of the particular data block in the same semi-structured format into converted data in the tabular format; and

    the selected worker node executes the sub-query on the converted data to generate a sub-query result;

    wherein each sub-query result is merged to produce a query result.

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