GrapheekDB

GrapheekDB is a lightweight graph database with support for multiple back-end storage managers. It only represents directed graphs and it is persistent if you choose a Key/Value store backend.

History

GrapheekDB was developed in 2014 by Raphaël Braud, a freelance developer from France. It was built for a recommendation system to extract the contents of documents (often spanning several million pages), tokenizing their contents, and giving recommendations of similar documents based on a user's query. A graph database was chosen over a relational database to avoid multiple joins on tables of several million rows and to improve performance. It was built with a specific purpose of recommending documents and interfacing with a python-like API (close to Django and Germlin).

Compression

Naïve (Page-Level)

The Naive Page Rank compression algorithm is listed as one of the todo items in the source-code but is not yet supported.

Indexes

Hash Table

DBMS supports nodes and edge indices. The current version only supports "exact match indices" and performs a Depth-First-Search (DFS) in order to match indices. Storing the indices leads to a storage overhead and slows down writes in the DBMS.

Data Model

Key/Value Graph

Data Model is a graph. The DBMS also uses many Key/Value Store (KVS) backends such as Kyoto Cabinet and Symas LMDB. DBMS is both Object Persistent and Process Persistent. There are no strict assertions on data modelling.

Joins

Not Supported

A graph database does not need join operations as they are expensive. The DBMS is also schemaless.

Storage Model

Hybrid

GrapheekDB is a multi model document store. The nodes and edges can have related data, but this is not enforced.

Checkpoints

Not Supported

Query Interface

Gremlin

The Query interface is close to Germlin and Django frontend.

Isolation Levels

Serializable

The DBMS was built with serializable execution in mind. This was done to avoid loading the entire data in memory every time the intended recommendation algorithm was run and produce the desired list of documents based on the user query.

Foreign Keys

Not Supported

GrapheekDB Logo
Website

https://bitbucket.org/nidusfr/grapheekdb

Source Code

https://bitbucket.org/nidusfr/grapheekdb

Tech Docs

https://bitbucket.org/nidusfr/grapheekdb/src/default/docs/index.rst

Developer

Raphaël Braud

Country of Origin

FR

Start Year

2014

End Year

2015

Project Type

Open Source

Written in

Python

Supported languages

Python

Embeds / Uses

Kyoto Cabinet, LMDB

Inspired By

ArangoDB, OrientDB, Titan

Compatible With

Kyoto Cabinet, LMDB

Licenses

GPL v3