×

OPTIMIZING QUERIES OF PARALLEL DATABASES

  • US 20140114952A1
  • Filed: 10/23/2012
  • Published: 04/24/2014
  • Est. Priority Date: 10/23/2012
  • Status: Abandoned Application
First Claim
Patent Images

1. At a computer system, the computer system including one or more processors and system memory, the computer system connected to a plurality of compute nodes configured in a shared-nothing architecture, a database distributed across the plurality of compute nodes, each compute node in the plurality of compute nodes maintaining a portion of the database in a local database instance, a method for optimizing a query of the database, the method comprising:

  • accessing the query, the query expressing a logical intent to retrieve specified data from within the database;

    sending the query to an optimizer that lacks awareness of the database being distributed;

    receiving a data structure from the optimizer, the data structure encapsulating a serial query plan search space, the serial query plan search space including one more query plans for implementing the expressed logical intent of the query;

    parallelizing the serial query plan search space into a parallel query plan search space for use with the distributed database, the parallel query plan search space including one or more parallel query plans for implementing the expressed logical intent of the query, parallelizing the serial query plan search space including;

    augmenting the data structure to account for data-parallelism in the database;

    generating cost estimates for operations contained in the augmented data structure;

    identifying a parallel query plan within the parallel query plan search space having the lowest cost based on the generated cost estimates; and

    selecting the identified parallel query plan for implementing the expressed logical intent of the query.

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