×

Document store with non-uniform memory access aware high performance query processing

  • US 10,678,793 B2
  • Filed: 11/17/2016
  • Issued: 06/09/2020
  • Est. Priority Date: 11/17/2016
  • Status: Active Grant
First Claim
Patent Images

1. A method for implementation by a computing system having a non-uniform memory access (NUMA) architecture comprising a plurality of NUMA nodes, the method comprising:

  • receiving, from a client, a query of a document store storing a collection of slices each comprising one or more documents, wherein memory associated with each slice is assigned to one of the plurality of NUMA nodes;

    determining which of the slices within the document store are required for execution of the query to form a list of slices;

    generating, using the query, an execution plan comprising a plurality of nodes including a source node and a plurality of child nodes each specifying at least one database operation to execute a portion of the query, the execution plan comprising a plurality of pipelines of nodes, the execution plan assigning one of the plurality of NUMA nodes to each slice determined to be required for execution of the query, wherein each slice is aware of the NUMA node assigned thereto;

    executing the database operations specified by the nodes of the execution plan using the corresponding assigned NUMA nodes for the associated slices, the executing comprising the source node going through the list of slices and forwarding each of the slices including the corresponding one or more documents as a data package to a corresponding child node of the execution plan; and

    providing data responsive to the query to the client;

    wherein;

    each pipeline is assigned to a different one of the plurality of NUMA nodes; and

    only one thread executes a node of the execution graph at any given time.

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