Multitenant Database Containers Architecture in Sap Hana


The term Multitenancy refers to a principle in software architecture where a single instance of the software runs on a server, serving multiple tenants. A tenant is a group of users sharing the same view on a software they use.

Multitenancy In Sap Hana

SAP HANA supports multiple isolated databases in a single SAP HANA system. These are referred to as multitenant database containers.


  • A multiple-container system in SAP HANA always has exactly one system database and any number of tenant databases.
  • System Database is used for central system administration.
  • An SAP HANA system installed in multiple-container mode is identified by a single system ID (SID).
  • Tenant Databases are identified by a SID and a database name.

Server Architecture of Multiple-Container Systems

The following figure shows a sample multiple-container system with 3 databases (system database and 2 tenant databases) on a single host.

  1. In Sap Hana Multiple-Container Systems Only the system database runs the name server.
  2. The name server contains landscape information about the system as a whole, including which tenant databases exist.
  3. Name server also provides indexserver functionality for the system database.
  4. The name server of the system database in a multiple-container system does not own topology information.
  5. All Database-related topology information is stored in the relevant tenant database catalog.
  6. Tenant databases require only an own index server.
  7. Servers that do not persist data, such as the compile server and the preprocessor server, run on the system database and serve all databases.
  8. The XS server runs embedded in the (master) index server of the tenant database by default( it can be added as a separate service if necessary)
  9. The SAP Web Dispatcher, which runs as a separate database service on the system database, is used to route incoming HTTP requests from clients to the correct XS server based on virtual host names. This is part of network configuration.



Leave a Reply