Database schema

Norsu schema is pretty simple. We will observe the main involved abstractions in the following sections and will provide just a brief outline here.

Four main tables:

Auxiliary tables

Table views allowing to easier access the content


Main entities

Objects

Object or, to be even more, precise JSON object is the base unit of data stored in Norsu. Objects are stored in the corresponding Objects table in schema.

JSON objects are identified with the value of sha256 hash calculated with pg_crypto extension.

The main two types of objects stored in the table are: