×

Compound indexes for graph databases

  • US 10,445,370 B2
  • Filed: 06/09/2017
  • Issued: 10/15/2019
  • Est. Priority Date: 06/09/2017
  • Status: Active Grant
First Claim
Patent Images

1. A method, comprising:

  • executing a set of processes for processing queries of a graph database storing a graph, wherein the graph comprises a set of nodes, a set of edges between pairs of nodes in the set of nodes, and a set of predicates; and

    when a query of the graph database is received, using one or more of the processes to process the query by;

    performing a lookup of a hash map to obtain one or more offsets into a compound store for the graph database, wherein the compound store comprises a set of identity-giving nodes for a set of tuples in the graph database;

    accessing the one or more offsets in the compound store to obtain a subset of the tuples matching the query by;

    obtaining, from the lookup of the hash map, a first offset in the compound store by matching a key in the query to an entry in the hash map which stores the first offset;

    obtaining, from a record at the first offset in an offset store in the compound store, a second offset in the compound structure; and

    accessing the subset of the tuples at the second offset in the compound structure;

    using the subset of the tuples to generate a result of the query; and

    providing the result in a response to the query.

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