Multi-Tennat Setup MariaDB
Hi,
We have a requiremnet to support multi-tenant system for MariaDB. We currently use Oracle where we have a separate tablespace/datafile/schema, and with the tablespace encrypted which sit on separate partitions for each customer, and would like to implement the same level of isolation in MariaDB. Is it possible?
Any help is greatly appreciated.
Thanks
Answer Answered by Markus Mäkelä in this comment.
The MaxScale schemarouter module allows multi-tenant setups by sharding the database based on the schema of the table: https://mariadb.com/kb/en/mariadb-enterprise/mariadb-maxscale-21-schemarouter-router/
By using the schemarouter, you can isolate each database either virtually, by using different database instances, or physically, by using different database servers. All of these options can be used with MariaDB encryption.