Multi-Tennat Setup MariaDB


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.


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:

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.


Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.