Multitenant Database Containers (MDC): SystemDB & Tenant Isolation
Deep architectural exploration of SAP HANA 2.0 Multitenant Database Containers, detailing the administrative separation, resource allocation limits, cross-database communication, and security isolation between SystemDB and Tenants.
Core Learning Objectives
- 1.Understand the structural dichotomy between SystemDB and Tenant Databases.
- 2.Learn how to create, stop, start, and drop tenant databases via SQL.
- 3.Configure independent memory and CPU resource limits per tenant container.
- 4.Master cross-database queries and inter-tenant communication parameters.
Definition & Architectural Rationale
Technical Definition:
Multitenant Database Containers (MDC) is the native architecture of SAP HANA 2.0 where a single physical HANA instance hosts one SystemDB (for landscape management) and multiple independent Tenant Databases containing user schemas, application data, and dedicated indexserver engines.
Why this component exists:
Prior to MDC, running multiple SAP systems (e.g. ERP, BW, SCM) required either multiple expensive physical servers or multiple HANA instances on the same host (MCOS), which multiplied OS overhead and memory waste. MDC provides logical and operational isolation while sharing common binaries, host agents, and system profiles.
Internal Working & Mechanics
Architecture Flow Diagram
Production SQL Diagnostics
Provides complete inventory of all tenant databases, active coordinator states, and SQL communication ports.
Key Diagnostic Columns
DATABASE_NAME:Name of the database container (SYSTEMDB, PRD, QAS)ACTIVE_STATUS:YES (running and accepting queries) or NO (stopped)SQL_PORT:Port for application connectionsExpected Diagnostic Output
DATABASE_NAME | ACTIVE_STATUS | COORDINATOR_TYPE | SQL_PORT | DETAILS ------------------------------------------------------------------------ SYSTEMDB | YES | MASTER | 30013 | master PRD | YES | MASTER | 30015 | QAS | YES | MASTER | 30041 |
Administrative DDL statements to manage tenant lifecycle within SystemDB.
Production Best Practices & Operational Risks
Mandatory Best Practices
- Always configure explicit allocationlimit for each tenant in multi-tenant environments so one tenant cannot starve others.
- Never run production (PRD) and non-production (DEV/QAS) in the same physical HANA instance in an enterprise environment, as high CPU/OOM on non-prod impacts production SLAs.