Each library has its own database.
You have the option to choose from these types of databases.
It’s recommended to go with the Postgres or MySQL or MariaDB database. The file based database (SQLite) works great if you use it locally but has some draw backs if you want to shared it server over the network.