Patent · US Active

Parallel and efficient technique for building and maintaining a main memory, CSR-based graph index in an RDBMS

US11093459B2 · kind B2 · utility

2Cited by
9References
20Claims
0Family size

Assignee

Inventors

Key dates

Filing dateJan 21, 2020
Grant dateAug 17, 2021
Priority date
Expiry dateFeb 5, 2040

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F16/9024
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

Herein are techniques that concurrently populate entries in a compressed sparse row (CSR) encoding, of a type of edge of a heterogenous graph. In an embodiment, a computer obtains a mapping of a relational schema to a graph data model. The relational schema defines vertex tables that correspond to vertex types in the graph data model, and edge tables that correspond to edge types in the graph data model. Each edge type is associated with a source vertex type and a target vertex type. For each vertex type, a sequence of persistent identifiers of vertices is obtained. Based on the mapping and for a CSR representation of each edge type, a source array is populated that, for a same vertex ordering as the sequence of persistent identifiers for the source vertex type, is based on counts of edges of the edge type that originate from vertices of the source vertex type. For the CSR, the computer populates, in parallel and based on said mapping, a destination array that contains canonical offsets as sequence positions within the sequence of persistent identifiers of the vertices.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.