Skip to main content

DB Service Guide

The Morio Database Service (db) provides a distributed database backend that is used by a variety of other Morio services to store data.

Under the hood, the db service is backed by Rqlite, a distributed relational database build on SQLite.

DB service responsibilities

The db service runs on every Morio broker node , and handles the following responsibilities:

Storage backend for relational data

The db service provides the default database service for all other Morio services.

This include things like (local) user accounts, API keys, but also the inventory data, or the data stored in Morio’s KV store.