Skip to content

Multi-tenant analytics: the decisions that bite later

1 min read

Multi-tenancy is the part of customer-facing analytics that looks like a filter and behaves like an architecture. Here are the four choices that come back around.

1. Where isolation lives

If every query has to remember to add a tenant filter, one of them eventually will not. Isolation has to be enforced somewhere a developer cannot forget it — at the connection, the view, or the semantic layer.

2. Who owns roles

Your customers will want admins and viewers inside their own slice of the dashboards. Their role model will not be your role model. Decide early whether you map theirs onto yours or model both.

3. Performance per tenant

Your test account has a month of data. Your biggest customer in two years will have four years. The query plan that is fine today is a timeout then, and it will be a timeout for exactly the customer you least want to disappoint.

4. Schema drift

Product teams rename columns. Analytics teams find out from a customer. A semantic layer between the warehouse and the dashboards turns that into one change instead of twenty.

FAQ

Frequently asked questions

What is multi-tenant analytics?

Analytics where many customers share the same infrastructure but can only ever see their own data. The hard part is guaranteeing that separation at every layer, not just in the queries developers remember to filter.

Should each tenant get its own database?

It depends on scale and compliance. Separate databases simplify isolation but multiply operational work. Shared storage with enforced row-level isolation scales better, as long as the enforcement sits below the query layer.

Written by

GOAT IQ Team

Product & Engineering

We build customer-facing analytics for product teams: connect your data, embed the experience, and ship without the analytics stack becoming your product.

From the team behind the post

Ship analytics in days, not quarters.

Google Cloud Native

Beta launching soon on Google Cloud Marketplace.

Get on the Waitlist

Keep reading

Strategy

Embedded analytics: build vs. buy, honestly

Building dashboards is the easy part. The decision is really about everything around them — tenancy, permissions, embedding, and the maintenance that never ends.

3 min read