Hey, but is database a solution? It adds a piece of code whose purpose is to write structured or "object" data in a way it is really quick to read from. This situation was involved because of slow mecanical "hard drives".
With SSD and PCIe port this slowliness problem is not a dead end.
I went back to file system directories and files trees, manupulated with GNU CORE BASH tools (cat, grep, awk, cut, ...) any kind of search is quick !! With that filesystem shared over IPFS in a SSB controled swarm, it is possible to exchange (clear, sign or crypt) this "DB" as a distributed data swarm. #astroport is based on that principle.
This approach gives with "ipfs p2p" port forwarding a kind of service teleportation over the swarm of my friends.
Then we could use extra services provided by https://chatons.org/en members