Glossary
What is Multi-tenancy?
A short definition of Multi-tenancy, how it is applied on the floor and where it lives in the product.
- Short definition
- Multi-tenancy: One software installation serving several companies; each company's data is kept apart and one company cannot see another's records.
How is it applied?
It is common in cloud software; what a company should ask is how the separation is enforced: separate databases, row-level rules, who holds the encryption key. A company that installs on its own server runs as a single tenant. Fictional example: two companies use the same application. When a user from one runs a search, the query returns only their own company's rows. Multi-tenancy is often confused with a single-tenant installation. In a single-tenant setup the installation and database belong to one company; in multi-tenancy the installation is shared and rules keep the data apart.
In the product
In the product company separation is enforced in the database with mandatory row-level rules (RLS) and every query runs in the company's context; the same product can be installed on the company's own server for a single company.