Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions data-explorer/includes/cross-repo/multitenancy.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
ms.topic: include
ms.date: 05/12/2026
ms.date: 05/13/2026
---


Expand Down Expand Up @@ -28,7 +28,7 @@ The next sections explore deployment architectures in detail. This section contr

## Architecture: One tenant per database

:::image type="content" source="../media/multitenant/one-tenant-per-db.png" alt-text="Diagram showing the architecture for one tenant per database.":::
:::image type="content" source="/azure/data-explorer/media/multitenant/one-tenant-per-db.png" alt-text="Diagram showing the architecture for one tenant per database.":::

This is a popular and straight forward architecture. Each tenant gets its own database. Each database has the same schema.

Expand Down Expand Up @@ -56,7 +56,7 @@ The characteristics of this architecture are:

## Architecture: One table for many tenants

:::image type="content" source="../media/multitenant/one-db-for-many-tenants.png" alt-text="Diagram showing the architecture for one database for many tenants.":::
:::image type="content" source="/azure/data-explorer/media/multitenant/one-db-for-many-tenants.png" alt-text="Diagram showing the architecture for one database for many tenants.":::

This architecture is more aggressive in its consolidation, using a single database for all tenants. Each table in the database has a **Tenant ID** column, or equivalent, which allows for filtering for a single tenant's data. You can [partition](/kusto/management/partitioning-policy?preserve-view=true) tables by tenant to improve query performance, since most queries are likely to filter by tenant. Where possible, you should consider partition with another column using a *compound* partition key. For example, you can create a *compound* partition key concatenating the **tenant ID** and another columns' values.

Expand Down Expand Up @@ -84,7 +84,7 @@ The characteristics of this architecture are:

## Architecture: One tenant per table in a single database

:::image type="content" source="../media/multitenant/one-tenant-per-table.png" alt-text="Diagram showing the architecture for one tenant per table.":::
:::image type="content" source="/azure/data-explorer/media/multitenant/one-tenant-per-table.png" alt-text="Diagram showing the architecture for one tenant per table.":::

This architecture is a combination of the previous architectures where the data of all tenants ends up in a single database but separate tables. This architecture fails to capture all the advantages of the other architectures.

Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.