Atomic updating of graph database index structures

    公开(公告)号:US10180992B2

    公开(公告)日:2019-01-15

    申请号:US15058032

    申请日:2016-03-01

    IPC分类号: G06F17/30

    摘要: The disclosed embodiments provide a system for updating an index structure of a graph database storing a graph. During operation, the system includes, in the index structure, a first compressed edge store containing a first compact representation of edges in the graph at a first virtual time and a first series of updates to the edges after the first virtual time. At a second virtual time, the system creates a second compact representation of the edges from the first compact representation and the first series of updates. The system then appends, to the second compact representation, a second series of updates to the edges after the second virtual time to produce a second compressed edge store. Finally, the system updates the index structure by atomically replacing, in the index structure, a reference to the first compressed edge store with a reference to the second compressed edge store.

    ATOMIC UPDATING OF GRAPH DATABASE INDEX STRUCTURES

    公开(公告)号:US20170255709A1

    公开(公告)日:2017-09-07

    申请号:US15058032

    申请日:2016-03-01

    IPC分类号: G06F17/30

    摘要: The disclosed embodiments provide a system for updating an index structure of a graph database storing a graph. During operation, the system includes, in the index structure, a first compressed edge store containing a first compact representation of edges in the graph at a first virtual time and a first series of updates to the edges after the first virtual time. At a second virtual time, the system creates a second compact representation of the edges from the first compact representation and the first series of updates. The system then appends, to the second compact representation, a second series of updates to the edges after the second virtual time to produce a second compressed edge store. Finally, the system updates the index structure by atomically replacing, in the index structure, a reference to the first compressed edge store with a reference to the second compressed edge store.

    INDEX STRUCTURES FOR GRAPH DATABASES
    4.
    发明申请

    公开(公告)号:US20170255708A1

    公开(公告)日:2017-09-07

    申请号:US15058028

    申请日:2016-03-01

    IPC分类号: G06F17/30

    CPC分类号: G06F16/22 G06F16/2228

    摘要: The disclosed embodiments provide a system for processing queries of a graph database. During operation, the system executes a set of processes for accessing a lock-free hash table stored in memory on a computer system, wherein the processes include a write process and multiple read processes. Next, the system uses the processes and the lock-free hash table to index a graph database storing a graph. The system then uses the processes to access a compressed edge store containing a compact representation of the set of edges at a virtual time in the graph and a series of updates to the edges after the virtual time. During use of the processes and the lock-free hash table to index the graph database, the system references the set of edges in the compact representation from a set of entries in the lock-free hash table.