×

Efficiently committing large transactions in a graph database

  • US 10,061,799 B2
  • Filed: 09/14/2016
  • Issued: 08/28/2018
  • Est. Priority Date: 02/04/2016
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method, comprising:

  • receiving a transaction comprising a plurality of operations, the transaction applicable to a graph database;

    representing the transaction by a transaction graph, the transaction graph being a dependency graph representing dependencies among the plurality of operations of the transaction;

    partitioning the transaction graph into two or more transaction subgraphs, each of the two or more transaction subgraphs comprising a respective two or more operations of the transaction, each of the two or more transaction subgraphs being a dependency graph representing dependencies among the respective two or more operations of the transaction subgraph, wherein the partitioning the transaction graph into the two or more transaction subgraphs comprises;

    partitioning the transaction graph into two or more intermediate transaction subgraphs; and

    extracting from the two or more intermediate transaction subgraphs two or more residual vertices representing one or more dependencies between the two or more intermediate transaction subgraphs;

    wherein the two or more transaction subgraphs are independent of one another; and

    executing the transaction on the graph database, wherein the executing the transaction comprises;

    applying the two or more transaction subgraphs to the graph database in parallel, wherein applying each transaction subgraph to the graph database comprises applying the two or more operations of the transaction subgraph to the graph database;

    inserting each extracted residual vertex into a residual subgraph; and

    synchronously applying the residual subgraph to the graph database.

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