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.

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.

Under the hood​

The db service is powered by Rqlite, a distributed relational database build on SQLite.