×

Shared nothing parallel execution of procedural constructs in SQL

  • US 6,081,801 A
  • Filed: 06/30/1997
  • Issued: 06/27/2000
  • Est. Priority Date: 06/30/1997
  • Status: Expired due to Fees
First Claim
Patent Images

1. Data processor implemented method for specifying complex queries to a relational database management system implemented on a parallel network, the network including a plurality of nodes coordinated by a network protocol, each of the nodes including at least one of data processor, data storage device, and memory, wherein the data contained in the base tables of the relational database management system is retrievable by means of a query language query to the database management system, the query containing at least one of query elements which require local computation or local coordination of data computation performed across the nodes of the distributed system and query elements which are computable on the several nodes of the network, the method comprising the steps of:

  • identifying and marking those subgraphs of the query which must be executed on one of a given node and a nodegroup as "No TQ Zones", or NTQZs;

    recognizing the marks written on those subgraphs of the query which must be executed on a given node or nodegroup by the identifying and marking step;

    responsive to the recognizing step, generating a query plan which forces the computation of the marked subgraphs to be in the same section of the query plan;

    responsive to the step of generating a query plan, partitioning that query plan into subplans including the NTQZs marked in the identifying and marking step, whereby the partitions formed by the partitioning step force the operation of subplans including a NTQZ to at least one of a single-node, the coordinator node, the catalog node, and to a particular partition class on multiple nodes; and

    executing the query plan.

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