This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-15. For the latest, interactive version please visit https://mariadb.com/kb/.

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.

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.